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

Charles Darwin
film.film_subject.films
The Darwin Adventure


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.05c10yf)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05c10yf 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 "1848"^^xsd:dateTime .
}

University of Wisconsin-Madison
common.topic.notable_types
College/University


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

Ukraine
location.country.languages_spoken
Romanian Language

Romanian Language
language.human_language.iso_639_3_code
"ron"


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.04jt3l2 .
?c ns:base.popstra.celebrity.religion ?y .
?y ns:base.popstra.religion_choice.religion ?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:food.beer_country_region.beers_from_here ns:m.04dqpck .
?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:periodicals.newspaper_circulation_area.newspapers ns:m.0308md .
?c ns:location.location.time_zones ?x .
}

Hilo
location.location.time_zones
Hawaii-Aleutian Time Zone


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:meteorology.cyclone_affected_area.cyclones ns:m.05v49n9 .
?c ns:location.country.capital ?x .
}

South Korea
location.country.capital
Seoul


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

The Social Network
film.film.soundtrack
The Social Network


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.031pqh .
?c ns:location.country.form_of_government ?x .
}

Peru
location.country.form_of_government
Presidential system

Peru
location.country.form_of_government
Unitary state

Peru
location.country.form_of_government
Constitutional republic


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?y,?x
WHERE {
FILTER (?x != ns:m.0345h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0345h 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 .
}
ORDER BY xsd:integer(?num) LIMIT 1


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

The Perks of Being a Wallflower
film.film.edited_by
Mary Jo Markey


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.form_of_government ?x .
?x ns:government.form_of_government.countries ?c .
?c ns:type.object.name "Kingdom of Prussia"@en .
}

Japan
location.country.form_of_government
Constitutional monarchy

Constitutional monarchy
government.form_of_government.countries
Kingdom of Prussia

Kingdom of Prussia
type.object.name
"Kingdom of Prussia"@en


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

The Number 23
film.film.directed_by
Joel Schumacher


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?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.04vd_wg .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
}

J. R. R. Tolkien
book.author.book_editions_published
Unfinished Tales


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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.04306rv .
?x ns:topic_server.population_number ?num .
FILTER (xsd:integer(?num) < 9153489) .
}

Luxembourg
location.country.official_language
German Language

Switzerland
location.country.official_language
German Language

Austria
location.country.official_language
German Language

Liechtenstein
location.country.official_language
German Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.042zz0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.042zz0 ns:film.film_character.portrayed_in_films ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.special_performance_type ns:m.02nsjvf .
?x ns:film.actor.dubbing_performances ?c .
?c ns:film.dubbing_performance.character ns:m.0hg35kz .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.06mkj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mkj ns:sports.sports_team_location.teams ?x .
?x ns:award.award_nominee.award_nominations ?c .
?c ns:award.award_nomination.award ns:m.0d999y .
}

Spain
sports.sports_team_location.teams
Spain national football team

Laureus World Sports Award for Team of the Year


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0d3k14)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d3k14 ns:people.person.sibling_s ?y .
?y ns:people.sibling_relationship.sibling ?x .
?x ns:people.person.gender ns:m.05zppz .
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.basic_title ns:m.0f6c3 .
}

Robert F. Kennedy
people.person.gender
Male


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.09b69)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.09b69 ns:location.location.contains ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.location.contains ns:g.120m1fjn .
}

Eastern Europe
location.location.contains
Romania

Romania
location.location.contains
Foleştii de Jos, Vâlcea


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.0h3thp_ .
?c ns:base.locations.countries.continent ?x .
}

Bahamas
base.locations.countries.continent
North America


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.018t67)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.018t67 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_undergraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1

McGill University
common.topic.notable_types
College/University


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

I have always depended on the kindness of strangers.

University of Missouri
common.topic.notable_types
College/University

University of Iowa
common.topic.notable_types
College/University

Washington University in St. Louis
common.topic.notable_types
College/University

The New School
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?y,?x
WHERE {
FILTER (?x != ns:m.0345h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0345h 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.calling_code ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1

Czech Republic
common.topic.notable_types
Country


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.048kbz9 .
?c ns:people.person.place_of_birth ?x .
}

Forgive your enemies, but never forget their names.

John F. Kennedy
people.person.place_of_birth
Brookline


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:common.topic.image ns:m.02brjt7 .
?c ns:symbols.name_source.namesakes ?x .
}

Joseph John Thomson
symbols.name_source.namesakes
Thomson scattering

Joseph John Thomson
symbols.name_source.namesakes
Thomson problem


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.018t67)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.018t67 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_undergraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
FILTER (xsd:integer(?num) > 7814) .
}

Columbia University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.04ykz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04ykz ns:location.location.partially_contained_by ?y .
?y ns:location.partial_containment_relationship.partially_contained_by ?x .
?x ns:government.governmental_jurisdiction.official_symbols ?c .
?c ns:location.location_symbol_relationship.symbol ns:m.01bx84 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.02ktrs)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02ktrs ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:location.location.containedby ns:m.05mph .
}

Langston University
location.location.containedby
Oklahoma


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:time.participant.event ns:m.09gnk2r .
?c ns:sports.sports_team.championships ?x .
?x ns:time.event.end_date ?sk0 .
}
ORDER BY DESC(xsd:datetime(?sk0))
LIMIT 1

San Francisco Giants
time.participant.event
2010 World Series

San Francisco Giants
sports.sports_team.championships
2014 World Series


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:common.topic.image ns:m.03tmx8l .
?c ns:base.biblioness.bibs_location.country ?x .
}

The Montelbaanstoren (1512) on the Oude Schans


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.05c10yf)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05c10yf ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:location.location.containedby ns:m.0fvyg .
}

North Carolina State University
common.topic.notable_types
College/University

North Carolina State University
location.location.containedby
Raleigh


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.05nrg)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05nrg ns:location.location.contains ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:topic_server.population_number ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1

