Question: Who was the leader of the US during WWII that was in the government since 1-1-1911?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { fb:m.081pw fb:time.event.start_date ?start ; fb:time.event.end_date ?end . ?x fb:government.politician.government_positions_held ?y . ?y fb:government.government_position_held.office_position_or_title fb:m.060d2 ; fb:government.government_position_held.from ?from ; fb:government.government_position_held.to ?to . FILTER ( ?from < ?end ) FILTER ( ?to > ?start ) ?x fb:government.politician.government_positions_held ?c . ?c fb:government.government_position_held.from "1911-01-01" ^^ xsd:dateTime . }


Question: What type of government does the country with National People's Congress  have?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:government.governmental_jurisdiction.governing_officials ?k . ?k fb:government.government_position_held.appointed_by fb:m.0c3xm . ?c fb:location.country.form_of_government ?x . }


Question: Sports team owner Rocky Wirtz has who as his team's head coach?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.professional_sports_team.owner_s fb:m.03cb8z2 . ?c fb:ice_hockey.hockey_team.coach ?x . }


Question: What team whose mascot is Mavs Man had Lamar Odom as a player in 2012?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.02_nkp ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.02_nkp fb:sports.pro_athlete.teams ?y . ?y fb:sports.sports_team_roster.team ?x . FILTER ( NOT EXISTS { ?y fb:sports.sports_team_roster.from ?sk0 } || EXISTS { ?y fb:sports.sports_team_roster.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2012-12-31" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:sports.sports_team_roster.to ?sk2 } || EXISTS { ?y fb:sports.sports_team_roster.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2012-01-01" ^^ xsd:dateTime ) } ) ?x fb:sports.sports_team.team_mascot fb:m.052tn3b . }


Question: The religious text Quran has what holidays?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:religion.religion.texts fb:m.096tx . ?c fb:religion.religion.holidays ?x . }


Question: What basketball team with head coach Doc Rivers did Matt Barnes play for?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.07dr3v ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.07dr3v fb:sports.pro_athlete.teams ?y . ?y fb:sports.sports_team_roster.team ?x . ?x fb:basketball.basketball_team.head_coach fb:m.05k13g . }


Question: Which team owned by Jordan won the 2013-14 Jordan FA Cup Championship?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.03__y ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.03__y fb:sports.sports_team_location.teams ?x . ?x fb:sports.sports_team.championships fb:m.0wxy3_q . }


Question: Which NBA draft pcik started their career before 2008 and was drafted by the Cleveland Cavaliers?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0jm7n ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0jm7n fb:sports.professional_sports_team.draft_picks ?y . ?y fb:sports.sports_league_draft_pick.player ?x . ?x fb:sports.pro_athlete.career_start ?num . FILTER ( ?num < "2008" ^^ xsd:dateTime ) . }


Question: What state did the architect who designed Poplar Forest live in?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:architecture.architect.structures_designed fb:m.02kpf3 . ?c fb:people.person.places_lived ?y . ?y fb:people.place_lived.location ?x . ?x fb:common.topic.notable_types fb:m.0kpys4 . }


Question: What team owned by George Steinbrenner did Deion Sanders play for?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.03n69x ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.03n69x fb:sports.pro_athlete.teams ?y . ?y fb:sports.sports_team_roster.team ?x . ?x fb:sports.sports_team.sport fb:m.018jz . ?x fb:sports.professional_sports_team.owner_s fb:m.01q5t3 . }


Question: The country that includes Samsun Province uses what type of currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.034718 . ?c fb:location.country.currency_used ?x . }


Question: Where are the places to stay in the place that hosted 1900 Summer Olympics?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:olympics.olympic_host_city.olympics_hosted fb:m.016r9z . ?c fb:travel.travel_destination.accommodation ?x . }


Question: What school the the person who illustrated the book titled Bartholomew and the Oobleck attend?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:book.illustrator.books_illustrated fb:m.08lm0v . ?c fb:people.person.education ?y . ?y fb:education.education.institution ?x . }


Question: What educational institution with men's basketball sports team named San Diego Toreros did Robert Kardashian go to college?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.01x48v ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.01x48v fb:people.person.education ?y . ?y fb:education.education.institution ?x . ?x fb:common.topic.notable_types fb:m.01y2hnl . ?x fb:education.educational_institution.sports_teams fb:m.03wfxkl . }


Question: What currency is used in the country where the currency is the Costa Rican colÃ³n?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.currency_used fb:m.04wccn . ?c fb:location.country.currency_used ?x . }


Question: What American State located within the Central Time Zone has a county named Canadian county?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0my97 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0my97 fb:location.location.containedby ?x . ?x fb:location.location.time_zones fb:m.02fqwt . }


Question: Who is a representative from Colorado who held his position in the government since before 2009-01-03?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.01n4w ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.01n4w fb:government.political_district.representatives ?y . ?y fb:government.government_position_held.office_holder ?x . FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk0 } || EXISTS { ?y fb:government.government_position_held.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk2 } || EXISTS { ?y fb:government.government_position_held.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) ?x fb:government.politician.government_positions_held ?c . ?c fb:government.government_position_held.from ?num . FILTER ( ?num < "2009-01-03" ^^ xsd:dateTime ) . }


Question: What car companies does Ford Credit own?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:organization.organization.child ?k . ?k fb:organization.organization_relationship.child fb:m.04hyq8g . ?c fb:automotive.company.make_s ?x . }


Question: What is the holy book of the religion whose sacred site is Kushinagar?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:religion.religion.sacred_sites fb:m.01h0lq . ?c fb:religion.religion.texts ?x . }


Question: What is the actor who attended Quaker Valley High School in?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:people.person.education ?k . ?k fb:education.education.institution fb:m.0dd9g1 . ?c fb:tv.tv_actor.starring_roles ?y . ?y fb:tv.regular_tv_appearance.series ?x . }


Question: What is a religion in Massachusetts whose worship places include Kingdom Hall?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.05k7sb ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.05k7sb fb:location.statistical_region.religions ?y . ?y fb:location.religion_percentage.religion ?x . ?x fb:religion.religion.types_of_places_of_worship fb:m.01l8y0 . }


Question: What country is the Mekong River located in that contains Gansu?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0j0g5 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0j0g5 fb:location.location.partially_containedby ?x . ?x fb:location.country.administrative_divisions fb:m.013y46 . }


Question: What films starring Selena Gomez also featured a Ranger Cordell Walker character?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0gs6vr ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0gs6vr fb:film.actor.film ?y . ?y fb:film.performance.film ?x . ?x fb:film.film.starring ?c . ?c fb:film.performance.character fb:g.120vn717 . }


Question: What US State has a capital named Lincoln and is where Louisville, NE is located?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0x50_ ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0x50_ fb:location.location.containedby ?x . ?x fb:location.us_state.capital fb:m.04gxf . }


Question: What style of music is the artist of the concert tour named Crazy Love?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:music.artist.concert_tours fb:m.09gfxrx . ?c fb:music.artist.genre ?x . }


Question: Which American League baseball team were the winners of the 1992 World Series?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0h8b0 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0h8b0 fb:baseball.baseball_league.teams ?x . ?x fb:sports.sports_team.championships fb:m.023zb4 . }


