PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.05zng0w .
?c ns:people.person.profession ?x .
}

Richard Hammond
people.person.profession
Television producer

Richard Hammond
people.person.profession
Writer

Richard Hammond
people.person.profession
Journalist

Richard Hammond
people.person.profession
Screenwriter

Richard Hammond
people.person.profession
Voice Actor

Richard Hammond
people.person.profession
Presenter

Richard Hammond
people.person.profession
Radio personality

Richard Hammond
people.person.profession
Author

Richard Hammond
people.person.profession
Stunt Performer


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.040000)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.040000 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.university.number_of_undergraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.02676m4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02676m4 ns:film.film_series.films_in_series ?x .
?x ns:film.film.produced_by ns:m.042xh .
}

Harry Potter and the Deathly Hallows - Part I

Harry Potter and the Deathly Hallows – Part 2


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.0djbckc .
?c ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.03djm)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03djm ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:education.university.number_of_postgraduates ?c .
?c ns:measurement_unit.dated_integer.number "5296" .
}

Iowa State University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.085gk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.085gk ns:influence.influence_node.influenced_by ?x .
?x ns:government.political_appointer.appointees ?c .
?c ns:government.government_position_held.from "1861-03-05"^^xsd:dateTime .
}

Walt Whitman
influence.influence_node.influenced_by
Abraham Lincoln


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.governmental_body ns:m.069kvr .
?c ns:location.location.time_zones ?x .
}

Missouri
location.location.time_zones
Central Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.06mt91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mt91 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.directed_by ns:m.02q_25q .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0jm8l)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jm8l ns:sports.sports_team.championships ?x .
?x ns:sports.sports_championship_event.result "4 - 0"@en .
}

Detroit Pistons
sports.sports_team.championships
1989 NBA Finals

1989 NBA Finals
sports.sports_championship_event.result
"4 - 0"@en


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.languages_spoken ns:m.02hxsl0 .
?c ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
}

Bolivia
location.country.languages_spoken
Pauserna Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:periodicals.newspaper_circulation_area.newspapers ns:m.03gqdfr .
?c ns:location.country.languages_spoken ?x .
}

Chile
location.country.languages_spoken
Spanish Language

Chile
location.country.languages_spoken
Mapudungun Language

Chile
location.country.languages_spoken
Aymara language

Chile
location.country.languages_spoken
Rapa Nui Language

Chile
location.country.languages_spoken
Puquina Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:law.court_jurisdiction_area.courts ns:m.03qj7vv .
?c ns:location.location.time_zones ?x .
}

Missouri
law.court_jurisdiction_area.courts
Missouri Court of Appeals


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0165v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0165v ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:location.statistical_region.gdp_deflator_change ?c .
?c ns:measurement_unit.dated_percentage.rate "-0.05" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.quotations ns:m.048dnsb .
?c ns:influence.influence_node.influenced_by ?x .
}

Henceforth I ask not good fortune. I myself am good fortune.

Walt Whitman
influence.influence_node.influenced_by
Ralph Waldo Emerson

Walt Whitman
influence.influence_node.influenced_by
Georg Wilhelm Friedrich Hegel

Walt Whitman
influence.influence_node.influenced_by
Edgar Allan Poe

Walt Whitman
influence.influence_node.influenced_by
Oscar Wilde

Walt Whitman
influence.influence_node.influenced_by
Walter Scott

Walt Whitman
influence.influence_node.influenced_by
Henry David Thoreau


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.languages_spoken ns:m.02hrcqd .
?c ns:base.locations.countries.continent ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.017lqp)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.017lqp ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:location.location.people_born_here ?c .
?c ns:type.object.name "Joan Claridge"@en .
}

London
location.location.people_born_here
Joan Claridge

Joan Claridge
type.object.name
"Joan Claridge"@en


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.governmental_body ns:m.0ndhknm .
?c ns:location.country.currency_used ?x .
}

Puerto Rico
location.country.currency_used
United States Dollar


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.06mt91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mt91 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.genre ?c .
?c ns:media_common.media_genre.child_genres ns:m.08phz7 .
}

Animation
media_common.media_genre.child_genres
Cartoon pornography


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.0419kt .
?c ns:location.country.languages_spoken ?x .
}

Bahamas
film.film_location.featured_in_films
Speed 2: Cruise Control

Bahamas
location.country.languages_spoken
English Language

Bahamas
location.country.languages_spoken
Bahamas Creole English Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.05csx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05csx ns:geography.river.basin_countries ?x .
?x ns:location.country.second_level_divisions ns:m.0jt55bg .
}

Niger River
geography.river.basin_countries
Nigeria

Nigeria
location.country.second_level_divisions
Eti-Osa East


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0157m)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0157m ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:fictional_universe.school_in_fiction.students_graduates ns:m.01msch .
}

University of Oxford
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0yb0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0yb0 ns:influence.influence_node.influenced_by ?x .
?x ns:government.politician.party ?c .
?c ns:government.political_party_tenure.party ns:m.01py45 .
}

Antoni Gaudí
influence.influence_node.influenced_by
William Morris


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.0165v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0165v ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:location.statistical_region.size_of_armed_forces ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.04yd0fh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04yd0fh ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.initial_release_date ?num .
}
ORDER BY ?num LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0h0xks6 .
?c ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.04swx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04swx ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.office_position_or_title ns:m.0101my37 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.0cs716d .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
}

Edmund A. Walsh School of Foreign Service

Yale Law School
common.topic.notable_types
College/University

Georgetown University
common.topic.notable_types
College/University

University College, Oxford
common.topic.notable_types
College/University

University Yale
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.064r7fk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.064r7fk ns:language.human_language.main_country ?x .
?x ns:location.country.official_language ns:m.0653m .
}

Standard Tibetan
language.human_language.main_country
China

China
location.country.official_language
Standard Chinese


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.01y603)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01y603 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.university.number_of_postgraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0358x_)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0358x_ ns:tv.tv_program.regular_cast ?y .
?y ns:tv.regular_tv_appearance.actor ?x .
?y ns:tv.regular_tv_appearance.character ns:m.0b4nb8 .
?x ns:kg.object_profile.prominent_type ns:tv.tv_actor .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.0hhqw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0hhqw ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.from ?sk0} ||
EXISTS {?y ns:sports.sports_team_roster.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2003-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.to ?sk2} ||
EXISTS {?y ns:sports.sports_team_roster.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2003-01-01"^^xsd:dateTime) })
?x ns:sports.sports_team.founded ?num .
FILTER (?num > "1902-03-06"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0yfp)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0yfp ns:influence.influence_node.influenced_by ?x .
?x ns:film.film_subject.films ns:m.0m313 .
}