Oceania
location.location.contains
Pitcairn Islands

Pitcairn Islands
common.topic.notable_types
Country


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?x,?c,?y,?z
WHERE {
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.0crs07t .
?c ns:people.person.parents ?y .
?y ns:people.person.gender ns:m.05zppz . #Male
?y ns:sports.pro_athlete.teams ?z .
?z ns:sports.sports_team_roster.team ?x .
}

NFL Super Bowl XLIV Champions: New Orleans Saints

Peyton Manning
people.person.parents
Archie Manning

Archie Manning
people.person.gender
Male


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0f2y0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f2y0 ns:film.film_character.portrayed_in_films ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.special_performance_type ns:m.02nsjvf .
?x ns:film.producer.films_executive_produced ns:m.0ng0d9f .
}

Zac Efron
film.producer.films_executive_produced
That Awkward Moment


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film.starring ?k .
?k ns:film.performance.actor ns:m.06rnl9 .
?c ns:film.film.starring ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.character ns:m.03ttl .
}

Indiana Jones and the Raiders of the Lost Ark


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0d3k14)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d3k14 ns:people.person.sibling_s ?y .
?y ns:people.sibling_relationship.sibling ?x .
?x ns:people.person.gender ns:m.05zppz .
?x ns:people.deceased_person.place_of_burial ns:m.0lbp_ .
}

Ted Kennedy
people.deceased_person.place_of_burial
Arlington National Cemetery

Robert F. Kennedy
people.person.gender
Male

Robert F. Kennedy
people.deceased_person.place_of_burial
Arlington National Cemetery


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?y,?x,?z
WHERE {
ns:m.027jv8 ns:people.person.parents ?y .
?y ns:people.person.gender ns:m.05zppz . #Male
?y ns:sports.pro_athlete.teams ?z .
?z ns:sports.sports_team_roster.team ?x .?x ns:sports.sports_team.founded ?num .
FILTER (?num < "1967"^^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.second_level_divisions ns:m.02869mk .
?c ns:location.country.currency_used ?x .
}

Dominican Republic
location.country.second_level_divisions
Salcedo

Dominican Republic
location.country.currency_used
Dominican peso


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0d3k14)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d3k14 ns:people.person.sibling_s ?y .
?y ns:people.sibling_relationship.sibling ?x .
?x ns:people.person.gender ns:m.05zppz .
?x ns:people.person.quotations ns:m.048fmp7 .
}

Those who dare to fail miserably can achieve greatly.


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

United Kingdom
location.country.languages_spoken
English Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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_xjkg3 .
?c ns:film.actor.film ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.film ns:m.0ddt_ .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?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.0gt7nx .
?c ns:location.statistical_region.religions ?y .
?y ns:location.religion_percentage.religion ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.0c6qh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0c6qh ns:celebrities.celebrity.sexual_relationships ?y .
?y ns:celebrities.romantic_relationship.celebrity ?x .
?y ns:celebrities.romantic_relationship.relationship_type ns:m.02_7k44 .
?x ns:celebrities.celebrity.sexual_relationships ?c .
?c ns:celebrities.romantic_relationship.end_date ?num .
FILTER (?num > "1988"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.quotations ns:m.048kbz9 .
?c ns:people.person.sibling_s ?y .
?y ns:people.sibling_relationship.sibling ?x .
?x ns:people.person.gender ns:m.05zppz .
}

Forgive your enemies, but never forget their names.

Joseph P. Kennedy, Jr.
people.person.gender
Male


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.0h543gt .
?c ns:base.aareas.schema.administrative_area.capital ?x .
}

Victoria
film.film_location.featured_in_films
The Squatter's Daughter


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

Jonas Brothers: The Concert Experience
film.film.edited_by
Michael Tronick


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.02n9k)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02n9k 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 "3565" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.07fbnf)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07fbnf ns:sports.sports_league.teams ?y .
?y ns:sports.sports_league_participation.team ?x .
?x ns:sports.sports_team.founded "1965"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.0_lmq6d .
?c ns:location.location.time_zones ?x .
}

Illinois
location.location.time_zones
Central Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?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.03rhlt .
?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.04627gn .
}

Hawaii
film.film_location.featured_in_films
Blue Hawaii


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.01428y .
?c ns:location.country.currency_used ?x .
}

Jamaica
location.country.languages_spoken
Jamaican English

Jamaica
location.country.currency_used
Jamaican dollar


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

Faroese
language.human_language.main_country
Faroe Islands


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

Hannah Montana: The Movie
film.film.featured_song
The Climb


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.0dq_h2 .
?c ns:people.person.education ?y .
?y ns:education.education.major_field_of_study ?x .
}

Under Secretary of Defense for Personnel and Readiness


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.048h1y5 .
?c ns:people.person.profession ?x .
}

Francis Bacon
people.person.quotations
God's first creature, which was light.

Francis Bacon
people.person.profession
Spy

Francis Bacon
people.person.profession
Scientist

Francis Bacon
people.person.profession
Philosopher

Francis Bacon
people.person.profession
Author

Francis Bacon
people.person.profession
Statesman


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

A good GI bill would increase the recruit pool.


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
	FILTER (?x != ns:m.0d05w3)
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_exported_to ?y .
	  ?y ns:location.imports_and_exports.exported_to ?x .
	}
	UNION
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_imported_from ?y .
	  ?y ns:location.imports_and_exports.imported_from ?x .
	}?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.basic_title ns:m.010gdkhz .
}


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.0crsj9s .
?c ns:people.person.place_of_birth ?x .
}

George Washington's First War: The Battles for Fort Duquesne

George Washington
people.person.place_of_birth
Westmoreland County


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

A Beautiful Mind
film.film.featured_song
All Love Can Be


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.02zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02zjd ns:influence.influence_node.influenced_by ?x .
?x ns:book.book_subject.works ns:m.04w3q9s .
}