Question: The person who once lived in Oakville, Alabama was educated where?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:people.person.places_lived ?k . ?k fb:people.place_lived.location fb:m.04865h9 . ?c fb:people.person.education ?y . ?y fb:education.education.institution ?x . }


Question: What year was the world series won by the team whose mascot is Mrs. Met?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.team_mascot fb:m.0w7lzvh . ?c fb:sports.sports_team.championships ?x . ?x fb:sports.sports_championship_event.championship fb:m.0fjp3 . ?x fb:time.event.start_date ?sk0 . } ORDER BY xsd:datetime ( ?sk0 ) LIMIT 1


Question: What languages are spoken in the country with Mendoza Province?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.01jh76 . ?c fb:location.country.languages_spoken ?x . }


Question: What latin America country that uses Argentine Peso?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.04pnx ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.04pnx fb:location.location.contains ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.country.currency_used fb:m.024nzm . }


Question: Which country is the location that appointed Mikheil Saakashvili to govermental position and shares a border with Russia?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06bnz ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06bnz fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:government.governmental_jurisdiction.governing_officials ?c . ?c fb:government.government_position_held.appointed_by fb:m.0212q2 . }


Question: The country with the National Anthem Valiant Quisqueyans takes what type of currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.national_anthem ?k . ?k fb:government.national_anthem_of_a_country.anthem fb:m.01n3lv . ?c fb:location.country.currency_used ?x . }


Question: What political party did the architect who designed Charlotte Country Courthouse belong to?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:architecture.architect.structures_designed fb:m.06_d_fx . ?c fb:government.politician.party ?y . ?y fb:government.political_party_tenure.party ?x . }


Question: What diety is followed by the Tamil Nadu Thowheed Jamath people?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:religion.religion.organizations fb:m.010ffmhn . ?c fb:religion.religion.deities ?x . }


Question: What is the postal mail code for the city in South Korea that hosted the 1988 Summer Olumpics?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:olympics.olympic_host_city.olympics_hosted fb:m.0l6mp . ?c fb:location.citytown.postal_codes ?x . }


Question: What is the sport played by the 1945 Stanley Cup champions?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.championships fb:m.02d091w . ?c fb:base.events.event_presenting_organisation.event_feed ?y . ?y fb:base.events.event_feed.type_of_event ?x . }


Question: Which is the most recent Super Bowl won by the football club that claimed the Super Bowl XLI championship?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.championships fb:m.04k5qm . ?c fb:sports.sports_team.championships ?x . ?x fb:sports.sports_championship_event.championship fb:m.06x5s . ?x fb:time.event.end_date ?sk0 . } ORDER BY DESC ( xsd:datetime ( ?sk0 ) ) LIMIT 1


Question: With which names do the practitioners of the religion that has Mary as a prominent figure refer to their god?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:religion.religion.notable_figures fb:m.04n7gc6 . ?c fb:religion.religion.deities ?x . }


Question: Who are the children of the artist of the "This Is It Tour"?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:music.artist.concert_tours fb:m.05y_zz5 . ?c fb:people.person.children ?x . }


Question: In 2010, where did the artist who had a tour called Stars Dance Tour live?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:music.artist.concert_tours fb:m.0t52yjt . ?c fb:people.person.places_lived ?y . ?y fb:people.place_lived.location ?x . FILTER ( NOT EXISTS { ?y fb:people.place_lived.end_date ?sk0 } || EXISTS { ?y fb:people.place_lived.end_date ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) >= "2010-01-01" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:people.place_lived.start_date ?sk2 } || EXISTS { ?y fb:people.place_lived.start_date ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) <= "2010-12-31" ^^ xsd:dateTime ) } ) }


Question: A person studying Family, Youth and Community Sciences is in what education field?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:people.person.education ?k . ?k fb:education.education.major_field_of_study fb:m.0p7ft3x . ?c fb:people.person.religion ?x . }


Question: What languages are spoken in Tehran Province's country?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.01ct02 . ?c fb:location.country.languages_spoken ?x . }


Question: Who held his governmental position from before March 1, 1983 and won the Nobel Peace Prize in 2007?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.05f3q ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.05f3q fb:award.award_category.winners ?y . ?y fb:award.award_honor.award_winner ?x . FILTER ( NOT EXISTS { ?y fb:award.award_honor.year ?sk0 } || EXISTS { ?y fb:award.award_honor.year ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) >= "2007-01-01" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:award.award_honor.year ?sk2 } || EXISTS { ?y fb:award.award_honor.year ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) <= "2007-12-31" ^^ xsd:dateTime ) } ) ?x fb:government.politician.government_positions_held ?c . ?c fb:government.government_position_held.from ?num . FILTER ( ?num < "1983-01-03" ^^ xsd:dateTime ) . }


Question: Which language is used for verbal communication in the nation where the Red Sea Governorate can be found?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.02d5mf . ?c fb:location.country.official_language ?x . }


Question: What main football sports in New Zealand also won the 1998 OFC Nations Cup Final championship?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0ctw_b ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0ctw_b fb:sports.sports_team_location.teams ?x . ?x fb:sports.sports_team.championships fb:m.010r3yc3 . }


Question: What is the name of the money used in the country where the Philippine peso is the currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.currency_used fb:m.01h5bw . ?c fb:location.country.currency_used ?x . }


Question: What show with TV character Mother Abagail did Shawnee Smith play in?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06t3nj ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06t3nj fb:tv.tv_actor.starring_roles ?y . ?y fb:tv.regular_tv_appearance.series ?x . ?x fb:film.film.starring ?c . ?c fb:film.performance.character fb:m.05255gh . }


Question: What education institution that has a soccer sports team named McGill Redmen did Charles Richard drew go to?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.018t67 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.018t67 fb:people.person.education ?y . ?y fb:education.education.institution ?x . ?x fb:common.topic.notable_types fb:m.01y2hnl . ?x fb:education.educational_institution.sports_teams fb:m.04n29j7 . }


Question: Who is worshiped by the religion who believes God in Islam?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:religion.religion.beliefs fb:m.09kb_2 . ?c fb:religion.religion.deities ?x . }


Question: Who was an influence to the illustrator of the book "De memoire d'homme: Poeme art"?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:book.illustrator.books_illustrated fb:m.09dtl3p . ?c fb:influence.influence_node.influenced_by ?x . }


Question: Where is Walton County, Georgia, where the location time zone is UTCâ05:00?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0nym5 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0nym5 fb:location.location.containedby ?x . ?x fb:location.location.time_zones fb:m.02_37z . }


Question: What are the capital cities of the nation which imports from Zimbabwe?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.statistical_region.places_imported_from ?k . ?k fb:location.imports_and_exports.imported_from fb:m.088q4 . ?c fb:location.country.capital ?x . }


Question: Of the two state senators of Georgia, who held his governmental position from after Jan 3, 2003?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0d0x8 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0d0x8 fb:government.political_district.representatives ?y . ?y fb:government.government_position_held.office_holder ?x . ?y fb:government.government_position_held.governmental_body fb:m.07t58 . FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk0 } || EXISTS { ?y fb:government.government_position_held.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk2 } || EXISTS { ?y fb:government.government_position_held.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) ?x fb:government.politician.government_positions_held ?c . ?c fb:government.government_position_held.from ?num . FILTER ( ?num > "2003-01-03" ^^ xsd:dateTime ) . }