Arthur Miller
influence.influence_node.influenced_by
William Shakespeare

William Shakespeare
film.film_subject.films
Shakespeare in Love


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:biology.breed_origin.breeds_originating_here ns:m.0229mb .
?c ns:location.country.languages_spoken ?x .
}

Egypt
location.country.languages_spoken
Arabic Language

Egypt
location.country.languages_spoken
Sa'idi Arabic

Egypt
location.country.languages_spoken
Arabic, Sudanese Spoken Language

Egypt
location.country.languages_spoken
Egyptian Arabic

Egypt
location.country.languages_spoken
Domari Language

Egypt
location.country.languages_spoken
Modern Standard Arabic

Egypt
location.country.languages_spoken
Bedawi Arabic

Egypt
location.country.languages_spoken
Siwi Language

Egypt
location.country.languages_spoken
Nobiin Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.political_appointer.appointees ?k .
?k ns:government.government_position_held.basic_title ns:m.0cq0r_ .
?c ns:people.person.place_of_birth ?x .
?x ns:common.topic.notable_types ns:m.01m9 .
}

Barack Obama
people.person.place_of_birth
Honolulu


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:award.award_nominee.award_nominations ?k .
?k ns:award.award_nomination.nominated_for ns:m.0m0ktt .
?c ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:location.location.containedby ns:m.0d0x8 .
FILTER(NOT EXISTS {?y ns:people.place_lived.end_date ?sk0} ||
EXISTS {?y ns:people.place_lived.end_date ?sk1 .
FILTER(xsd:datetime(?sk1) >= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:people.place_lived.start_date ?sk2} ||
EXISTS {?y ns:people.place_lived.start_date ?sk3 .
FILTER(xsd:datetime(?sk3) <= "2015-08-10"^^xsd:dateTime) })
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.featured_artist.recordings ns:m.0135pww1 .
?c ns:music.artist.origin ?x .
}

Shakira
music.featured_artist.recordings
Mi verdad


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.05sqd0p .
?c ns:base.locations.countries.continent ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0bdxs5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bdxs5 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.runtime ?c .
?c ns:film.film_cut.runtime "102.0" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.040000)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.040000 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.university.number_of_postgraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
FILTER (xsd:integer(?num) < 10857) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.085gk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.085gk ns:influence.influence_node.influenced_by ?x .
?x ns:influence.influence_node.influenced ns:m.012cph .
}

Walt Whitman
influence.influence_node.influenced_by
Edgar Allan Poe

Edgar Allan Poe
influence.influence_node.influenced
Dashiell Hammett


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0754d6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0754d6 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.edited_by ns:m.0b_rgxq .
}

Scream 4
film.film.edited_by
Peter McNulty


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.03y7209 .
?c ns:location.country.currency_used ?x .
}

Puerto Rico
film.film_location.featured_in_films
Princess Protection Program

Puerto Rico
location.country.currency_used
United States Dollar


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.04j1369 .
?c ns:people.person.children ?x .
?x ns:people.person.gender ns:m.05zppz .
}

Nicolas Cage
people.person.children
Weston Coppola Cage

Weston Coppola Cage
people.person.gender
Male

Nicolas Cage
people.person.children
Kal-El Coppola Cage

Kal-El Coppola Cage
people.person.gender
Male


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0h184cd .
?c ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.0f8l9c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f8l9c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.060c4 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2012-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2012-01-01"^^xsd:dateTime) })
?x ns:government.politician.party ?c .
?c ns:government.political_party_tenure.from ?num .
FILTER (?num < "2002"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:food.beer_country_region.beers_from_here ns:m.04dqt74 .
?c ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.04yd0fh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04yd0fh ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.netflix_id ?num .
FILTER (xsd:integer(?num) > 70095135) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.016yzz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.016yzz ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
FILTER(NOT EXISTS {?y ns:people.place_lived.end_date ?sk0} ||
EXISTS {?y ns:people.place_lived.end_date ?sk1 .
FILTER(xsd:datetime(?sk1) >= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:people.place_lived.start_date ?sk2} ||
EXISTS {?y ns:people.place_lived.start_date ?sk3 .
FILTER(xsd:datetime(?sk3) <= "2015-08-10"^^xsd:dateTime) })
?x ns:location.hud_county_place.county ns:m.0kpys .
}

Duarte
location.hud_county_place.county
Los Angeles County

South Pasadena
location.hud_county_place.county
Los Angeles County


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.0f8l9c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f8l9c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.060c4 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2012-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2012-01-01"^^xsd:dateTime) })
?x ns:government.political_appointer.appointees ?c .
?c ns:government.government_position_held.to ?num .
FILTER (?num < "2012-05-16"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0t4xg8x .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.jurisdiction_of_office ?x .
?y ns:government.government_position_held.basic_title ns:m.0fkvn .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:common.topic.image ns:m.059gsm5 .
?c ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.from ?sk0} ||
EXISTS {?y ns:sports.sports_team_roster.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.to ?sk2} ||
EXISTS {?y ns:sports.sports_team_roster.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.05csx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05csx ns:geography.river.basin_countries ?x .
?x ns:location.country.calling_code ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1

Niger River
geography.river.basin_countries
Mali


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0bdxs5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bdxs5 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.production_companies ns:m.01795t .
}

Hannah Montana and Miley Cyrus: Best of Both Worlds Concert

Super Rhino
film.film.production_companies
Walt Disney Pictures

Hannah Montana: The Movie
film.film.production_companies
Walt Disney Pictures

Bolt
film.film.production_companies
Walt Disney Pictures


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0754d6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0754d6 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.other_crew ?c .
?c ns:film.film_crew_gig.crewmember ns:m.08zq7qq .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.05mtcr6 .
?c ns:location.country.official_language ?x .
}

Scotland
film.film_location.featured_in_films
Starting Over

Scotland
location.country.official_language
English Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.016yzz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.016yzz ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
FILTER(NOT EXISTS {?y ns:people.place_lived.end_date ?sk0} ||
EXISTS {?y ns:people.place_lived.end_date ?sk1 .
FILTER(xsd:datetime(?sk1) >= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:people.place_lived.start_date ?sk2} ||
EXISTS {?y ns:people.place_lived.start_date ?sk3 .
FILTER(xsd:datetime(?sk3) <= "2015-08-10"^^xsd:dateTime) })
?x ns:fictional_universe.fictional_setting.contains ns:m.0ny_d .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:food.beer_country_region.beers_from_here ns:m.04dqmxs .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.060c4 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2010-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2010-01-01"^^xsd:dateTime) })
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.081k8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.081k8 ns:influence.influence_node.influenced_by ?x .
?x ns:people.person.quotations ns:m.048bsfm .
}