F. Scott Fitzgerald
influence.influence_node.influenced_by
John Keats

John Keats
book.book_subject.works
Keats: A Biography


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01vvy)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01vvy ns:music.artist.genre ?x .
?x ns:film.film_subject.films ns:m.02qhd5h .
}

Claude Debussy
music.artist.genre
Ballet

Ballet
film.film_subject.films
Alice in Wonderland


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

F. Scott Fitzgerald
influence.influence_node.influenced_by
T. S. Eliot

Business today consists in persuading crowds.


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.0j7k_yv .
?c ns:location.country.national_anthem ?y .
?y ns:government.national_anthem_of_a_country.anthem ?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.012vsp1k .
?c ns:people.person.place_of_birth ?x .
}

Kim Kardashian
film.film_subject.films
Kim Kardashian: Evolution

Kim Kardashian
people.person.place_of_birth
Los Angeles


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.07ssc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07ssc ns:base.aareas.schema.administrative_area.administrative_children ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.governmental_body ns:m.03ljr .
}


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
	FILTER (?x != ns:m.0d05w3)
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_exported_to ?y .
	  ?y ns:location.imports_and_exports.exported_to ?x .
	}
	UNION
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_imported_from ?y .
	  ?y ns:location.imports_and_exports.imported_from ?x .
	}?x ns:food.beer_country_region.beers_from_here ns:m.04dqc0g .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.057yk8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.057yk8 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.subjects ns:m.0587vh .
}

Children of Men
film.film.subjects
Human extinction


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.02114t)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02114t ns:base.popstra.celebrity.dated ?y .
?y ns:base.popstra.dated.participant ?x .
?x ns:sports.pro_athlete.sports_played_professionally ?c .
?c ns:sports.pro_sports_played.career_end "2014"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
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.directed_by ns:m.02z02cx .
}

So Undercover
film.film.directed_by
Tom Vaughan


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.041rx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.041rx ns:people.ethnicity.languages_spoken ?x .
?x ns:language.human_language.iso_639_3_code "fra" .
}

Jewish people
people.ethnicity.languages_spoken
French


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?y,?x
WHERE {
FILTER (?x != ns:m.0345h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0345h 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 != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:food.beer_country_region.beers_from_here ns:m.04dqvzy .
?c ns:location.country.languages_spoken ?x .
}

Denmark
location.country.languages_spoken
German Language

Denmark
location.country.languages_spoken
Danish Language

Denmark
location.country.languages_spoken
Greenlandic language


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

Village of the Giants
film.film.subjects
Child prodigy


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.09d8j2 .
?c ns:location.country.languages_spoken ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.06mkj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mkj ns:sports.sports_team_location.teams ?x .
?x ns:sports.sports_team.founded ?num .
}
ORDER BY ?num LIMIT 1

Spain
sports.sports_team_location.teams
Spain national football team


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.0_s65gv .
?c ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
}

United Kingdom
common.topic.notable_types
Country


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.02v_csk .
?c ns:location.country.currency_used ?x .
}

Russia
location.country.currency_used
Russian ruble


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0f8l9c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f8l9c ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:food.beer_country_region.beers_from_here ns:m.04dq961 .
}


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.04dqvz1 .
?c ns:location.country.currency_used ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0c6qh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0c6qh ns:celebrities.celebrity.sexual_relationships ?y .
?y ns:celebrities.romantic_relationship.celebrity ?x .
?y ns:celebrities.romantic_relationship.relationship_type ns:m.02_7k44 .
?x ns:people.person.religion ns:m.092bf5 .
}

Thandie Newton
people.person.religion
Buddhism


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.01gvts .
?c ns:location.location.time_zones ?x .
}

Tucson
film.film_location.featured_in_films
Alice Doesn't Live Here Anymore

Tucson
location.location.time_zones
Mountain Time Zone


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.012hg3 .
?c ns:location.country.languages_spoken ?x .
}

Denmark
location.country.second_level_divisions
Høje-Taastrup Municipality


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?k,?x,?c,?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.0gxh6cf .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.initial_release_date ?sk0 .
}
ORDER BY DESC(xsd:datetime(?sk0))
LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.0hnc2_2 .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.educational_institution.school_type ns:m.0bpgx .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?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.05p65p4 .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.office_position_or_title ns:m.0m57hp6 .
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) })
}

Panama
film.film_location.featured_in_films
The Naked and the Dead


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.07_m9_)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07_m9_ ns:people.person.parents ?x .
?x ns:people.deceased_person.date_of_death ?num .
}
ORDER BY ?num LIMIT 1

Adolf Hitler
people.person.parents
Alois Hitler


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.0dz9by .
?c ns:location.location.time_zones ?x .
}

Toronto
film.film_location.featured_in_films
Shoot 'Em Up

Toronto
location.location.time_zones
Eastern Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.0pz91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0pz91 ns:film.producer.film ?x .
?x ns:film.film.initial_release_date ?num .
FILTER (?num < "2015-04-17"^^xsd:dateTime) .
}

Adam Sandler
film.producer.film
You Don't Mess with the Zohan

Adam Sandler
film.producer.film
Grown Ups 2

Adam Sandler
film.producer.film
The Benchwarmers

Adam Sandler
film.producer.film
The House Bunny

Adam Sandler
film.producer.film
That's My Boy

Adam Sandler
film.producer.film
Bedtime Stories

Adam Sandler
film.producer.film
I Now Pronounce You Chuck and Larry

Adam Sandler
film.producer.film
Eight Crazy Nights

Adam Sandler
film.producer.film
Just Go With It

Adam Sandler
film.producer.film
Bucky Larson: Born to Be a Star

Adam Sandler
film.producer.film
Paul Blart: Mall Cop

Adam Sandler
film.producer.film
Zookeeper

Adam Sandler
film.producer.film
Jack and Jill