Question: In the film that has a charcter named Street Walker #1, who plays Mary Jane ?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:film.film.starring ?k . ?k fb:film.performance.character fb:m.0y7ndjm . ?c fb:film.film.starring ?y . ?y fb:film.performance.actor ?x . ?y fb:film.performance.character fb:m.01ppxz . }


Question: Which basketball team did Derek Fisher play for in 2012?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.04lvwk ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.04lvwk fb:sports.pro_athlete.teams ?y . ?y fb:sports.sports_team_roster.team ?x . FILTER ( NOT EXISTS { ?y fb:sports.sports_team_roster.from ?sk0 } || EXISTS { ?y fb:sports.sports_team_roster.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2012-12-31" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:sports.sports_team_roster.to ?sk2 } || EXISTS { ?y fb:sports.sports_team_roster.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2012-01-01" ^^ xsd:dateTime ) } ) ?x fb:basketball.basketball_team.head_coach fb:m.05jdzr . }


Question: What is the home stadium of the sports team whose mascot is named Steely McBeam?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.team_mascot fb:m.02x0cyj . ?c fb:sports.sports_team.venue ?y . ?y fb:sports.team_venue_relationship.venue ?x . FILTER ( NOT EXISTS { ?y fb:sports.team_venue_relationship.from ?sk0 } || EXISTS { ?y fb:sports.team_venue_relationship.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:sports.team_venue_relationship.to ?sk2 } || EXISTS { ?y fb:sports.team_venue_relationship.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) }


Question: What football team's with mascot named Rowndy did Emmitt Smith play for?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.01480y ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.01480y fb:sports.pro_athlete.teams ?y . ?y fb:sports.sports_team_roster.team ?x . ?x fb:sports.sports_team.team_mascot fb:m.04ykz70 . }


Question: What Argentinian religion has a type of places of worship named Chapel?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0jgd ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0jgd fb:location.statistical_region.religions ?y . ?y fb:location.religion_percentage.religion ?x . ?x fb:religion.religion.types_of_places_of_worship fb:m.0173tc . }


Question: What is the style of art that was produced by the individual who attended Willem II College?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:people.person.education ?k . ?k fb:education.education.institution fb:m.08g1sy . ?c fb:visual_art.visual_artist.associated_periods_or_movements ?x . }


Question: What is the name of the country that has a capital city of Baku and is close to Russia?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06bnz ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06bnz fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.country.capital fb:m.01gf5 . }


Question: When did the sports team that won the 1974 FA Cup Final championship most recently win the league championship?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.championships fb:m.027_53v . ?c fb:sports.sports_team.championships ?x . ?x fb:sports.sports_championship_event.championship fb:m.012dbw . ?x fb:time.event.end_date ?sk0 . } ORDER BY DESC ( xsd:datetime ( ?sk0 ) ) LIMIT 1


Question: In which geographical locations is the Honduran lempira the main currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.currency_used fb:m.04krzv . ?c fb:location.location.containedby ?x . }


Question: What geographic region is the country that contains a portion of Gebel Elba in?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.location.partiallycontains ?k . ?k fb:location.partial_containment_relationship.partially_contains fb:m.026cy73 . ?c fb:location.location.containedby ?x . ?x fb:common.topic.notable_types fb:m.01nt . }


Question: In which states does the Connecticut River flow through, where the US state that has a capital called Boston?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.01ldvs ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.01ldvs fb:location.location.partially_containedby ?x . ?x fb:common.topic.notable_types fb:m.0kpys4 . ?x fb:location.us_state.capital fb:m.01cx_ . }


Question: What are the holidays of the religion that worships at Islamic Society of Western Maryland?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:religion.religion.places_of_worship fb:m.04f668n . ?c fb:religion.religion.holidays ?x . }


Question: Where Asian country neighboring Vietnam got involved in the Vietnam war and also includes the Bokeo Province?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.07_nf ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.07_nf fb:time.event.locations ?x . ?x fb:location.country.administrative_divisions fb:m.01c_tn . }


Question: Of everyone that Kim Kardashian dated, which is a sports player, that began his career in 2004?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0261x8t ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0261x8t fb:base.popstra.celebrity.dated ?y . ?y fb:base.popstra.dated.participant ?x . ?x fb:sports.pro_athlete.sports_played_professionally ?c . ?c fb:sports.pro_sports_played.career_start "2004" ^^ xsd:dateTime . }


Question: Where did Kennedy's inaugural address take place in the Eastern Time Zone?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { fb:m.05br2y1 fb:time.event.locations ?x . ?x fb:location.location.time_zones fb:m.02hcv8 . }


Question: The nation that has as its national anthem Jamaica, Land We Love has what as its major language?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.national_anthem ?k . ?k fb:government.national_anthem_of_a_country.anthem fb:m.01f58t . ?c fb:location.country.official_language ?x . }


Question: Which country has the capital of Akkad?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.capital fb:m.0n541jb . ?c fb:location.location.contains ?x . }


Question: What language is spoken in the country where the show The Bride With White Hiar was filmed?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:tv.tv_location.tv_shows_filmed_here fb:m.0jkvl5n . ?c fb:location.country.official_language ?x . }


Question: Which university did with a newspaper called The Oxford Student did C.S. Lewis attend?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.01wd02c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.01wd02c fb:people.person.education ?y . ?y fb:education.education.institution ?x . ?x fb:common.topic.notable_types fb:m.01y2hnl . ?x fb:education.educational_institution.newspaper fb:m.046h3s . }


Question: What is the language spoken where Santiago de Cuba Province is?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.01rj4t . ?c fb:location.country.languages_spoken ?x . }


Question: What type of religion with places of worship called Chapel did Massachusetts have?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.05k7sb ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.05k7sb fb:location.statistical_region.religions ?y . ?y fb:location.religion_percentage.religion ?x . ?x fb:religion.religion.types_of_places_of_worship fb:m.0173tc . }


Question: What Spanish speaking country contains the Alta Verapaz Department?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06nm1 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06nm1 fb:language.human_language.countries_spoken_in ?x . ?x fb:location.country.official_language fb:m.06nm1 . ?x fb:location.country.administrative_divisions fb:m.0146np . }


Question: People from the location that appointed Benjamin Netanyahu to governmental position speak what local languages?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:government.governmental_jurisdiction.governing_officials ?k . ?k fb:government.government_position_held.appointed_by fb:m.0fm2h . ?c fb:location.country.languages_spoken ?x . }


Question: What form of money is used in the country that contains the Mae Hong Son Province?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.01jb47 . ?c fb:location.country.currency_used ?x . }


Question: What country that uses the Pound Sterling shares borders with Spain?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06mkj ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06mkj fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.country.currency_used fb:m.01nv4h . }