William Shakespeare
influence.influence_node.influenced_by
Seneca the Younger

Seneca the Younger
people.person.quotations
The sun also shines on the wicked.


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.quotations ns:m.048f8ng .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
}

Horace Mann School for the Deaf and Hard of Hearing

College isn't the place to go for ideas.


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.02nwdkl .
?c ns:people.person.profession ?x .
}

James Dean
people.person.profession
Actor


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x
WHERE {
FILTER (?x != ns:m.0g8lsf)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0g8lsf ns:location.location.containedby ?x .
?x ns:government.governmental_jurisdiction.official_symbols ?c .
?c ns:location.location_symbol_relationship.date_adopted ?num .
FILTER (?num > "1899"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:award.award_nominee.award_nominations ?k .
?k ns:award.award_nomination.nominated_for ns:m.0cqsxs .
?c ns:book.author.works_written ?x .
?x ns:book.book.genre ns:m.0dwly .
}

Suzanne Collins
book.author.works_written
Gregor and the Code of Claw

Gregor and the Code of Claw
book.book.genre
Children's literature

Suzanne Collins
book.author.works_written
Gregor and the Prophecy of Bane

Gregor and the Prophecy of Bane
book.book.genre
Children's literature

Suzanne Collins
book.author.works_written
The Underland Chronicles Book Three

The Underland Chronicles Book Three
book.book.genre
Children's literature

Suzanne Collins
book.author.works_written
FIRE PROOF

FIRE PROOF
book.book.genre
Children's literature


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0d3k14)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d3k14 ns:celebrities.celebrity.sexual_relationships ?y .
?y ns:celebrities.romantic_relationship.celebrity ?x .
?x ns:film.actor.film ?c .
?c ns:film.performance.character ns:m.0_tmnx0 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.05cb70)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05cb70 ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.from ?sk0} ||
EXISTS {?y ns:sports.sports_team_roster.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2011-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.to ?sk2} ||
EXISTS {?y ns:sports.sports_team_roster.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2011-01-01"^^xsd:dateTime) })
?x ns:sports.sports_team.founded ?num .
FILTER (?num > "1966"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:book.author.book_editions_published ns:m.04v7pkg .
?c ns:people.person.profession ?x .
}

F. Scott Fitzgerald
book.author.book_editions_published
This side of paradise

F. Scott Fitzgerald
people.person.profession
Novelist

F. Scott Fitzgerald
people.person.profession
Writer

F. Scott Fitzgerald
people.person.profession
Poet


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.059_w)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.059_w ns:people.ethnicity.languages_spoken ?x .
?x ns:fictional_universe.fictional_language.found_in_fictional_universe ns:m.02s3gw .
}

Native Americans in the United States
people.ethnicity.languages_spoken
English Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.lyricist.lyrics_written ns:m.01261lkl .
?c ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
FILTER(NOT EXISTS {?y ns:people.place_lived.end_date ?sk0} ||
EXISTS {?y ns:people.place_lived.end_date ?sk1 .
FILTER(xsd:datetime(?sk1) >= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:people.place_lived.start_date ?sk2} ||
EXISTS {?y ns:people.place_lived.start_date ?sk3 .
FILTER(xsd:datetime(?sk3) <= "2015-08-10"^^xsd:dateTime) })
}

Sam Shepard
music.lyricist.lyrics_written
If You Were Still Around


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.06mt91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mt91 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.written_by ns:m.0fz3fn .
}

This Is the End
film.film.written_by
Evan Goldberg


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0gcgd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0gcgd ns:influence.influence_node.influenced_by ?x .
?x ns:influence.influence_node.influenced ns:m.01m3xg .
}

Roy Lichtenstein
influence.influence_node.influenced_by
Jasper Johns

Jasper Johns
influence.influence_node.influenced
John Ashbery


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.034m8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.034m8 ns:location.country.languages_spoken ?x .
?x ns:language.human_language.iso_639_3_code "ake" .
}

Guyana
location.country.languages_spoken
Akawaio Language

Akawaio Language
language.human_language.iso_639_3_code
"ake"


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.04yd0fh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04yd0fh ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.directed_by ns:m.01tn5n .
}

Knowing
film.film.directed_by
Alex Proyas


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:periodicals.newspaper_circulation_area.newspapers ns:m.04yhtr .
?c ns:location.country.currency_used ?x .
}

Ukraine
location.country.currency_used
Ukrainian hryvnia


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:food.beer_country_region.beers_from_here ns:m.04dqwfc .
?c ns:sports.sport_country.athletic_performances ?y .
?y ns:sports.competitor_competition_relationship.competitors ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:periodicals.newspaper_circulation_area.newspapers ns:m.0c8p_3 .
?c ns:location.location.containedby ?x .
?x ns:common.topic.notable_types ns:m.01mh .
}

Greenland
location.location.containedby
North America

North America
common.topic.notable_types
Continent


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.02bwjv)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02bwjv ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.produced_by ns:m.03nnt2s .
}

Alice Upside Down
film.film.produced_by
Chip Rosenbloom


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.office_position_or_title ns:m.075z_v .
?c ns:location.country.currency_used ?x .
}

Tunisia
location.country.currency_used
Tunisian dinar


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0ddqw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0ddqw ns:film.film_character.portrayed_in_films ?y .
?y ns:film.performance.actor ?x .
?x ns:film.actor.film ?c .
?c ns:film.performance.film ns:m.0199wf .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.lyricist.lyrics_written ns:m.0zkflnh .
?c ns:influence.influence_node.influenced_by ?x .
}

Four Old English Songs, No. 3: Who Is Sylvia?

William Shakespeare
influence.influence_node.influenced_by
Virgil

William Shakespeare
influence.influence_node.influenced_by
Plutarch

William Shakespeare
influence.influence_node.influenced_by
Terence

William Shakespeare
influence.influence_node.influenced_by
Michel de Montaigne

William Shakespeare
influence.influence_node.influenced_by
Seneca the Younger

William Shakespeare
influence.influence_node.influenced_by
Thomas More

William Shakespeare
influence.influence_node.influenced_by
Christopher Marlowe