Adam Sandler
film.producer.film
Deuce Bigalow: European Gigolo

Adam Sandler
film.producer.film
Dickie Roberts: Former Child Star


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0c4y8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0c4y8 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:organization.organization.headquarters ?c .
?c ns:location.mailing_address.citytown ns:m.02_286 .
}

The New School
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.0rph1pv .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?y ns:education.education.degree ns:m.019v9k .
}

Belmont University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.0cc9gnj .
?c ns:location.country.languages_spoken ?x .
}

Netherlands
location.country.languages_spoken
Dutch Language

Netherlands
location.country.languages_spoken
Frisian languages

Netherlands
location.country.languages_spoken
West Flemish


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.072nky .
?c ns:location.location.time_zones ?x .
}

Illinois
location.location.time_zones
Central Time Zone


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.0czhnw .
?c ns:location.country.form_of_government ?x .
}

Israel
location.country.form_of_government
Parliamentary system


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.018t67)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.018t67 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_undergraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1

McGill University Faculty of Medicine
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x
WHERE {
FILTER (?x != ns:m.01hf7f)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01hf7f ns:base.culturalevent.event.entity_involved ?x .
?x ns:government.political_appointer.appointees ?c .
?c ns:government.government_position_held.from ?num .
}
ORDER BY ?num LIMIT 1


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

Cyprus
location.country.languages_spoken
Cypriot Maronite Arabic

Cypriot Maronite Arabic
language.human_language.iso_639_3_code
"acy"


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

Eclipse
film.film.directed_by
David Slade


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0g2lq)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0g2lq 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.07z4p .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.02114t)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02114t ns:base.popstra.celebrity.dated ?y .
?y ns:base.popstra.dated.participant ?x .
?x ns:film.producer.film ns:m.02q5d_y .
}


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.0xnx1xs .
?c ns:location.country.form_of_government ?x .
}

Iran
location.country.form_of_government
Presidential system

Iran
location.country.form_of_government
Parliamentary system

Iran
location.country.form_of_government
Unitary state

Iran
location.country.form_of_government
Islamic republic


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
	{
	  # Film
	  ns:m.0534r8 ns:film.film_character.portrayed_in_films ?y .
	  ?y ns:film.performance.actor ?x .
	  ?y ns:film.performance.special_performance_type ns:m.02nsjvf . #voice
	}
	UNION
	{
	  # TV
	  ns:m.0534r8 ns:tv.tv_character.appeared_in_tv_program ?y .
	  ?y ns:tv.regular_tv_appearance.actor ?x .
	}?x ns:award.award_nominee.award_nominations ?c .
?c ns:award.award_nomination.award ns:m.02qyp19 .
}

BAFTA Award for Best Original Screenplay


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.04306rv .
?x ns:location.country.iso3166_1_alpha2 "AT" .
}

Austria
location.country.official_language
German Language


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

Percy Jackson & the Olympians: The Lightning Thief


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.04f1s6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04f1s6 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.edited_by ns:g.1hb_h5fs2 .
}

What Women Want
film.film.edited_by
Thomas J. Nordberg


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?num,?x
WHERE {
FILTER (?x != ns:m.018qjq)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.018qjq ns:location.location.partially_containedby ?x .
?x ns:base.biblioness.bibs_location.loc_type ?sk0 .
FILTER (str(?sk0) = "State")
?x ns:topic_server.population_number ?num .
FILTER (xsd:integer(?num) < 965000) .
}

Colorado River
location.location.partially_containedby
Nevada

Colorado River
location.location.partially_containedby
Colorado

Colorado River
location.location.partially_containedby
Arizona


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.03d243x .
?c ns:base.biblioness.bibs_location.state ?x .
}

Toronto
film.film_location.featured_in_films
Saw V


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
	FILTER (?x != ns:m.0d05w3)
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_exported_to ?y .
	  ?y ns:location.imports_and_exports.exported_to ?x .
	}
	UNION
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_imported_from ?y .
	  ?y ns:location.imports_and_exports.imported_from ?x .
	}?x ns:location.country.iso_numeric "024" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0pz91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0pz91 ns:film.producer.film ?x .
?x ns:media_common.netflix_title.netflix_genres ns:m.018jz .
}

Adam Sandler
film.producer.film
The Benchwarmers


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.020bkmh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.020bkmh ns:location.location.contains ?x .
?x ns:architecture.structure.opened "1966"^^xsd:dateTime .
}

Laughlin
location.location.contains
Riverside Resort Hotel & Casino


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.02vvy0r .
?c ns:location.location.time_zones ?x .
}

Nashville
music.lyricist.lyrics_written
Just Walkin' in the Rain

Nashville
location.location.time_zones
Central Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0pz91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0pz91 ns:film.producer.film ?x .
?x ns:film.film.directed_by ns:m.027c824 .
}

Click
film.film.directed_by
Frank Coraci

Adam Sandler
film.producer.film
Zookeeper

Zookeeper
film.film.directed_by
Frank Coraci

Blended
film.film.directed_by
Frank Coraci


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.048c4m_ .
?c ns:people.person.profession ?x .
}

Francis Bacon
people.person.quotations
Mysteries are due to secrecy.

Francis Bacon
people.person.profession
Spy

Francis Bacon
people.person.profession
Scientist

Francis Bacon
people.person.profession
Philosopher

Francis Bacon
people.person.profession
Author

Francis Bacon
people.person.profession
Statesman


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0261m)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0261m ns:location.location.contains ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.official_language ns:m.02bv9 .
}

Caribbean
location.location.contains
Netherlands Antilles

Netherlands Antilles
common.topic.notable_types
Country

Netherlands Antilles
location.country.official_language
Dutch Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.0nf3642 .
?c ns:people.person.place_of_birth ?x .
}

Avril Lavigne
people.person.place_of_birth
Belleville


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.languages_spoken ns:m.038h82 .
?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.0fkx3 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "1948-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) >= "1948-01-01"^^xsd:dateTime) })
}