Question: Who are the senators from the state whose capital is Salt Lake City?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.us_state.capital fb:m.0f2r6 . ?c fb:government.political_district.representatives ?y . ?y fb:government.government_position_held.office_holder ?x . ?y fb:government.government_position_held.office_position_or_title fb:m.02_7l8y . }


Question: What team has Lionel Messi played for that won the 1951 Copa del GeneralÃsimo Juvenil championship?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06qjgc ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06qjgc fb:sports.pro_athlete.teams ?y . ?y fb:sports.sports_team_roster.team ?x . ?x fb:sports.sports_team.championships fb:m.012gd5kz . }


Question: Who is worshiped by the religion that attend Masjid Hamza, Valley Stream?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:religion.religion.types_of_places_of_worship fb:m.0pc5qwj . ?c fb:religion.religion.deities ?x . }


Question: The person who was educated at Monroe County High School attended which high school?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:people.person.education ?k . ?k fb:education.education.institution fb:m.0crdc8g . ?c fb:people.person.education ?y . ?y fb:education.education.institution ?x . ?x fb:education.educational_institution.school_type fb:m.0bpgx . }


Question: What country has an airport which served Nigmegen and has adopted the Euro as its currency (1 point)?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.02l6h ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.02l6h fb:finance.currency.countries_used ?x . ?x fb:base.biblioness.bibs_location.loc_type ?sk0 . FILTER ( str ( ?sk0 ) = "Country" ) ?x fb:location.location.contains ?c . ?c fb:aviation.airport.serves fb:m.05g2b . }


Question: When did the champion of 1969 World Series championship win the pennant?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.championships fb:m.04jg9_ . ?c fb:sports.sports_team.championships ?x . }


Question: Fuad Masum is appointed to the location that has what type of government?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:government.governmental_jurisdiction.governing_officials ?k . ?k fb:government.government_position_held.appointed_by fb:m.011bzky3 . ?c fb:location.country.form_of_government ?x . }


Question: What was invented by the architect that made Edison's Black Maria?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:architecture.architect.structures_designed fb:m.050kvz . ?c fb:law.inventor.inventions ?x . }


Question: Which of the 5 countries in the United Kingdom's capital is Cardiff?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.07ssc ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.07ssc fb:location.location.contains ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.country.capital fb:m.01s3v . }


Question: In the film that has a charcter named Walter Cunningham Jr., who played Bob Ewell?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:film.film.starring ?k . ?k fb:film.performance.character fb:m.0y7zmg_ . ?c fb:film.film.starring ?y . ?y fb:film.performance.actor ?x . ?y fb:film.performance.character fb:m.0r9yvpc . }


Question: The team with the mascot Burnie won the Championship in what year?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.team_mascot fb:m.03lqyz . ?c fb:sports.sports_team.championships ?x . }


Question: Who does Portugal trade with that contains Zacatecas?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.05r4w ) { fb:m.05r4w fb:location.statistical_region.places_exported_to ?y . ?y fb:location.imports_and_exports.exported_to ?x . } UNION { fb:m.05r4w fb:location.statistical_region.places_imported_from ?y . ?y fb:location.imports_and_exports.imported_from ?x . } ?x fb:location.country.administrative_divisions fb:m.012tgw . }


Question: Who is the head coach of the team that claimed the championship for Super Bowl XVIII?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.championships fb:m.076s5 . ?c fb:american_football.football_team.current_head_coach ?x . }


Question: What currency is used in the country where the capital is Santiago?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.capital fb:m.0dlqv . ?c fb:location.country.currency_used ?x . }


Question: What country next to Russia contains Abkhazia?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06bnz ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06bnz fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.country.administrative_divisions fb:m.011jw . }


Question: Where is the capital city Bamako located?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.capital fb:m.0fn13 . ?c fb:base.locations.countries.continent ?x . }


Question: Who currently serves as president in the country whose official currency is Renminbi?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.currency_used fb:m.0hn4_ . ?c fb:government.governmental_jurisdiction.governing_officials ?y . ?y fb:government.government_position_held.office_holder ?x . ?y fb:government.government_position_held.basic_title fb:m.060c4 . FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk0 } || EXISTS { ?y fb:government.government_position_held.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk2 } || EXISTS { ?y fb:government.government_position_held.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) }


Question: What country bordering Spain uses the Pound sterling as currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06mkj ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06mkj fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.country.currency_used fb:m.01nv4h . }


Question: Where did Martin Luther live those time zone is Central European?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.04yd_ ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.04yd_ fb:people.person.places_lived ?y . ?y fb:people.place_lived.location ?x . ?x fb:location.location.time_zones fb:m.02llzg . }


Question: The country that contains Sabaragamuwa Province would require me to take what money?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.04v0vp . ?c fb:location.country.currency_used ?x . }


Question: What language is used in the country with Iranian Rial as its currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.currency_used fb:m.034n11 . ?c fb:location.country.languages_spoken ?x . }


Question: The country that contains Cuando Cubango Province is located where?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.029qcr . ?c fb:base.locations.countries.continent ?x . }


Question: What is the currency of the country where the Mexican peso is currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.currency_used fb:m.012ts8 . ?c fb:location.country.currency_used ?x . }


Question: Which player who started his career earliest was a 2012 Ravens quarterback?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.01ct6 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.01ct6 fb:sports.sports_team.roster ?y . ?y fb:sports.sports_team_roster.player ?x . ?y fb:sports.sports_team_roster.position fb:m.06b1q . FILTER ( NOT EXISTS { ?y fb:sports.sports_team_roster.from ?sk0 } || EXISTS { ?y fb:sports.sports_team_roster.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2012-12-31" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:sports.sports_team_roster.to ?sk2 } || EXISTS { ?y fb:sports.sports_team_roster.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2012-01-01" ^^ xsd:dateTime ) } ) ?x fb:sports.pro_athlete.sports_played_professionally ?c . ?c fb:sports.pro_sports_played.career_start ?num . } ORDER BY ?num LIMIT 1


Question: Who invented the Progressive Dawoodi Bohra religion?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:religion.religion.organizations fb:m.09sxls . ?c fb:religion.religion.founding_figures ?x . }


Question: What are spoken languages used in country with Jamaica dollar currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.currency_used fb:m.04xc2m . ?c fb:location.country.languages_spoken ?x . }


Question: What currency is used in the nation where the Religious leader Filaret is found?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:religion.religious_leadership_jurisdiction.leader ?k . ?k fb:religion.religious_organization_leadership.leader fb:m.05cxfq . ?c fb:location.country.currency_used ?x . }


Question: Where was the Vietnam War located in the Indochina Time Zone?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.07_nf ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.07_nf fb:time.event.locations ?x . ?x fb:location.location.time_zones fb:m.043wfc5 . }


Question: Which language is spoken in the country that includes the location of Ardclinis?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.0ddg7t1 . ?c fb:location.country.official_language ?x . }


Question: The artist in the concert tour name The Prismatic World Tour played what instrument?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:music.artist.concert_tours fb:m.0zc0vs5 . ?c fb:music.artist.track_contributions ?y . ?y fb:music.track_contribution.role ?x . }


Question: What country, with the capital Brasilia, speaks Italian?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.02bjrlw ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.02bjrlw fb:language.human_language.countries_spoken_in ?x . ?x fb:location.country.capital fb:m.01hy_ . }