William Shakespeare
influence.influence_node.influenced_by
Lucian

William Shakespeare
influence.influence_node.influenced_by
Ovid

William Shakespeare
influence.influence_node.influenced_by
Plautus

William Shakespeare
influence.influence_node.influenced_by
Edmund Spenser

William Shakespeare
influence.influence_node.influenced_by
Geoffrey Chaucer

William Shakespeare
influence.influence_node.influenced_by
Thomas Kyd

William Shakespeare
influence.influence_node.influenced_by
John Pory


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.06mt91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mt91 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.executive_produced_by ns:m.05wjnt .
}

This Is the End
film.film.executive_produced_by
Jay Baruchel


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.06mt91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mt91 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.release_date_s ?c .
?c ns:film.film_regional_release_date.release_date ?num .
FILTER (?num < "2012-04-19"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.languages_spoken ns:m.0c4chg .
?c ns:location.country.form_of_government ?x .
}

Egypt
location.country.languages_spoken
Domari Language

Egypt
location.country.form_of_government
Semi-presidential system

Egypt
location.country.form_of_government
Provisional government


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.02bwjv)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02bwjv ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.netflix_id ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.0581vn8 .
?c ns:location.location.containedby ?x .
?x ns:base.aareas.schema.administrative_area.administrative_area_type ns:m.0hzjmlj .
}

Johannesburg
film.film_location.featured_in_films
District 9


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.02bwjv)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02bwjv ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.initial_release_date ?num .
FILTER (?num > "2004-06-06"^^xsd:dateTime) .
}

Phineas and Ferb the Movie: Across the 2nd Dimension

Holly Hobbie and Friends: Christmas Wishes

Holly Hobbie and Friends: Surprise Party


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0hhh559 .
?c ns:people.deceased_person.cause_of_death ?x .
?x ns:people.cause_of_death.parent_cause_of_death ns:m.0qcr0 .
}

Donna Summer
people.deceased_person.cause_of_death
Lung cancer


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0bdxs5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bdxs5 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.music ns:m.01mkn_d .
}

Hannah Montana: The Movie
film.film.music
John Debney


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0z46188 .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hn6 .
}

Shawnee Mission West High School
common.topic.notable_types
School


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.composer.compositions ns:m.01bykrc .
?c ns:film.actor.film ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.film ns:m.080_x_ .
}

Avril Lavigne
music.composer.compositions
Sk8ter Boi


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.01y603)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01y603 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:organization.organization.date_founded ?num .
FILTER (?num < "1879"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.governmental_body ns:m.0cm8gsm .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.0fkvn .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.02xry)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02xry ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.structure.opened "1971"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x
WHERE {
FILTER (?x != ns:m.052bw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.052bw ns:travel.travel_destination.tourist_attractions ?x .
?x ns:exhibitions.exhibition_venue.exhibitions_at_this_venue ?c .
?c ns:exhibitions.exhibition_run.opened_on ?num .
FILTER (?num < "2008-05-24"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.0165v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0165v ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:location.country.calling_code ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_subject.films ns:m.0g4pl7z .
?c ns:people.person.profession ?x .
}

Ayrton Senna
film.film_subject.films
Senna

Ayrton Senna
people.person.profession
Race car driver


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

Russia
location.country.languages_spoken
Tsakhur Language

Russia
location.country.currency_used
Russian ruble


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.lyricist.lyrics_written ns:m.0zxgdd1 .
?c ns:film.actor.film ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.film ns:m.080_x_ .
}

Avril Lavigne
music.lyricist.lyrics_written
Stop Standing There


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.composer.compositions ns:m.0_74lgq .
?c ns:people.deceased_person.place_of_death ?x .
}

Thomas Jefferson
music.composer.compositions
Declaration of Independence

Thomas Jefferson
people.deceased_person.place_of_death
Charlottesville


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.02676m4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02676m4 ns:film.film_series.films_in_series ?x .
?x ns:film.film.directed_by ns:m.03dpdl .
}

Harry Potter
film.film_series.films_in_series
Harry Potter and the Goblet of Fire

Harry Potter and the Goblet of Fire
film.film.directed_by
Mike Newell


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0d9jr)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d9jr ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.structure.opened "1914"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:food.beer_country_region.beers_from_here ns:m.04dq9n8 .
?c ns:location.country.official_language ?x .
}

Hungary
location.country.official_language
Hungarian language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0chghy)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0chghy ns:location.statistical_region.religions ?y .
?y ns:location.religion_percentage.religion ?x .
?x ns:religion.religion.deities ns:m.02lxg9 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.03gvmg3 .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.jurisdiction_of_office ?x .
?y ns:government.government_position_held.basic_title ns:m.0fkvn .
}

Recognition of the Japanese Zero Fighter


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0jzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jzc ns:language.human_language.countries_spoken_in ?x .
?x ns:location.country.languages_spoken ns:m.01bcw_ .
}

Iran
location.country.languages_spoken
Azerbaijani language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.04w8f)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04w8f ns:location.country.form_of_government ?x .
?x ns:government.form_of_government.countries ns:m.015qh .
}

Mongolia
location.country.form_of_government
Parliamentary republic

Parliamentary republic
government.form_of_government.countries
Bulgaria


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.01y603)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01y603 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:book.periodical_publisher.periodicals_published ?c .
?c ns:book.periodical_publisher_period.periodical ns:m.02zb6m_ .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.03yk4pb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03yk4pb ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:location.location.people_born_here ?c .
?c ns:type.object.name "John Sciarra"@en .
}

Los Angeles
location.location.people_born_here
John Sciarra

John Sciarra
type.object.name
"John Sciarra"@en


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.0v_c9qz .
?c ns:visual_art.visual_artist.art_forms ?x .
}

Salvador Domingo Felipe Jacinto Dalí i Domènech


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0j1qb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0j1qb ns:location.location.containedby ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.governmental_body ns:m.072nky .
}

Illinois River
location.location.containedby
Illinois


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0bmh4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bmh4 ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.04ztj .
?x ns:people.person.religion ns:m.05sfs .
}

Larry Fortensky
people.person.religion
Protestantism


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:award.award_nominee.award_nominations ?k .
?k ns:award.award_nomination.nominated_for ns:m.01hwn8l .
?c ns:music.artist.origin ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.governmental_body ns:m.041wfs .
?c ns:location.country.currency_used ?x .
}