Soviet Union
location.country.languages_spoken
Chuvash Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.quotations ns:m.048jwrf .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.district_represented ?x .
?x ns:location.location.containedby ns:m.08csr .
}

John Adams
people.person.quotations
Genius is sorrow's child.

Province of Massachusetts Bay
location.location.containedby
Thirteen Colonies


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

Haiti
location.country.languages_spoken
Haitian Creole

Haitian Creole
language.human_language.iso_639_1_code
"ht"


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0dq9wx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0dq9wx ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:location.place_with_neighborhoods.neighborhoods ns:m.01dbsj .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?y,?x
WHERE {
FILTER (?x != ns:m.057yk8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.057yk8 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


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x,?z
WHERE {
ns:m.027jv8 ns:people.person.parents ?y .
?y ns:people.person.gender ns:m.05zppz . #Male
?y ns:sports.pro_athlete.teams ?z .
?z ns:sports.sports_team_roster.team ?x .?x ns:sports.sports_team.founded "1961"^^xsd:dateTime .
}

Peyton Manning
people.person.parents
Archie Manning

Archie Manning
people.person.gender
Male


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.041h0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.041h0 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


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
	FILTER (?x != ns:m.0d05w3)
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_exported_to ?y .
	  ?y ns:location.imports_and_exports.exported_to ?x .
	}
	UNION
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_imported_from ?y .
	  ?y ns:location.imports_and_exports.imported_from ?x .
	}?x ns:fictional_universe.fictional_setting.universe ns:m.010qv_79 .
}


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

Adam Sandler
film.producer.film
Eight Crazy Nights


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.0gfqtlb .
?c ns:people.person.place_of_birth ?x .
}

Anne Hathaway
people.person.place_of_birth
Brooklyn


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.057yk8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.057yk8 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 "2002-10-18"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.0d3k14)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d3k14 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) < 2416) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.09bg4l)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.09bg4l 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_undergraduates ?c .
?c ns:measurement_unit.dated_integer.number "9381" .
}

University of Missouri–Kansas City
common.topic.notable_types
College/University


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?x,?c,?y,?z
WHERE {
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.0cs1n29 .
?c ns:people.person.parents ?y .
?y ns:people.person.gender ns:m.05zppz . #Male
?y ns:sports.pro_athlete.teams ?z .
?z ns:sports.sports_team_roster.team ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.country.internet_tld ns:m.03t1q4 .
}


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

James Baldwin
people.person.quotations
The future is... black.


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.08g4m_ .
?c ns:location.location.containedby ?x .
}

Kentucky
location.location.containedby
Contiguous United States

Kentucky
location.location.containedby
United States, with Territories

Kentucky
location.location.containedby
United States of America


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.05f4_4z .
?c ns:location.country.currency_used ?x .
}

Egypt
location.country.currency_used
Egyptian pound


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.041h0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.041h0 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 "30477" .
}


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.052bm8 .
?c ns:location.country.form_of_government ?x .
}

Israel
location.country.form_of_government
Parliamentary system


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.0262vrv .
?c ns:people.person.education ?y .
?y ns:education.education.major_field_of_study ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.042zz0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.042zz0 ns:film.film_character.portrayed_in_films ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.special_performance_type ns:m.02nsjvf .
?x ns:film.actor.film ?c .
?c ns:film.performance.film ns:m.02hds1 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
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.01vgy5b .
}

Sex and the City 2
film.film.music
Aaron Zigman

The Last Song
film.film.music
Aaron Zigman


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.0c4y8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0c4y8 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_undergraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
FILTER (xsd:integer(?num) > 23799) .
}

University of Missouri
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.0419kt .
?c ns:base.locations.countries.continent ?x .
}

Bahamas
film.film_location.featured_in_films
Speed 2: Cruise Control

Bahamas
base.locations.countries.continent
North America


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.0b6gsfk .
?c ns:location.country.currency_used ?x .
}

Costa Rica
location.country.currency_used
Costa Rican colón


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.048kkrd .
?c ns:people.deceased_person.place_of_death ?x .
}

Richard Nixon
people.person.quotations
The sky is no longer the limit.

Richard Nixon
people.deceased_person.place_of_death
New York City


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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.04306rv .
?x ns:location.country.calling_code ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1

Liechtenstein
location.country.official_language
German Language


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

Children of Men
film.film.film_production_design_by
Geoffrey Kirkland


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0345h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0345h ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:military.military_combatant.casualties ?c .
?c ns:military.casualties.military_conflict ns:m.018w0j .
}


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.010ylg25 .
?c ns:people.person.profession ?x .
}

Martin Luther
music.lyricist.lyrics_written
Aus tiefer Not schrei ich zu dir

Martin Luther
people.person.profession
Theologian

Martin Luther
people.person.profession
Professor

Martin Luther
people.person.profession
Writer

Martin Luther
people.person.profession
Physician

Martin Luther
people.person.profession
Priest

Martin Luther
people.person.profession
Monk


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0bwfn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bwfn ns:organization.organization.founders ?x .
?x ns:people.deceased_person.place_of_burial ns:m.0dclg .
}

New York University
organization.organization.founders
Mordecai Manuel Noah

Mordecai Manuel Noah
people.deceased_person.place_of_burial
Philadelphia


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


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

Hannah Montana: The Movie
film.film.written_by
Dan Berendsen


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.05ywnck .
?c ns:people.deceased_person.place_of_death ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.02ktrs)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02ktrs ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.school.nces_school_id "170993000588" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.0dl567)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0dl567 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,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.languages_spoken ns:m.04pp56 .
?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.03w9bnr .
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) })
}

Cambodia
location.country.languages_spoken
Cambodian French


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.0gfdfx2 .
?c ns:music.artist.origin ?x .
}