Question: Who were the artists in the Demi Lovato Summer Tour 2009 dating?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:music.artist.concert_tours fb:g.123024t7 . ?c fb:base.popstra.celebrity.dated ?y . ?y fb:base.popstra.dated.participant ?x . }


Question: What is the name of the facility where the team with the mascot named Rally play?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.team_mascot fb:m.07vbfd . ?c fb:sports.sports_team.arena_stadium ?x . }


Question: What currency is used in the country with Agusan del Sur?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.01nk2j . ?c fb:location.country.currency_used ?x . }


Question: Which location does the artist who went on the concert tour called The Stripped Tour hail from?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:music.artist.concert_tours fb:m.057xf2z . ?c fb:people.person.place_of_birth ?x . }


Question: What state hosted the 1904 Summer Olympics?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:olympics.olympic_host_city.olympics_hosted fb:m.018wrk . ?c fb:location.location.containedby ?x . ?x fb:base.biblioness.bibs_location.loc_type ?sk0 . FILTER ( str ( ?sk0 ) = "State" ) }


Question: Where is the Angolan kwanza located?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.currency_used fb:m.03c7mb . ?c fb:base.locations.countries.continent ?x . }


Question: Where is Howard University located, that appointed Vincent C. Gray, to a governmental position?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0217m9 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0217m9 fb:location.location.containedby ?x . ?x fb:government.governmental_jurisdiction.governing_officials ?c . ?c fb:government.government_position_held.appointed_by fb:m.07t0z5 . }


Question: What year did the basketball team that coached by Tom Thibodeau win their first championship?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:basketball.basketball_team.head_coach fb:m.043jv80 . ?c fb:sports.sports_team.championships ?x . ?x fb:time.event.start_date ?sk0 . } ORDER BY xsd:datetime ( ?sk0 ) LIMIT 1


Question: Where with mascot Kasey the Kangaroo did Harry S. Truman go to school?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.09bg4l ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.09bg4l fb:people.person.education ?y . ?y fb:education.education.institution ?x . ?x fb:education.educational_institution.mascot fb:m.0h6f44j . }


Question: The nation whose national anthem is Hatikvah has what as its religion?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.national_anthem ?k . ?k fb:government.national_anthem_of_a_country.anthem fb:m.019_d2 . ?c fb:location.statistical_region.religions ?y . ?y fb:location.religion_percentage.religion ?x . }


Question: What is the form of the government used in the country with national anthem Aegukka?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.national_anthem ?k . ?k fb:government.national_anthem_of_a_country.anthem fb:m.01qmpp . ?c fb:location.country.form_of_government ?x . }


Question: Who is the head coach of the sports team whose organizational leadership includes someone named Massimo Moratti?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:organization.organization.leadership ?k . ?k fb:organization.leadership.person fb:m.0778hz . ?c fb:sports.sports_team.coaches ?y . ?y fb:sports.sports_team_coach_tenure.coach ?x . ?y fb:sports.sports_team_coach_tenure.position fb:m.02md_2 . FILTER ( NOT EXISTS { ?y fb:sports.sports_team_coach_tenure.from ?sk0 } || EXISTS { ?y fb:sports.sports_team_coach_tenure.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:sports.sports_team_coach_tenure.to ?sk2 } || EXISTS { ?y fb:sports.sports_team_coach_tenure.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) }


Question: Boston is the capital of what US State where Harvard University is located?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.03ksy ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.03ksy fb:location.location.containedby ?x . ?x fb:location.us_state.capital fb:m.01cx_ . }


Question: What team that has a mascot named Lou Seal did Deion Sanders play baseball for?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.03n69x ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.03n69x fb:sports.pro_athlete.teams ?y . ?y fb:sports.sports_team_roster.team ?x . ?x fb:sports.sports_team.sport fb:m.018jz . ?x fb:sports.sports_team.team_mascot fb:m.03_dwn . }


Question: Where is a division of Electrolux PR Studio located?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:organization.organization.child ?k . ?k fb:organization.organization_relationship.child fb:m.010g7wyt . ?c fb:organization.organization.headquarters ?y . ?y fb:location.mailing_address.citytown ?x . }


Question: Where did Madoff live that in the time zone is UTCâ05:00?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.051znky ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.051znky fb:people.person.places_lived ?y . ?y fb:people.place_lived.location ?x . ?x fb:location.location.time_zones fb:m.02_37z . }


Question: The organization Fontanelle Hybrids Inc owns what?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:organization.organization.child ?k . ?k fb:organization.organization_relationship.child fb:m.09n3slz . ?c fb:business.business_operation.industry ?x . }


Question: What country in the Anedean Region contains the Antioquia Department?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0p2n ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0p2n fb:location.location.partially_containedby ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.country.administrative_divisions fb:m.0199tc . }


Question: Who are the two Senators of the state that appointed Jim Edgar to a government position?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:government.governmental_jurisdiction.governing_officials ?k . ?k fb:government.government_position_held.appointed_by fb:m.031t9z . ?c fb:government.political_district.representatives ?y . ?y fb:government.government_position_held.office_holder ?x . ?y fb:government.government_position_held.governmental_body fb:m.07t58 . FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk0 } || EXISTS { ?y fb:government.government_position_held.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk2 } || EXISTS { ?y fb:government.government_position_held.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) }


Question: Which holidays are celebarated by the religion that includes the Sunnah religious text?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:religion.religion.texts fb:m.074jc . ?c fb:religion.religion.holidays ?x . }


Question: Which New Jersey senator held his governmental position latest?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.05fjf ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.05fjf fb:government.political_district.representatives ?y . ?y fb:government.government_position_held.office_holder ?x . ?y fb:government.government_position_held.basic_title fb:m.048zv9l . FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk0 } || EXISTS { ?y fb:government.government_position_held.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk2 } || EXISTS { ?y fb:government.government_position_held.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) ?x fb:government.politician.government_positions_held ?c . ?c fb:government.government_position_held.from ?num . } ORDER BY DESC ( ?num ) LIMIT 1


Question: Where with religious leader Pean was the Euro 2012 Tournament?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06t1s0 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06t1s0 fb:time.event.locations ?x . ?x fb:religion.religious_leadership_jurisdiction.leader ?c . ?c fb:religion.religious_organization_leadership.leader fb:m.0wdt5zg . }


Question: The country where Vienna is located has what city as its capital>?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.0fhp9 . ?c fb:location.country.capital ?x . }


Question: What political party was founded by a person who attended Bundesrealgymnasium Linz?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:people.person.education ?k . ?k fb:education.education.institution fb:m.01064kcx . ?c fb:government.politician.party ?y . ?y fb:government.political_party_tenure.party ?x . }


Question: Where does the team play that won the 1933 Stanley Cup Finals championship?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.championships fb:m.02d08x9 . ?c fb:sports.sports_team.arena_stadium ?x . }


Question: What country bordering Egypt has Khartoum as its capital?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.02k54 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.02k54 fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.country.capital fb:m.04d_m . }