Puerto Rico
location.country.currency_used
United States Dollar


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.01xvb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01xvb ns:sports.professional_sports_team.draft_picks ?y .
?y ns:sports.sports_league_draft_pick.player ?x .
?x ns:american_football.football_player.passing ?c .
?c ns:american_football.player_passing_statistics.attempts ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0vblj9p .
?c ns:people.person.profession ?x .
}

Ellen Dow
people.person.profession
Teacher

Ellen Dow
people.person.profession
Actor

Ellen Dow
people.person.profession
Choreographer


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.07s6gb8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07s6gb8 ns:location.location.containedby ?x .
?x ns:location.location.people_born_here ns:g.11b74nx985 .
}

Giza Necropolis
location.location.containedby
Egypt

Egypt
location.location.people_born_here
George Michel Serkeis


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x
WHERE {
FILTER (?x != ns:m.05csx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05csx ns:geography.river.basin_countries ?x .
?x ns:location.statistical_region.size_of_armed_forces ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1

Niger River
geography.river.basin_countries
Nigeria


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.01f62)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01f62 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:exhibitions.exhibition_venue.exhibitions_at_this_venue ?c .
?c ns:exhibitions.exhibition_run.opened_on "2009-02-11"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01727v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01727v ns:music.musical_group.member ?y .
?y ns:music.group_membership.member ?x .
?x ns:people.person.profession ns:m.02hrh1q .
}

Sacha Puttnam
people.person.profession
Actor

Gavin Rossdale
people.person.profession
Actor


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.0d05w3)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d05w3 ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.iso_numeric ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.languages_spoken ns:m.0c4chg .
?c ns:location.statistical_region.places_exported_to ?y .
?y ns:location.imports_and_exports.exported_to ?x .
}

Egypt
location.country.languages_spoken
Domari Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0kc6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0kc6 ns:influence.influence_node.influenced_by ?x .
?x ns:people.deceased_person.place_of_death ns:m.01nh2k .
}

Andy Warhol
influence.influence_node.influenced_by
Jean-Michel Basquiat

Jean-Michel Basquiat
people.deceased_person.place_of_death
NoHo, Manhattan


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:food.beer_country_region.beers_from_here ns:m.04dqg5r .
?c ns:location.country.currency_used ?x .
}

Mexico
location.country.currency_used
Mexican peso


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.0754d6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0754d6 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.release_date_s ?c .
?c ns:film.film_regional_release_date.release_date ?num .
}
ORDER BY DESC(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.0cbm64)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0cbm64 ns:music.musical_group.member ?y .
?y ns:music.group_membership.member ?x .
?x ns:celebrities.celebrity.sexual_relationships ?c .
?c ns:celebrities.romantic_relationship.end_date ?num .
}
ORDER BY ?num LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0gy2qyq .
?c ns:medicine.notable_person_with_medical_condition.condition ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:biology.breed_origin.breeds_originating_here ns:m.08p0pp .
?c ns:location.country.languages_spoken ?x .
}

Greece
location.country.languages_spoken
Greek Language

Greece
location.country.languages_spoken
Albanian language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:periodicals.newspaper_circulation_area.newspapers ns:m.02qp3f .
?c ns:travel.travel_destination.tourist_attractions ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_subject.films ns:m.0vb05gv .
?c ns:people.person.nationality ?x .
}

Osama bin Laden
film.film_subject.films
On the Trail of Bin Liden

Osama bin Laden
people.person.nationality
Saudi Arabia


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.06mt91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mt91 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.film_set_decoration_by ns:m.09jzvjh .
}

Battleship
film.film.film_set_decoration_by
Larry Dias


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.government ns:m.05z01q3 .
?c ns:location.country.form_of_government ?x .
}

Egypt
location.country.form_of_government
Semi-presidential system

Egypt
location.country.form_of_government
Provisional government


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0165v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0165v ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:location.location.contains ns:g.119pfvqwb .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.composer.compositions ns:m.0_jwv1v .
?c ns:people.deceased_person.cause_of_death ?x .
}

Donna Summer
music.composer.compositions
My Baby Understands

Donna Summer
people.deceased_person.cause_of_death
Cancer

Donna Summer
people.deceased_person.cause_of_death
Lung cancer


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_subject.films ns:m.0zxjxzg .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
}

Miley Cyrus
film.film_subject.films
Miley Cyrus: Growing Up

Hannah Montana and Miley Cyrus: Best of Both Worlds Concert


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.052bw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.052bw ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.structure.opened ?num .
FILTER (?num < "2002-06-27"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.03_3d)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_3d ns:location.country.languages_spoken ?x .
?x ns:language.human_language.main_country ns:m.014tss .
}

Japan
location.country.languages_spoken
English Language

English Language
language.human_language.main_country
Kingdom of Great Britain


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:award.award_nominee.award_nominations ?k .
?k ns:award.award_nomination.nominated_for ns:m.01937g .
?c ns:medicine.notable_person_with_medical_condition.condition ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.03_dj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_dj ns:people.person.profession ?x .
?x ns:religion.religious_leadership_title.leaders ?c .
?c ns:religion.religious_organization_leadership.end_date "1849"^^xsd:dateTime .
}

Jonathan Swift
people.person.profession
Priest


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.040000)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.040000 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:organization.organization.date_founded ?num .
}
ORDER BY DESC(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.03tw2s)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03tw2s ns:location.location.containedby ?x .
?x ns:government.governmental_jurisdiction.official_symbols ?c .
?c ns:location.location_symbol_relationship.date_adopted "1948"^^xsd:dateTime .
}

University of South Carolina
location.location.containedby
South Carolina


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.06npd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06npd ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:topic_server.population_number ?num .
FILTER (xsd:integer(?num) < 10538275) .
}

Czech Republic
common.topic.notable_types
Country


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0v_x)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0v_x ns:location.location.containedby ?x .
?x ns:topic_server.population_number "40979" .
}

Auschwitz concentration camp
location.location.containedby
Oświęcim


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
	ns:m.03f34_ ns:architecture.building_function.buildings ?y .
	?y ns:travel.tourist_attraction.near_travel_destination ?x .?x ns:fictional_universe.fictional_setting.fictional_characters_born_here ns:m.047llwl .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.04j320g .
?c ns:location.country.currency_used ?x .
}

South Africa
film.film_location.featured_in_films
The Quarry

South Africa
location.country.currency_used
South African rand


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.languages_spoken ns:m.027bj_4 .
?c ns:location.country.form_of_government ?x .
}

Russia
location.country.languages_spoken
Tsakhur Language