Franz Ferdinand
music.composer.compositions
What She Came For

Franz Ferdinand
music.artist.origin
Glasgow


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

The Lorax
film.film.directed_by
Chris Renaud


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

Wharton School of the University of Pennsylvania

Sometimes your best investments are the ones you don't make.


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?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.statistical_region.religions ?y .
?y ns:location.religion_percentage.religion ?x .
}

Afghanistan
location.country.languages_spoken
Farsi, Eastern Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0cns5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0cns5 ns:travel.tourist_attraction.near_travel_destination ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.basic_title ns:m.0pqc5 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.0b7by0q .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
}

The Twilight Saga: Breaking Dawn - Part 1

The Twilight Saga: Breaking Dawn - Part 2


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.0d3k14)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d3k14 ns:people.person.sibling_s ?y .
?y ns:people.sibling_relationship.sibling ?x .
?x ns:people.person.gender ns:m.05zppz .
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.to ?num .
FILTER (?num > "1968-06-06"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0345h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0345h 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.legislative_sessions ns:m.0jwr0l1 .
}


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.0dl7n7f .
?c ns:base.popstra.celebrity.dated ?y .
?y ns:base.popstra.dated.participant ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0713r)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0713r ns:sports.sports_team.championships ?x .
?x ns:sports.sports_championship_event.runner_up ns:m.049n7 .
}

San Francisco Giants
sports.sports_team.championships
2014 World Series


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.07l4_nv .
?c ns:symbols.namesake.named_after ?x .
}

Melbourne
film.film_location.featured_in_films
The Loved Ones

Melbourne
symbols.namesake.named_after
William Lamb, 2nd Viscount Melbourne


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?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.0h3ww2v .
?c ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
}

United Kingdom
common.topic.notable_types
Country


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?to,?start,?from,?end,?num,?x,?c,?y
WHERE {
  ns:m.081pw ns:time.event.start_date ?start ;
             ns:time.event.end_date ?end .
  ?x ns:government.politician.government_positions_held  ?y .
  ?y ns:government.government_position_held.office_position_or_title ns:m.060d2 ; # President of the United States
     ns:government.government_position_held.from  ?from ;
     ns:government.government_position_held.to  ?to .
  FILTER (?from < ?end)
  FILTER (?to > ?start)?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.to ?num .
FILTER (?num > "1945-04-12"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.0vmt)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0vmt 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) <= "2009-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) >= "2009-01-01"^^xsd:dateTime) })
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.to ?num .
}
ORDER BY ?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:food.beer_country_region.beers_from_here ns:m.04dmw8t .
?c ns:location.country.capital ?x .
}

South Korea
location.country.capital
Seoul


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.07bcn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07bcn ns:travel.travel_destination.tourist_attractions ?x .
?x ns:geography.lake.lake_type ns:m.093shy .
}

Folsom Lake
geography.lake.lake_type
Reservoir


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

Fury
film.film.film_set_decoration_by
Barry Greaves


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.0t_b243 .
?c ns:people.deceased_person.cause_of_death ?x .
}

Dale Earnhardt
people.deceased_person.cause_of_death
Basilar skull fracture

Dale Earnhardt
people.deceased_person.cause_of_death
Racing Accident


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.027wrkn .
?c ns:base.biblioness.bibs_location.country ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?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.04tpy8q .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
}

Eleanor Roosevelt
book.author.book_editions_published
You learn by living


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.040db .
}

Taoism
religion.religion.texts
Zhuang Zhou

Zhuang Zhou
influence.influence_node.influenced
Jorge Luis Borges


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.0c4y8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0c4y8 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) < 6439) .
}

The New School
common.topic.notable_types
College/University

Washington University in St. Louis
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:periodicals.newspaper_circulation_area.newspapers ns:m.03p5wp .
?c ns:location.country.languages_spoken ?x .
}

Netherlands
location.country.languages_spoken
Dutch Language

Netherlands
location.country.languages_spoken
Frisian languages

Netherlands
location.country.languages_spoken
West Flemish


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.048jc3k .
?c ns:base.inaugurations.inauguration_speaker.inauguration ?x .
}

Abraham Lincoln 1861 presidential inauguration

Abraham Lincoln 1865 presidential inauguration

Seriously, I do not think I fit for the presidency.


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.02rr40y .
?c ns:location.country.form_of_government ?x .
}

Iraq
location.country.form_of_government
Parliamentary republic

Iraq
location.country.form_of_government
Parliamentary system

Iraq
location.country.form_of_government
Federal republic


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:fictional_universe.fictional_character.children ns:m.0n_j89f .
?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.01xnj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01xnj ns:influence.influence_node.influenced_by ?x .
?x ns:people.deceased_person.date_of_death "1863-08-13"^^xsd:dateTime .
}

Claude Monet
influence.influence_node.influenced_by
Eugène Delacroix


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

Tupac Shakur
music.composer.compositions
Papa'z Song


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.07ldhs)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07ldhs 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 ?num LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?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.04306rv .
?x ns:location.statistical_region.size_of_armed_forces ?c .
?c ns:measurement_unit.dated_integer.number ?num .
FILTER (xsd:integer(?num) < 39200) .
}

Switzerland
location.country.official_language
German Language

Belgium
location.country.official_language
German Language

Luxembourg
location.country.official_language
German Language

Austria
location.country.official_language
German 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:location.country.languages_spoken ns:m.0g5tm .
?c ns:location.country.form_of_government ?x .
}

Iraq
location.country.languages_spoken
Syriac 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:people.person.quotations ns:m.048jrqw .
?c ns:influence.influence_node.influenced_by ?x .
}

F. Scott Fitzgerald
people.person.quotations
Her voice is full of money.

F. Scott Fitzgerald
influence.influence_node.influenced_by
R. D. Blackmore

F. Scott Fitzgerald
influence.influence_node.influenced_by
Sherwood Anderson