Question: What US State has a capital named Hartford and where Glastonbury Connecticut is located?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0rdgt ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0rdgt fb:location.location.containedby ?x . ?x fb:location.us_state.capital fb:m.0f1sm . }


Question: What university that educated C.S. Lewis is the collegiate establishment with an athletic group called Oxford University Ice Hockey Club?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.01wd02c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.01wd02c fb:people.person.education ?y . ?y fb:education.education.institution ?x . ?x fb:common.topic.notable_types fb:m.01y2hnl . ?x fb:education.educational_institution.sports_teams fb:m.027jjlh . }


Question: The country that contains Trelawny Parish uses what type of currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.06qrc3 . ?c fb:location.country.currency_used ?x . }


Question: What Super Bowls were won by the team with the mascot named Rise?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.team_mascot fb:m.0nz45zc . ?c fb:sports.sports_team.championships ?x . }


Question: Who is the husband of the famous person who went to William O. Schaefer Elementary School?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:people.person.education ?k . ?k fb:education.education.institution fb:m.076dzmh . ?c fb:people.person.spouse_s ?y . ?y fb:people.marriage.spouse ?x . ?y fb:people.marriage.type_of_union fb:m.04ztj . FILTER ( NOT EXISTS { ?y fb:people.marriage.from ?sk0 } || EXISTS { ?y fb:people.marriage.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:people.marriage.to ?sk2 } || EXISTS { ?y fb:people.marriage.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) ?y fb:people.marriage.from ?sk4 . } ORDER BY DESC ( xsd:datetime ( ?sk4 ) ) LIMIT 1


Question: What is the type of political system in Moscow?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.04swd . ?c fb:location.country.form_of_government ?x . }


Question: Who held his governmental position from after January 8, 1857 and was Vice President under Lincoln?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0gzh ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0gzh fb:government.us_president.vice_president ?x . ?x fb:government.politician.government_positions_held ?c . ?c fb:government.government_position_held.from ?num . FILTER ( ?num > "1857-01-08" ^^ xsd:dateTime ) . }


Question: What college did George Washington attend that has a sports team Iowa State Cyclones football?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.03djm ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.03djm fb:people.person.education ?y . ?y fb:education.education.institution ?x . ?x fb:education.educational_institution.sports_teams fb:m.02pbsh4 . }


Question: People from the country that has the national anthem Ardulfurataini Watan people speak what languages?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.national_anthem ?k . ?k fb:government.national_anthem_of_a_country.anthem fb:m.01cmcc . ?c fb:location.country.languages_spoken ?x . }


Question: What US State's capital is named Montgomery and borders Florida?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.02xry ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.02xry fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.0kpys4 . ?x fb:location.us_state.capital fb:m.0fttg . }


Question: What was the architect's role in the declaration of independence that designed Poplar Forest?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:architecture.architect.structures_designed fb:m.02kpf3 . ?c fb:people.person.profession ?x . }


Question: What major Russian religion believes in Mahdi?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06bnz ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06bnz fb:location.statistical_region.religions ?y . ?y fb:location.religion_percentage.religion ?x . ?x fb:religion.religion.beliefs fb:m.019vqj . }


Question: In which city was the tv program Burn Notice taped and that also is the location where the Florida Marlins baseball team originats?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.02__x ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.02__x fb:sports.sports_team.location ?x . ?x fb:tv.tv_location.tv_shows_filmed_here fb:m.02rktkj . }


Question: What year did the team led by Stan Van Gundy win the NBA championship?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:organization.organization.leadership ?k . ?k fb:organization.leadership.person fb:m.0692k9 . ?c fb:sports.sports_team.championships ?x . }


Question: Which museum established latest can be seen in downtown Chicago?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.01_d4 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.01_d4 fb:travel.travel_destination.tourist_attractions ?x . ?x fb:location.location.containedby fb:m.01_d4 . ?x fb:architecture.museum.established ?num . } ORDER BY DESC ( ?num ) LIMIT 1


Question: What countries bordering Romania are in the Central European Time Zone?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06c1y ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06c1y fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.location.time_zones fb:m.02llzg . }


Question: Part of the Roman Empire which continent is in the Moscow Time Zone?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06cmp ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06cmp fb:location.location.partially_contained_by ?y . ?y fb:location.partial_containment_relationship.partially_contained_by ?x . ?x fb:location.location.time_zones fb:m.04cqj5 . }


Question: What is the nation that has as its native language English and is where Ward, Castleknock is located?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.02h40lc ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.02h40lc fb:language.human_language.main_country ?x . ?x fb:location.country.administrative_divisions fb:m.010f9zv5 . }


Question: What famous person who went to Edward Devotion School that died first?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { fb:m.0fbrl fb:people.family.members ?x . ?x fb:people.deceased_person.date_of_death ?d . } ORDER BY ?d LIMIT 1


Question: In the movie with the character Shittle Engineer, who plays Lois Lane?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:film.film.starring ?k . ?k fb:film.performance.character fb:m.03yw506 . ?c fb:film.film.starring ?y . ?y fb:film.performance.actor ?x . ?y fb:film.performance.character fb:m.04pzy . }


Question: What is the name of Cher's son who attended New York University?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.01vtj38 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.01vtj38 fb:people.person.children ?x . ?x fb:people.person.gender fb:m.05zppz . ?x fb:people.person.education ?c . ?c fb:education.education.institution fb:m.0bwfn . }


Question: When did the team lead by Tom Garfinkel win the Super Bowl?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:organization.organization.leadership ?k . ?k fb:organization.leadership.person fb:m.0j7mk90 . ?c fb:sports.sports_team.championships ?x . }


Question: Which US bordering country had a foreign direct investment net inflow of -15130144240?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.09c7w0 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.09c7w0 fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.statistical_region.foreign_direct_investment_net_inflows ?c . ?c fb:measurement_unit.dated_money_value.amount "-15130144240" . }


Question: What currency is used in the country that has the national anthem Bilady, Bilady, Bilady?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.national_anthem ?k . ?k fb:government.national_anthem_of_a_country.anthem fb:m.0d9nj_ . ?c fb:location.country.currency_used ?x . }


Question: What is the birthplace of the person who went to school at State Elementary School Menteng 01?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:people.person.education ?k . ?k fb:education.education.institution fb:m.0280qps . ?c fb:people.person.place_of_birth ?x . }


Question: The country with the capital of Ankara uses what type of currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.capital fb:m.0jyw . ?c fb:location.country.currency_used ?x . }


Question: What country beside France contains an airport that serves Kleve (district)?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0f8l9c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0f8l9c fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.location.contains ?c . ?c fb:aviation.airport.serves fb:m.01b98m . }


Question: Who held his governmental position from January 3, 1983 and won the Nobel Peace Prize in 2007?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.05f3q ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.05f3q fb:award.award_category.winners ?y . ?y fb:award.award_honor.award_winner ?x . FILTER ( NOT EXISTS { ?y fb:award.award_honor.year ?sk0 } || EXISTS { ?y fb:award.award_honor.year ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) >= "2007-01-01" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:award.award_honor.year ?sk2 } || EXISTS { ?y fb:award.award_honor.year ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) <= "2007-12-31" ^^ xsd:dateTime ) } ) ?x fb:government.politician.government_positions_held ?c . ?c fb:government.government_position_held.from "1983-01-03" ^^ xsd:dateTime . }