Russia
location.country.form_of_government
Semi-presidential system

Russia
location.country.form_of_government
Federal republic

Russia
location.country.form_of_government
Constitutional republic


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:book.author.book_editions_published ns:m.04vs2vl .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
}

State of the Union Addresses of William J. Clinton

Yale Law School
common.topic.notable_types
College/University

Georgetown University
common.topic.notable_types
College/University

University College, Oxford
common.topic.notable_types
College/University

University Yale
common.topic.notable_types
College/University

Edmund A. Walsh School of Foreign Service

University of Oxford
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:biology.breed_origin.breeds_originating_here ns:m.011lh .
?c ns:location.country.form_of_government ?x .
}

Mali
location.country.form_of_government
Unitary state

Mali
location.country.form_of_government
Semi-presidential system


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.office_holder ns:m.04gxb1v .
?c ns:location.hud_county_place.county ?x .
}

Chowchilla
location.hud_county_place.county
Madera County


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.07b_l)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07b_l ns:location.location.time_zones ?x .
?x ns:time.time_zone.locations_in_this_time_zone ?c .
?c ns:location.location.nearby_airports ns:m.01qgx3 .
}

Texas
location.location.time_zones
Central Time Zone

Tulsa
location.location.nearby_airports
Tulsa International Airport

Claremore
location.location.nearby_airports
Tulsa International Airport


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.081k8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.081k8 ns:influence.influence_node.influenced_by ?x .
?x ns:influence.influence_node.peers ?c .
?c ns:influence.peer_relationship.peers ns:m.03kgs .
}

William Shakespeare
influence.influence_node.influenced_by
Virgil


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.featured_artist.recordings ns:m.0ytsqy1 .
?c ns:people.person.ethnicity ?x .
}

Selena Gomez
music.featured_artist.recordings
Already Missing You

Selena Gomez
people.person.ethnicity
Italian American

Selena Gomez
people.person.ethnicity
Mexicans


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.quotations ns:m.048hm2_ .
?c ns:people.person.profession ?x .
}

Robert Burns
people.person.quotations
Suspense is worst than disappointment.

Robert Burns
people.person.profession
Writer

Robert Burns
people.person.profession
Poet

Robert Burns
people.person.profession
Author

Robert Burns
people.person.profession
Bard


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.04yd0fh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04yd0fh ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.film_art_direction_by ns:m.095qvvm .
}

The Hunger Games: Catching Fire
film.film.film_art_direction_by
Adam Davis


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.052bw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.052bw ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.venue.capacity "75731" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.0d05w3)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d05w3 ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.iso_numeric ?num .
FILTER (xsd:integer(?num) > 704) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.office_holder ns:m.08cggg .
?c ns:location.country.currency_used ?x .
}

Kenya
location.country.currency_used
Kenyan shilling


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.06npd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06npd ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.governmental_body ns:m.0rdfh4w .
}

Hungarian Ministry of Public Administration and Justice


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.04lvwk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04lvwk ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:education.university.number_of_postgraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
FILTER (xsd:integer(?num) > 3904) .
}

University of Arkansas
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.0k3qjch .
?c ns:travel.travel_destination.tourist_attractions ?x .
}

Museo Nacional Centro de Arte Reina Sofía


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

Belgium
location.country.second_level_divisions
Arrondissement of Antwerp

Belgium
location.country.official_language
Dutch Language

Belgium
location.country.official_language
German Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:fictional_universe.fictional_character.children ns:m.09rgmw1 .
?c ns:film.film_character.portrayed_in_films ?y .
?y ns:film.performance.actor ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.02676m4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02676m4 ns:film.film_series.films_in_series ?x .
?x ns:film.film.written_by ns:m.06_prj .
}

Harry Potter and the Order of the Phoenix


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.0c4285b .
?c ns:travel.travel_destination.tourist_attractions ?x .
}

Salt Lake City
film.film_location.featured_in_films
The Life of Nephi


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:award.award_nominee.award_nominations ?k .
?k ns:award.award_nomination.nominated_for ns:m.0_tkj0m .
?c ns:people.deceased_person.cause_of_death ?x .
}

Whitney Houston
people.deceased_person.cause_of_death
Drowning

Whitney Houston
people.deceased_person.cause_of_death
Coronary artery disease

Whitney Houston
people.deceased_person.cause_of_death
Cocaine overdose


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.languages_spoken ns:m.03c2hkf .
?c ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0xbm)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0xbm ns:sports.sports_award_winner.awards ?y .
?y ns:sports.sports_award.season ?x .
?y ns:sports.sports_award.award ns:m.02_p0 .
?x ns:time.event.next_in_series ns:m.03wbzvj .
}

2001–02 FA Cup
time.event.next_in_series
2002–03 FA Cup


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.0bdxs5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bdxs5 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.release_date_s ?c .
?c ns:film.film_regional_release_date.release_date ?num .
}
ORDER BY DESC(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.office_holder ns:m.02mpx1 .
?c ns:location.country.form_of_government ?x .
}

Fiji
location.country.form_of_government
Military dictatorship

Fiji
location.country.form_of_government
Parliamentary republic

Fiji
location.country.form_of_government
Military junta


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.06bnz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06bnz ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.iso_numeric ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0v03fkp .
?c ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.04306rv)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04306rv ns:language.human_language.countries_spoken_in ?x .
?x ns:location.country.official_language ns:m.01vp3n .
}

South Africa
location.country.official_language
Sotho language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.07s6gb8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07s6gb8 ns:location.location.containedby ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.basic_title ns:m.04nlks .
}

Giza Necropolis
location.location.containedby
Egypt


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:periodicals.newspaper_circulation_area.newspapers ns:m.08fgv5 .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.060c4 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2011-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2011-01-01"^^xsd:dateTime) })
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.0839rh .
?c ns:location.country.languages_spoken ?x .
}

Bahamas
film.film_location.featured_in_films
Holiday in the Sun

Bahamas
location.country.languages_spoken
English Language

Bahamas
location.country.languages_spoken
Bahamas Creole English Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0jzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jzc ns:language.human_language.countries_spoken_in ?x .
?x ns:location.country.iso_numeric "012" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:book.author.book_editions_published ns:m.04vht7q .
?c ns:people.deceased_person.place_of_death ?x .
}

Thomas Jefferson
book.author.book_editions_published
The Jefferson Bible