F. Scott Fitzgerald
influence.influence_node.influenced_by
John Keats

F. Scott Fitzgerald
influence.influence_node.influenced_by
Oswald Spengler

F. Scott Fitzgerald
influence.influence_node.influenced_by
Edith Wharton

F. Scott Fitzgerald
influence.influence_node.influenced_by
T. S. Eliot

F. Scott Fitzgerald
influence.influence_node.influenced_by
Shane Leslie

F. Scott Fitzgerald
influence.influence_node.influenced_by
Sara Murphy


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.0wq0vzw .
?c ns:location.country.languages_spoken ?x .
}

Ukraine
film.film_location.featured_in_films
Three Stories of Galicia

Ukraine
location.country.languages_spoken
Romanian Language

Ukraine
location.country.languages_spoken
Hungarian language

Ukraine
location.country.languages_spoken
Russian Language

Ukraine
location.country.languages_spoken
Ukrainian Language

Ukraine
location.country.languages_spoken
Albanian language

Ukraine
location.country.languages_spoken
Moldovan language

Ukraine
location.country.languages_spoken
Tatar Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0pz91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0pz91 ns:film.producer.film ?x .
?x ns:film.film.language ns:m.02bv9 .
}

Adam Sandler
film.producer.film
Deuce Bigalow: European Gigolo

Deuce Bigalow: European Gigolo
film.film.language
Dutch Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?y,?x
WHERE {
FILTER (?x != ns:m.07fbnf)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07fbnf ns:sports.sports_league.teams ?y .
?y ns:sports.sports_league_participation.team ?x .
?x ns:sports.sports_team.founded ?num .
}
ORDER BY DESC(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0bwfn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bwfn ns:organization.organization.founders ?x .
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.legislative_sessions ns:m.01grpc .
}

New York University
organization.organization.founders
Albert Gallatin


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.048hg08 .
?c ns:people.person.profession ?x .
}

War is too important a matter to be left to the military.

Georges Clémenceau
people.person.profession
Writer

Georges Clémenceau
people.person.profession
Journalist

Georges Clémenceau
people.person.profession
Physician

Georges Clémenceau
people.person.profession
Publisher

Georges Clémenceau
people.person.profession
Statesman


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?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.statistical_region.places_exported_to ?y .
?y ns:location.imports_and_exports.exported_to ?x .
?x ns:location.administrative_division.country ns:m.0j1z8 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0f8l9c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f8l9c ns:military.military_combatant.casualties ?y .
?y ns:military.casualties.military_conflict ?x .
?x ns:film.film_subject.films ns:m.01j5ql .
}

Gulf War
film.film_subject.films
Courage Under Fire


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.019g32 .
?c ns:people.deceased_person.place_of_death ?x .
}

J. D. Salinger
people.deceased_person.place_of_death
Cornish


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0vmt)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0vmt 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) <= "2009-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) >= "2009-01-01"^^xsd:dateTime) })
?x ns:government.political_appointer.appointees ?c .
?c ns:government.government_position_held.from "2009-01-26"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.09p2vs .
?c ns:location.country.currency_used ?x .
}

Brazil
location.country.currency_used
Brazilian real


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
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.subjects ns:m.048n7 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.0563wd .
?c ns:location.country.official_language ?x .
}

Egypt
location.country.official_language
Modern Standard Arabic


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0pz91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0pz91 ns:film.producer.film ?x .
?x ns:film.film.cinematography ns:m.027t8fw .
}

Adam Sandler
film.producer.film
I Now Pronounce You Chuck and Larry

I Now Pronounce You Chuck and Larry
film.film.cinematography
Dean Semler

Click
film.film.cinematography
Dean Semler

Adam Sandler
film.producer.film
Paul Blart: Mall Cop 2

Paul Blart: Mall Cop 2
film.film.cinematography
Dean Semler


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.0c_f_h .
?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,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_subject.films ns:m.05h4nz9 .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
}

John F. Kennedy
film.film_subject.films
An American Affair


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

Barack Obama
film.film_subject.films
Obama Anak Menteng


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

United States of America
location.country.form_of_government
Presidential system

Presidential system
government.form_of_government.countries
Bolivia


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

Anne Frank
film.film_subject.films
The Diary of Anne Frank


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.048k067 .
?c ns:people.person.place_of_birth ?x .
}

Who is rich? He that rejoices in his portion.

Benjamin Franklin
people.person.place_of_birth
Boston


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.0zxv5hk .
?c ns:people.person.place_of_birth ?x .
}

Jay-Z
music.composer.compositions
Can I Live II


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.04dq9zk .
?c ns:location.location.containedby ?x .
}

Belgium
location.location.containedby
Western Europe


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
	FILTER (?x != ns:m.0d05w3)
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_exported_to ?y .
	  ?y ns:location.imports_and_exports.exported_to ?x .
	}
	UNION
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_imported_from ?y .
	  ?y ns:location.imports_and_exports.imported_from ?x .
	}?x ns:location.administrative_division.country ns:m.0j1z8 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.09tl5m .
?c ns:people.person.place_of_birth ?x .
}

Anne Hathaway
people.person.place_of_birth
Brooklyn


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0bwfn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bwfn ns:organization.organization.founders ?x .
?x ns:book.author.works_written ns:m.06bp7vx .
}

New York University
organization.organization.founders
Albert Gallatin

Albert Gallatin
book.author.works_written
A Vocabulary of Seneca


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.featured_artist.recordings ns:m.0v_yzky .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?y ns:education.education.degree ns:m.019v9k .
}

Brad Paisley
music.featured_artist.recordings
Hot Rod Heart

Belmont University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
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.020h2v .
}

The Last Song
film.film.production_companies
Touchstone Pictures


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.09c1mpz .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.jurisdiction_of_office ?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.02dlcb .
?c ns:base.biblioness.bibs_location.state ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_subject.films ns:m.02vtrqx .
?c ns:book.periodical_editor.periodicals_edited ?y .
?y ns:book.editorial_tenure.periodical ?x .
}