Question: Who was the prime minister of Spain in 2011 and held his governmental position from April 16, 2004?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06mkj ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06mkj fb:government.governmental_jurisdiction.governing_officials ?y . ?y fb:government.government_position_held.office_holder ?x . ?y fb:government.government_position_held.basic_title fb:m.060bp . FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk0 } || EXISTS { ?y fb:government.government_position_held.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2011-12-31" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk2 } || EXISTS { ?y fb:government.government_position_held.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2011-01-01" ^^ xsd:dateTime ) } ) ?x fb:government.politician.government_positions_held ?c . ?c fb:government.government_position_held.from "2004-04-16" ^^ xsd:dateTime . }


Question: What is a major city in the country that uses Ukrainian hryvnia as its currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.currency_used fb:m.035qkb . ?c fb:location.country.capital ?x . }


Question: What is the currency called in the nation where the Brazilian real is used as currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.currency_used fb:m.03385m . ?c fb:location.country.currency_used ?x . }


Question: Which player started his career in 2003 and was drafted by the Cleveland Cavaliers?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0jm7n ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0jm7n fb:sports.professional_sports_team.draft_picks ?y . ?y fb:sports.sports_league_draft_pick.player ?x . ?x fb:sports.pro_athlete.sports_played_professionally ?c . ?c fb:sports.pro_sports_played.career_start ?num . FILTER ( ?num > "2003" ^^ xsd:dateTime ) . }


Question: What Arabic speaking Middle Eastern country also contains the Hawar Islands?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0jzc ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0jzc fb:language.human_language.countries_spoken_in ?x . ?x fb:location.country.official_language fb:m.0jzc . ?x fb:location.country.administrative_divisions fb:m.0101cqy_ . }


Question: The country that contains Kuala Lumpur is in what time zone?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.049d1 . ?c fb:location.location.time_zones ?x . }


Question: Where is the headquarters of the organization led by Frank Rose located?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:organization.organization.leadership ?k . ?k fb:organization.leadership.person fb:m.0pmf6dv . ?c fb:location.location.containedby ?x . }


Question: What country in the EU has a city called Lyon?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0_6t_z8 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0_6t_z8 fb:organization.membership_organization.members ?y . ?y fb:organization.organization_membership.member ?x . ?x fb:location.location.contains ?c . ?c fb:location.mailing_address.citytown fb:m.0dprg . }


Question: The country that has the national anthem National Anthem of Peru has mountains called what?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.national_anthem ?k . ?k fb:government.national_anthem_of_a_country.anthem fb:m.0224qy . ?c fb:location.location.partiallycontains ?y . ?y fb:location.partial_containment_relationship.partially_contains ?x . ?x fb:common.topic.notable_types fb:m.01xs039 . }


Question: Which languages are spoken in the country where Buenos Aires is located?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.01ly5m . ?c fb:location.country.languages_spoken ?x . }


Question: What was the Soviet Leader during world WW II had already been  in power by 1964-10-14?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.05vz3zq ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.05vz3zq fb:government.governmental_jurisdiction.governing_officials ?y . ?y fb:government.government_position_held.office_holder ?x . ?x fb:military.military_person.participated_in_conflicts fb:m.081pw . ?x fb:government.politician.government_positions_held ?c . ?c fb:government.government_position_held.from ?num . FILTER ( ?num < "1964-10-14" ^^ xsd:dateTime ) . }


Question: What country bordering Switzerland that uses CFP franc for currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.06mzp ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.06mzp fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.country.currency_used fb:m.01qyjx . }


Question: Which nation has Jakaya Kikwete as a governor and shares a border with Lake Victoria?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0jmt7 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0jmt7 fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:government.governmental_jurisdiction.governing_officials ?c . ?c fb:government.government_position_held.appointed_by fb:m.049jk4 . }


Question: What type of art practiced by the person who once lived at Le Cateau-CambrÃ©sis do?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:people.person.places_lived ?k . ?k fb:people.place_lived.location fb:m.03x_1j . ?c fb:visual_art.visual_artist.associated_periods_or_movements ?x . }


Question: What year did Steve Bisciotti's team win the Superbowl?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.professional_sports_team.owner_s fb:m.06x8mf . ?c fb:sports.sports_team.championships ?x . ?x fb:sports.sports_championship_event.championship fb:m.06x5s . }


Question: Wich province was home ot the 1988 Winter Olympics held in?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:olympics.olympic_host_city.olympics_hosted fb:m.019n8z . ?c fb:base.biblioness.bibs_location.state ?x . }


Question: When did the team with Phil Jackson last win the championship?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:organization.organization.leadership ?k . ?k fb:organization.leadership.person fb:m.030w9m . ?c fb:sports.sports_team.championships ?x . ?x fb:time.event.start_date ?sk0 . } ORDER BY DESC ( xsd:datetime ( ?sk0 ) ) LIMIT 1


Question: People from the location that appointed Bujar Nishani to governmental position speak what languages?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:government.governmental_jurisdiction.governing_officials ?k . ?k fb:government.government_position_held.appointed_by fb:m.0g9wl2g . ?c fb:location.country.languages_spoken ?x . }


Question: Which of US' most common religions has a religious organization named Tamil Nadu Thowheed Jamath?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.09c7w0 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.09c7w0 fb:location.statistical_region.religions ?y . ?y fb:location.religion_percentage.religion ?x . ?x fb:religion.religion.organizations fb:m.010ffmhn . }


Question: What form of currency is used in the country with the national anthem Aruba Dushi Tera?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.national_anthem ?k . ?k fb:government.national_anthem_of_a_country.anthem fb:m.01j1sl . ?c fb:location.country.currency_used ?x . }


Question: Which Chinese speaking country is where Aren Town, Sichuan is?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.01r2l ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.01r2l fb:language.human_language.countries_spoken_in ?x . ?x fb:location.country.administrative_divisions fb:m.0110_1rf . }


Question: Which of the states in close proximity to Tennessee is the place where Dale Bumpers was selected to hold a political job?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.07h34 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.07h34 fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:base.biblioness.bibs_location.loc_type ?sk0 . FILTER ( str ( ?sk0 ) = "State" ) ?x fb:government.governmental_jurisdiction.governing_officials ?c . ?c fb:government.government_position_held.appointed_by fb:m.01rtp0 . }


Question: Which country does China border, and that contains Azad Kashmir?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0d05w3 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0d05w3 fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:location.country.administrative_divisions fb:m.010vz . }


Question: Who is the current leader where Bashar al-Assad holds a government position?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:government.governmental_jurisdiction.governing_officials ?k . ?k fb:government.government_position_held.appointed_by fb:m.01_vwx . ?c fb:government.governmental_jurisdiction.governing_officials ?y . ?y fb:government.government_position_held.office_holder ?x . ?y fb:government.government_position_held.basic_title fb:m.060c4 . FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk0 } || EXISTS { ?y fb:government.government_position_held.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk2 } || EXISTS { ?y fb:government.government_position_held.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) }