Thomas Jefferson
people.deceased_person.place_of_death
Charlottesville


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.0y4tmzz .
?c ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.from ?sk0} ||
EXISTS {?y ns:sports.sports_team_roster.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.to ?sk2} ||
EXISTS {?y ns:sports.sports_team_roster.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.059dn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.059dn ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:location.statistical_region.size_of_armed_forces ?c .
?c ns:measurement_unit.dated_integer.number "102400" .
}

North Atlantic Treaty Organization (NATO)


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y2,?x,?y1
WHERE {

    ns:m.09b69 ns:location.location.contains ?y1 .  # Eastern Europe
    ?y1 ns:common.topic.notable_types ns:m.01mp .   # Country
    ?y1 ns:location.statistical_region.religions ?y2 .
    ?y2 ns:location.religion_percentage.religion ?x .?x ns:film.film_subject.films ns:m.0bwfp64 .
}

Eastern Europe
location.location.contains
?y1  # Eastern Europe

Second Polish Republic
common.topic.notable_types
m.01mp   # Country

Judaism
film.film_subject.films
Lies My Father Told Me


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0g8lsf)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0g8lsf ns:location.location.containedby ?x .
?x ns:location.location.people_born_here ns:g.113qbkxt0 .
}

Colorado
location.location.people_born_here
Gary Hinman


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0yfp)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0yfp ns:influence.influence_node.influenced_by ?x .
?x ns:people.person.religion ns:m.01spm .
}

Arthur Miller
influence.influence_node.influenced_by
William Shakespeare

William Shakespeare
people.person.religion
Church of England


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.052bw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.052bw ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.structure.opened ?num .
}
ORDER BY ?num LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0yb0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0yb0 ns:influence.influence_node.influenced_by ?x .
?x ns:influence.influence_node.peers ?c .
?c ns:influence.peer_relationship.peers ns:m.018dlc .
}

Antoni Gaudí
influence.influence_node.influenced_by
William Morris


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.059dn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.059dn ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.basic_title ns:m.04043ys .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0gxbjfc .
?c ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.04ztj .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0jzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jzc ns:language.human_language.countries_spoken_in ?x .
?x ns:fictional_universe.fictional_setting.fictional_characters_born_here ns:m.06f_q7 .
}


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

South Africa
location.country.languages_spoken
South African English

South Africa
location.country.currency_used
South African rand


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.01pr9kj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01pr9kj ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
?x ns:tv.tv_program.number_of_seasons ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.085gk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.085gk ns:influence.influence_node.influenced_by ?x .
?x ns:people.person.date_of_birth "1770-08-27"^^xsd:dateTime .
}

Walt Whitman
influence.influence_node.influenced_by
Georg Wilhelm Friedrich Hegel


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.06npd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06npd ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:religion.religious_leadership_jurisdiction.leader ?c .
?c ns:religion.religious_organization_leadership.start_date "2011-03-27"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.04yd0fh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04yd0fh ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.runtime ?c .
?c ns:film.film_cut.runtime "100.0" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.political_district.elections ns:m.05207d4 .
?c ns:government.governmental_jurisdiction.official_symbols ?y .
?y ns:location.location_symbol_relationship.symbol ?x .
?y ns:location.location_symbol_relationship.Kind_of_symbol ns:m.0j749 .
}

United States Senate election in Kentucky, 2010


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:biology.breed_origin.breeds_originating_here ns:m.04049n .
?c ns:location.country.currency_used ?x .
}

Kenya
location.country.currency_used
Kenyan shilling


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.06bnz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06bnz ns:location.country.form_of_government ?x .
?x ns:government.form_of_government.countries ns:m.015fr .
}

Russia
location.country.form_of_government
Federal republic

Federal republic
government.form_of_government.countries
Brazil

Russia
location.country.form_of_government
Constitutional republic

Constitutional republic
government.form_of_government.countries
Brazil


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.languages_spoken ns:m.02hwl5z .
?c ns:location.country.languages_spoken ?x .
}

Afghanistan
location.country.languages_spoken
Farsi, Eastern Language

Afghanistan
location.country.languages_spoken
Pashto language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0jzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jzc ns:language.human_language.countries_spoken_in ?x .
?x ns:fictional_universe.fictional_setting.universe ns:m.0ndbcwn .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:celebrities.celebrity.legal_entanglements ?k .
?k ns:celebrities.legal_entanglement.location ns:m.059rby .
?c ns:music.group_member.instruments_played ?x .
}

Johnny Depp
music.group_member.instruments_played
Guitar

Johnny Depp
music.group_member.instruments_played
Slide guitar


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:symbols.coat_of_arms_bearer.coat_of_arms_used ?k .
?k ns:symbols.armorial_grant.coat_of_arms ns:m.02wkvz .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.060c4 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2011-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2011-01-01"^^xsd:dateTime) })
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.0jzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jzc ns:language.human_language.countries_spoken_in ?x .
?x ns:location.country.calling_code ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0g8lsf)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0g8lsf ns:location.location.containedby ?x .
?x ns:location.statistical_region.co2_emissions_commercial ?c .
?c ns:location.co2_emission.emissions "0.013745448" .
}

Littleton
location.location.containedby
Douglas County


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:book.author.book_editions_published ns:m.04vs2vw .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hn6 .
}

Bill Clinton
book.author.book_editions_published
Mi Vida

Hot Springs High School
common.topic.notable_types
School


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:food.beer_country_region.beers_from_here ns:m.04dqmxs .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.060c4 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2011-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2011-01-01"^^xsd:dateTime) })
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0flw86)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0flw86 ns:religion.religion.texts ?x .
?x ns:book.written_work.subjects ns:m.03hf62 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.political_appointer.appointees ?k .
?k ns:government.government_position_held.office_position_or_title ns:m.05ftbwf .
?c ns:government.us_president.vice_president ?x .
}

Barack Obama
government.us_president.vice_president
Joe Biden


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.085gk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.085gk ns:influence.influence_node.influenced_by ?x .
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.to "1842"^^xsd:dateTime .
}

Walt Whitman
influence.influence_node.influenced_by
Abraham Lincoln


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x
WHERE {
FILTER (?x != ns:m.052bw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.052bw ns:travel.travel_destination.tourist_attractions ?x .
?x ns:exhibitions.exhibition_venue.exhibitions_at_this_venue ?c .
?c ns:exhibitions.exhibition_run.opened_on ?num .
FILTER (?num > "2008-05-24"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.040000)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.040000 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.university.number_of_undergraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
FILTER (xsd:integer(?num) < 22128) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.07gvx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07gvx ns:religion.religion.texts ?x .
?x ns:influence.influence_node.influenced ns:m.03_qp4 .
}

Taoism
religion.religion.texts
Zhuang Zhou

Zhuang Zhou
influence.influence_node.influenced
Liang Qichao


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.office_position_or_title ns:m.0bf4w_z .
?c ns:location.country.official_language ?x .
}