Edgar Allan Poe
film.film_subject.films
The Raven


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.0c1fbxk .
?c ns:location.hud_county_place.county ?x .
}

Houston
location.hud_county_place.county
Montgomery County


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.08l257)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.08l257 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 "1975-03-21"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0pz91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0pz91 ns:film.producer.film ?x .
?x ns:film.film.produced_by ns:m.01p8_0v .
}

Adam Sandler
film.producer.film
Deuce Bigalow: European Gigolo

Deuce Bigalow: European Gigolo
film.film.produced_by
John Schneider


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.06mkj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mkj ns:sports.sports_team_location.teams ?x .
?x ns:sports.sports_team.founded ?num .
FILTER (?num > "1994"^^xsd:dateTime) .
}

Spain
sports.sports_team_location.teams
Basket Zaragoza 2002

Spain
sports.sports_team_location.teams
San Sebastián Gipuzkoa BC

Spain
sports.sports_team_location.teams
Ros Casares Valencia


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?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.national_anthem ?y .
?y ns:government.national_anthem_of_a_country.anthem ?x .
}

Russia
location.country.languages_spoken
Tsakhur Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0cb2r)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0cb2r ns:film.film_character.portrayed_in_films ?y .
?y ns:film.performance.actor ?x .
?x ns:people.deceased_person.cause_of_death ns:m.02qg4h .
}

Richard Harris
people.deceased_person.cause_of_death
Hodgkin's lymphoma


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

Knights of the Roundtable: King Arthur
film.film.cinematography
John Mathieson


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.07ldhs)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07ldhs ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:media_common.netflix_title.netflix_genres ns:m.01jfsb .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0f4vbz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f4vbz ns:film.director.film ?x .
?x ns:film.film.executive_produced_by ns:m.0d4_x9 .
}

Angelina Jolie
film.director.film
Unbroken

Unbroken
film.film.executive_produced_by
Mick Garris


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0f2y0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f2y0 ns:film.film_character.portrayed_in_films ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.special_performance_type ns:m.02nsjvf .
?x ns:book.author.works_written ns:m.067z76z .
}

James Earl Jones
book.author.works_written
Voices and silences


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
	{
	  # Film
	  ns:m.0534r8 ns:film.film_character.portrayed_in_films ?y .
	  ?y ns:film.performance.actor ?x .
	  ?y ns:film.performance.special_performance_type ns:m.02nsjvf . #voice
	}
	UNION
	{
	  # TV
	  ns:m.0534r8 ns:tv.tv_character.appeared_in_tv_program ?y .
	  ?y ns:tv.regular_tv_appearance.actor ?x .
	}?x ns:people.person.profession ns:m.018gz8 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.03gh3x4 .
?c ns:film.producer.film ?x .
}

Adam Sandler
film.producer.film
You Don't Mess with the Zohan

Adam Sandler
film.producer.film
Grown Ups 2

Adam Sandler
film.producer.film
The Benchwarmers

Adam Sandler
film.producer.film
The House Bunny

Adam Sandler
film.producer.film
That's My Boy

Adam Sandler
film.producer.film
Bedtime Stories

Adam Sandler
film.producer.film
I Now Pronounce You Chuck and Larry

Adam Sandler
film.producer.film
Eight Crazy Nights

Adam Sandler
film.producer.film
Paul Blart: Mall Cop 2

Adam Sandler
film.producer.film
Just Go With It

Adam Sandler
film.producer.film
Bucky Larson: Born to Be a Star

Adam Sandler
film.producer.film
Zookeeper

Adam Sandler
film.producer.film
Jack and Jill

Adam Sandler
film.producer.film
Deuce Bigalow: European Gigolo

Adam Sandler
film.producer.film
Joe Dirt 2: Beautiful Loser

Adam Sandler
film.producer.film
Dickie Roberts: Former Child Star

Adam Sandler
film.producer.film
Valet Guys


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.048g5hc .
?c ns:people.person.profession ?x .
}

Martin Luther
people.person.quotations
Forgiveness is God's command.

Martin Luther
people.person.profession
Theologian

Martin Luther
people.person.profession
Professor

Martin Luther
people.person.profession
Writer

Martin Luther
people.person.profession
Physician

Martin Luther
people.person.profession
Priest

Martin Luther
people.person.profession
Monk


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0f4vbz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f4vbz ns:film.director.film ?x .
?x ns:film.film.genre ns:m.02822 .
}

Angelina Jolie
film.director.film
In the Land of Blood and Honey

In the Land of Blood and Honey
film.film.genre
Drama

Angelina Jolie
film.director.film
Unbroken


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?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.059q7h7 .
?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.060bp .
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 ?num,?x
WHERE {
FILTER (?x != ns:m.0f4vbz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f4vbz ns:film.director.film ?x .
?x ns:film.film.initial_release_date ?num .
FILTER (?num > "2011-12-22"^^xsd:dateTime) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.02114t)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02114t ns:base.popstra.celebrity.dated ?y .
?y ns:base.popstra.dated.participant ?x .
?x ns:film.actor.film ?c .
?c ns:film.performance.film ns:m.010pch65 .
}


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

In this Revolution no plans have been written for retreat.


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.government ns:m.0czhnw .
?c ns:location.statistical_region.religions ?y .
?y ns:location.religion_percentage.religion ?x .
?y ns:location.religion_percentage.percentage ?sk0 .
}
ORDER BY DESC(xsd:float(?sk0))
LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0f4vbz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f4vbz ns:film.director.film ?x .
?x ns:film.film.produced_by ns:m.026tlzp .
}

Unbroken
film.film.produced_by
Erwin Stoff


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
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.0gvv85q .
?c ns:base.biblioness.bibs_location.state ?x .
}