Question: Who leads the Nation in which Hama is a part of?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.02kmjv . ?c fb:government.governmental_jurisdiction.governing_officials ?y . ?y fb:government.government_position_held.office_holder ?x . ?y fb:government.government_position_held.basic_title fb:m.060c4 . FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk0 } || EXISTS { ?y fb:government.government_position_held.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk2 } || EXISTS { ?y fb:government.government_position_held.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) }


Question: What form of art are done by the person who illustrates the book De divina proportine?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:book.illustrator.books_illustrated fb:m.06pqb_7 . ?c fb:visual_art.visual_artist.art_forms ?x . }


Question: The country that contains Trelawny Parish uses what type of money?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.administrative_divisions fb:m.06qrc3 . ?c fb:location.country.currency_used ?x . }


Question: What language is used in the country where San Jose is the capital?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.capital fb:m.01g3b2 . ?c fb:location.country.languages_spoken ?x . }


Question: Where did the famous person who went to McMaine Magnet Secondary School attend college?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:people.person.education ?k . ?k fb:education.education.institution fb:m.076qq2_ . ?c fb:people.person.education ?y . ?y fb:education.education.institution ?x . }


Question: Which country bordering the US once had a CO2 emissions per capita was metric ton?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.09c7w0 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.09c7w0 fb:location.location.adjoin_s ?y . ?y fb:location.adjoining_relationship.adjoins ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.statistical_region.co2_emissions_per_capita ?c . ?c fb:measurement_unit.dated_metric_ton.date ?num . } ORDER BY DESC ( ?num ) LIMIT 1


Question: What country in NAFTA uses the Mexican peso as currency?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.05jj_ ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.05jj_ fb:organization.membership_organization.members ?y . ?y fb:organization.organization_membership.member ?x . ?x fb:common.topic.notable_types fb:m.01mp . ?x fb:location.country.currency_used fb:m.012ts8 . }


Question: Who is the owner of the championship football team that won Super Bowl XXXIX?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:sports.sports_team.championships fb:m.032tkh . ?c fb:sports.professional_sports_team.owner_s ?x . }


Question: What film with character named Grinch has Taylor Memsen been in?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.067qp2 ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.067qp2 fb:film.actor.film ?y . ?y fb:film.performance.film ?x . ?x fb:film.film.starring ?c . ?c fb:film.performance.character fb:m.025s4pv . }


Question: What city are you in if you a purchasing a Cornell daily sun newspaper?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:education.educational_institution.newspaper fb:m.07mw_g . ?c fb:organization.organization.headquarters ?y . ?y fb:location.mailing_address.citytown ?x . }


Question: Which New Jersey senator has held his position since 01-18-2006?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.05fjf ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.05fjf fb:government.political_district.representatives ?y . ?y fb:government.government_position_held.office_holder ?x . ?y fb:government.government_position_held.governmental_body fb:m.07t58 . FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk0 } || EXISTS { ?y fb:government.government_position_held.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk2 } || EXISTS { ?y fb:government.government_position_held.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) ?x fb:government.politician.government_positions_held ?c . ?c fb:government.government_position_held.from "2006-01-18" ^^ xsd:dateTime . }


Question: What is the time zone of the country where the capital is Abuja?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.country.capital fb:m.0fnxw . ?c fb:location.location.time_zones ?x . }


Question: What country did the Vietnam War take place that has a capital Hanoi?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.07_nf ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.07_nf fb:time.event.locations ?x . ?x fb:location.country.capital fb:m.0fnff . }


Question: Which country where Abdullah II of Jordan holds a government position speaks Arabic?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0jzc ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0jzc fb:language.human_language.countries_spoken_in ?x . ?x fb:government.governmental_jurisdiction.governing_officials ?c . ?c fb:government.government_position_held.appointed_by fb:m.015tp7 . }


Question: What nation was the filming location of the TV program Zola Levitt and spke the Arabic language?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0jzc ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0jzc fb:language.human_language.countries_spoken_in ?x . ?x fb:tv.tv_location.tv_shows_filmed_here fb:m.07chkxq . }


Question: What country in Western Europe uses the CFP franc?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0852h ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0852h fb:location.location.contains ?x . ?x fb:base.biblioness.bibs_location.loc_type ?sk0 . FILTER ( str ( ?sk0 ) = "Country" ) ?x fb:location.country.currency_used fb:m.01qyjx . }


Question: What religion is followed in Argentina and whose house of worship include the Church?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.0jgd ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.0jgd fb:location.statistical_region.religions ?y . ?y fb:location.religion_percentage.religion ?x . ?x fb:religion.religion.types_of_places_of_worship fb:m.01wb7 . }


Question: Who was the governor in 2011 of the US State with the capital city of Talahassee ?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:location.us_state.capital fb:m.0ftvz . ?c fb:government.governmental_jurisdiction.governing_officials ?y . ?y fb:government.government_position_held.office_holder ?x . ?y fb:government.government_position_held.basic_title fb:m.0fkvn . FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk0 } || EXISTS { ?y fb:government.government_position_held.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2011-12-31" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk2 } || EXISTS { ?y fb:government.government_position_held.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2011-01-01" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.from ?sk4 } || EXISTS { ?y fb:government.government_position_held.from ?sk5 . FILTER ( xsd:datetime ( ?sk5 ) <= "2011-12-31" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:government.government_position_held.to ?sk6 } || EXISTS { ?y fb:government.government_position_held.to ?sk7 . FILTER ( xsd:datetime ( ?sk7 ) >= "2011-01-01" ^^ xsd:dateTime ) } ) ?y fb:government.government_position_held.from ?sk8 . } ORDER BY DESC ( xsd:datetime ( ?sk8 ) ) LIMIT 1


Question: Where is the artist of Christina Aguilera in Concert from?

PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER ( ?x != ?c ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) ?c fb:music.artist.concert_tours fb:m.027t7bs . ?c fb:people.person.place_of_birth ?x . }


Question: What player started his career in 1981 and is the coach of Inter Milan now?

PREFIX fb: <http://rdf.freebase.com/ns/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?x WHERE { FILTER ( ?x != fb:m.03x6m ) FILTER ( ! isLiteral ( ?x ) || lang ( ?x ) = '' || langMatches ( lang ( ?x ) , 'en' ) ) fb:m.03x6m fb:sports.sports_team.coaches ?y . ?y fb:sports.sports_team_coach_tenure.coach ?x . FILTER ( NOT EXISTS { ?y fb:sports.sports_team_coach_tenure.from ?sk0 } || EXISTS { ?y fb:sports.sports_team_coach_tenure.from ?sk1 . FILTER ( xsd:datetime ( ?sk1 ) <= "2015-08-10" ^^ xsd:dateTime ) } ) FILTER ( NOT EXISTS { ?y fb:sports.sports_team_coach_tenure.to ?sk2 } || EXISTS { ?y fb:sports.sports_team_coach_tenure.to ?sk3 . FILTER ( xsd:datetime ( ?sk3 ) >= "2015-08-10" ^^ xsd:dateTime ) } ) ?x fb:sports.pro_athlete.sports_played_professionally ?c . ?c fb:sports.pro_sports_played.career_start "1981" ^^ xsd:dateTime . }