Hungary
location.country.official_language
Hungarian language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.office_position_or_title ns:m.02zllx .
?c ns:location.country.official_language ?x .
}

Chairman of the Communist Party of China

China
location.country.official_language
Standard Chinese


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.03djm)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03djm ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:education.university.number_of_postgraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1

Iowa State University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:biology.breed_origin.breeds_originating_here ns:m.0229mb .
?c ns:location.statistical_region.places_exported_to ?y .
?y ns:location.imports_and_exports.exported_to ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.0165v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0165v ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:location.country.iso_numeric ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:food.beer_country_region.beers_from_here ns:m.04dqg5r .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.060c4 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2011-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2011-01-01"^^xsd:dateTime) })
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.08k5jg)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.08k5jg ns:people.ethnicity.languages_spoken ?x .
?x ns:language.human_language.main_country ns:m.03rt9 .
}

Navajo people
people.ethnicity.languages_spoken
English Language

English Language
language.human_language.main_country
Republic of Ireland


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0754d6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0754d6 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.release_date_s ?c .
?c ns:film.film_regional_release_date.film_release_distribution_medium ns:m.02nxhr .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:food.beer_country_region.beers_from_here ns:m.04dqq6g .
?c ns:location.country.currency_used ?x .
}

South Africa
location.country.currency_used
South African rand


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0bdxs5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bdxs5 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.release_date_s ?c .
?c ns:film.film_regional_release_date.release_date "2003-12-25"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.01509d)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01509d ns:book.author.works_written ?x .
?x ns:book.written_work.date_of_first_publication ?num .
FILTER (?num > "1980-10"^^xsd:dateTime) .
}

Emily Dickinson
book.author.works_written
New poems of Emily Dickinson

Emily Dickinson
book.author.works_written
Emily Dickinson's open folios

Emily Dickinson
book.author.works_written
Emily Dickinson's herbarium


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01727v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01727v ns:music.musical_group.member ?y .
?y ns:music.group_membership.member ?x .
?x ns:film.music_contributor.film ns:m.09v50zp .
}

Sacha Puttnam
film.music_contributor.film
The Keeper


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0_6_9t7 .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.jurisdiction_of_office ?x .
?y ns:government.government_position_held.basic_title ns:m.0fkvn .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.03nr7mp .
?c ns:location.country.currency_used ?x .
}

Vietnam
film.film_location.featured_in_films
Vietnam, Long Time Coming

Vietnam
location.country.currency_used
Vietnamese dong


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:event.public_speaker.speeches_or_presentations ?k .
?k ns:event.speech_or_presentation.speech_topic ns:m.04lxyz0 .
?c ns:celebrities.celebrity.sexual_relationships ?y .
?y ns:celebrities.romantic_relationship.celebrity ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.05djw1)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05djw1 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:organization.organization.date_founded ?num .
FILTER (?num < "1884"^^xsd:dateTime) .
}

Johns Hopkins University
common.topic.notable_types
College/University

Gettysburg College
common.topic.notable_types
College/University


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
    {
      SELECT ?x (COUNT(?x) as ?count)
      WHERE {
          ns:m.02_p0 ns:sports.sports_award_type.winners ?y .
          ?y ns:sports.sports_award.award_winner ?x .
      }
    }
    {
      SELECT (MAX(?count) AS ?maxCount)
      WHERE {
        SELECT ?x (COUNT(?x) as ?count)
        WHERE {
          ns:m.02_p0 ns:sports.sports_award_type.winners ?y .
          ?y ns:sports.sports_award.award_winner ?x .
        }
      }
    }
    FILTER (?maxCount = ?count)?x ns:award.award_nominee.award_nominations ?c .
?c ns:award.award_nomination.ceremony ns:m.0yqd2sb .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.085gk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.085gk ns:influence.influence_node.influenced_by ?x .
?x ns:government.political_appointer.appointees ?c .
?c ns:government.government_position_held.basic_title ns:m.0789n .
}

Walt Whitman
influence.influence_node.influenced_by
Abraham Lincoln


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.02wccty .
?c ns:travel.travel_destination.tourist_attractions ?x .
}

Seattle
film.film_location.featured_in_films
Boy Culture


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.currency_formerly_used ns:m.06c6b6 .
?c ns:sports.sport_country.athletic_performances ?y .
?y ns:sports.competitor_competition_relationship.competitors ?x .
}

Kenya
location.country.currency_formerly_used
East African shilling


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.016yzz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.016yzz ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
FILTER(NOT EXISTS {?y ns:people.place_lived.end_date ?sk0} ||
EXISTS {?y ns:people.place_lived.end_date ?sk1 .
FILTER(xsd:datetime(?sk1) >= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:people.place_lived.start_date ?sk2} ||
EXISTS {?y ns:people.place_lived.start_date ?sk3 .
FILTER(xsd:datetime(?sk3) <= "2015-08-10"^^xsd:dateTime) })
?x ns:topic_server.population_number ?num .
FILTER (xsd:integer(?num) < 599000) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x
WHERE {
FILTER (?x != ns:m.0d9jr)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d9jr ns:travel.travel_destination.tourist_attractions ?x .
?x ns:exhibitions.exhibition_venue.exhibitions_at_this_venue ?c .
?c ns:exhibitions.exhibition_run.opened_on ?num .
FILTER (?num > "2008-10-24"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.governmental_body ns:m.014y6q .
?c ns:location.country.currency_used ?x .
}

Sweden
location.country.currency_used
Swedish krona


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.01xvb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01xvb ns:sports.professional_sports_team.draft_picks ?y .
?y ns:sports.sports_league_draft_pick.player ?x .
?x ns:american_football.football_player.passing ?c .
?c ns:american_football.player_passing_statistics.completions ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.06npd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06npd ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.iso_numeric ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.06hrk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06hrk ns:organization.organization_founder.organizations_founded ?x .
?x ns:business.asset.owners ?c .
?c ns:business.asset_ownership.owner ns:m.0sxdg .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.0_6t_z8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0_6t_z8 ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:location.statistical_region.size_of_armed_forces ?c .
?c ns:measurement_unit.dated_integer.number ?num .
FILTER (xsd:integer(?num) < 35736) .
}