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

Cuba
location.country.currency_used
Cuban convertible peso

Cuba
location.country.currency_used
Cuban peso


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.featured_film_locations ns:m.03pptb .
}

Race to Witch Mountain
film.film.featured_film_locations
Agua Dulce


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.starring ?c .
?c ns:film.performance.actor ns:g.1q5jc2v5d .
}

Adam Sandler
film.producer.film
Grown Ups


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.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:music.featured_artist.recordings ns:m.0nrtr4 .
?c ns:people.person.place_of_birth ?x .
}

Victoria Beckham
music.featured_artist.recordings
Out of Your Mind (10º Below dub)

Victoria Beckham
people.person.place_of_birth
Harlow


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.04d1wb0 .
?c ns:people.person.children ?x .
}

Beyoncé Knowles
people.person.children
Blue Ivy


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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.netflix_id ?num .
FILTER (xsd:integer(?num) > 70099113) .
}

The Twilight Saga: Breaking Dawn - Part 1


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_set_decoration_by ns:m.03nq_0f .
}

Cold Mountain
film.film.film_set_decoration_by
Francesca Lo Schiavo


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.08g_7h .
?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 ?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.language_family ns:m.0140kd .
}

Denmark
location.country.languages_spoken
Danish Language

Danish Language
language.human_language.language_family
North Germanic languages

Faroese
language.human_language.language_family
North Germanic languages


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.other_crew ?c .
?c ns:film.film_crew_gig.crewmember ns:m.010q1b7n .
}


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.film ns:g.11b6gq6dl2 .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
}


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.official_symbols ?k .
?k ns:location.location_symbol_relationship.symbol ns:m.0g5c_7 .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.0fkvn .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
}


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

Jackson Pollock
influence.influence_node.influenced_by
Pablo Picasso


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.film_set_decoration_by ns:m.054nb65 .
}

The Whiz Kid and the Mystery at Riverton

Escape to Witch Mountain
film.film.film_set_decoration_by
Hal Gausman


#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.arena_stadium ns:m.01jdrn .
}

Peyton Manning
people.person.parents
Archie Manning

Archie Manning
people.person.gender
Male

Minnesota Vikings
sports.sports_team.arena_stadium
Hubert H. Humphrey Metrodome


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.story_by ns:m.02zppv .
}

Escape to Witch Mountain
film.film.story_by
Alexander Key

Return from Witch Mountain
film.film.story_by
Alexander Key

Race to Witch Mountain
film.film.story_by
Alexander Key


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:event.speech_topic.speeches_or_presentations_on_this_topic ?c .
?c ns:event.speech_or_presentation.speaker_s ns:m.08ngt5v .
}

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:food.beer_country_region.beers_from_here ns:g.1hb_g2v0p .
?c ns:location.country.form_of_government ?x .
}

Israel
location.country.form_of_government
Parliamentary system


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:location.country.second_level_divisions ns:m.01_yjb .
}


#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:location.statistical_region.places_exported_to ?c .
?c ns:location.imports_and_exports.exported_to ns:m.01crd5 .
}


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.country.second_level_divisions ns:m.0nh2lk0 .
}

Eastern Europe
location.location.contains
Bulgaria

Bulgaria
location.country.second_level_divisions
Tsarevo municipality


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.production_companies ns:m.011c89gh .
}

Percy Jackson: Sea of Monsters
film.film.production_companies
TSG Entertainment


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.governing_officials ?c .
?c ns:government.government_position_held.basic_title ns:m.01k4ps .
}


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:film.film_story_contributor.film_story_credits ns:m.03np63f .
}

F. Scott Fitzgerald
influence.influence_node.influenced_by
Edith Wharton


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

Jackson Pollock
influence.influence_node.influenced_by
John D. Graham


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

Martin Luther King, Jr.
music.featured_artist.recordings
Freedom Dub

Martin Luther King, Jr.
people.deceased_person.place_of_death
Memphis


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.initial_release_date "2002-11-27"^^xsd:dateTime .
}

Adam Sandler
film.producer.film
Eight Crazy Nights


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.calling_code "240" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.0md6f)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0md6f ns:location.location.events ?x .
?x ns:time.event.included_in_event ns:m.081pw .
?x ns:time.event.end_date ?num .
FILTER (?num > "1940-06-04"^^xsd:dateTime) .
}

Dunkirk
location.location.events
Siege of Dunkirk

Siege of Dunkirk
time.event.included_in_event
World War 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:location.country.languages_spoken ns:m.0565hv .
?c ns:location.country.languages_spoken ?x .
}

Chile
location.country.languages_spoken
Rapa Nui Language

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
Puquina Language


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

Vietnam
location.country.form_of_government
Communist state

Vietnam
location.country.form_of_government
Single-party state

Vietnam
location.country.form_of_government
Socialist state


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0498y)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0498y ns:location.location.containedby ?x .
?x ns:location.country.second_level_divisions ns:m.01348w .
}

Kentucky
location.location.containedby
United States, with Territories

United States, with Territories
location.country.second_level_divisions
Mayagüez


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.07pzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07pzc ns:base.popstra.celebrity.dated ?y .
?y ns:base.popstra.dated.participant ?x .
?x ns:award.award_nominee.award_nominations ?c .
?c ns:award.award_nomination.ceremony ns:m.05b_35f .
}


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_death ns:m.01qcx_ .
}

New York University
organization.organization.founders
Albert Gallatin

Albert Gallatin
people.deceased_person.place_of_death
Astoria


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.release_date_s ?c .
?c ns:film.film_regional_release_date.film_regional_debut_venue ns:m.0bgflh0 .
}

2009 Mar del Plata International Film Festival


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:organization.organization.headquarters ?c .
?c ns:location.mailing_address.citytown ns:m.0bxqq .
}


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

Acting President of the Dominican Republic

Dominican Republic
location.country.currency_used
Dominican peso


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.initial_release_date ?num .
}
ORDER BY ?num LIMIT 1

The Whiz Kid and the Mystery at Riverton


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.film ns:m.0b1ywz .
?c ns:people.person.children ?x .
}

Walt Disney
people.person.children
Sharon Mae Disney

Walt Disney
people.person.children
Diane Disney Miller


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:people.deceased_person.cause_of_death ns:m.01k9gb .
}

Ulysses S. Grant
people.deceased_person.cause_of_death
Esophageal cancer


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.statistical_region.size_of_armed_forces ?c .
?c ns:measurement_unit.dated_integer.number "104000" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.genre ?c .
?c ns:type.object.name "Animation"@en .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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:organization.organization.date_founded ?num .
FILTER (?num < "1887"^^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.048jflm .
?c ns:book.periodical_editor.periodicals_edited ?y .
?y ns:book.editorial_tenure.periodical ?x .
}

Edgar Allan Poe
people.person.quotations
Mournful and Never-ending Remembrance.


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.deceased_person.place_of_burial ns:m.03f7dm .
}

F. Scott Fitzgerald
influence.influence_node.influenced_by
John Keats

John Keats
people.deceased_person.place_of_burial
Protestant Cemetery, Rome


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.0d6_s .
?c ns:film.director.film ?x .
}

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

Angelina Jolie
film.director.film
Unbroken

Angelina Jolie
film.director.film
By the Sea

Angelina Jolie
film.director.film
A Place in Time


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

Haiti
location.country.second_level_divisions
Les Cayes Arrondissement

Haiti
location.country.languages_spoken
Haitian Creole


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

Eastern Europe
location.location.contains
Bulgaria

Eastern Europe
location.location.contains
Moldova

Eastern Europe
location.location.contains
Georgia


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.film ns:m.03gvmg3 .
?c ns:government.us_president.vice_president ?x .
}

Recognition of the Japanese Zero Fighter

Ronald Reagan
government.us_president.vice_president
George H. W. Bush


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:award.award_nominated_work.award_nominations ?c .
?c ns:award.award_nomination.notes_description "The entire cast"@en .
}


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:location.location.street_address ?k .
?k ns:location.mailing_address.citytown ns:m.0gqkx .
?c ns:common.topic.notable_for ?y .
?y ns:common.notable_for.notable_object ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.starring ?c .
?c ns:film.performance.actor ns:m.0127m7 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.01ct6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01ct6 ns:sports.sports_team.championships ?x .
?x ns:sports.sports_championship_event.championship ns:m.06x5s .
?x ns:time.event.end_date ?num .
}
ORDER BY ?num LIMIT 1

Baltimore Ravens
sports.sports_team.championships
Super Bowl XXXV


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.0h2r6rj .
?c ns:people.deceased_person.cause_of_death ?x .
}

Corey Haim
people.deceased_person.cause_of_death
Drug overdose

Corey Haim
people.deceased_person.cause_of_death
Pneumonia


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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_postgraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1

University of Missouri–Kansas City
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:film.actor.film ?k .
?k ns:film.performance.film ns:m.0y5swt4 .
?c ns:people.person.place_of_birth ?x .
}

Kim Kardashian
people.person.place_of_birth
Los Angeles


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

Netherlands
location.country.languages_spoken
West Flemish

West Flemish
language.human_language.main_country
Belgium


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

Avril Lavigne
music.lyricist.lyrics_written
Unwanted

Avril Lavigne
people.person.place_of_birth
Belleville


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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 "1913"^^xsd:dateTime .
}

Spain
sports.sports_team_location.teams
Spain national football team


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.034hyc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.034hyc ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:kg.object_profile.prominent_type ns:location.location .
}


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:film.film.netflix_id ?num .
}
ORDER BY xsd:integer(?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:people.person.quotations ns:m.048k067 .
?c ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.01bl8s .
}

Who is rich? He that rejoices in his portion.


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.04v21dt .
?c ns:people.person.sibling_s ?y .
?y ns:people.sibling_relationship.sibling ?x .
?x ns:people.person.gender ns:m.05zppz .
}

John F. Kennedy
book.author.book_editions_published
Profiles in courage

Robert F. Kennedy
people.person.gender
Male

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.film_regional_debut_venue ns:g.1yg4l__fv .
}

The Twilight Saga: Breaking Dawn - Part 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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:organization.organization.date_founded ?num .
}
ORDER BY ?num LIMIT 1

Columbia University
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:food.beer_country_region.beers_from_here ns:m.04dqhqt .
?c ns:location.country.languages_spoken ?x .
}

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 ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.05kkh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05kkh 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) <= "2011-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2011-01-01"^^xsd:dateTime) })
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.to ?num .
FILTER (?num > "2001-01-03"^^xsd:dateTime) .
}


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?to,?start,?from,?end,?x,?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:people.deceased_person.date_of_death ?num .
}
ORDER BY ?num LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0rlz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0rlz ns:government.politician.party ?y .
?y ns:government.political_party_tenure.party ?x .
?x ns:government.political_party.ideology ns:m.01qrff .
}

Democratic Party
government.political_party.ideology
Third Way


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.0jmfb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jmfb ns:sports.sports_team.arena_stadium ?x .
?x ns:architecture.structure.opened ?num .
}
ORDER BY ?num LIMIT 1

Houston Rockets
sports.sports_team.arena_stadium
Lakewood Church Central Campus


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 DESC(?num) LIMIT 1

Spain
sports.sports_team_location.teams
Basket Zaragoza 2002


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.027rn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.027rn ns:location.country.languages_spoken ?x .
?x ns:fictional_universe.fictional_language.where_spoken ns:m.0hz__lj .
}

Dominican Republic
location.country.languages_spoken
Spanish Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.02lt8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02lt8 ns:book.periodical_editor.periodicals_edited ?y .
?y ns:book.editorial_tenure.periodical ?x .
?x ns:book.periodical.editorial_staff ?c .
?c ns:book.editorial_tenure.from "1839"^^xsd:dateTime .
}


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.other_crew ?c .
?c ns:film.film_crew_gig.crewmember ns:m.02lp3c .
}


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

Central America
location.location.contains
Panama


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?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:military.military_conflict.casualties ?c .
?c ns:military.casualties.lower_estimate ?num .
FILTER (xsd:integer(?num) > 2) .
}


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.04fvch .
?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.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.01hmnh .
}

Adam Sandler
film.producer.film
Bedtime Stories


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.currency_formerly_used ns:m.06666p .
?c ns:location.country.currency_used ?x .
}

Peru
location.country.currency_formerly_used
Peruvian inti

Peru
location.country.currency_used
Peruvian nuevo sol


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.03b92p .
?c ns:film.director.film ?x .
}

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

Angelina Jolie
film.director.film
Unbroken

Angelina Jolie
film.director.film
By the Sea

Angelina Jolie
film.director.film
A Place in Time


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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 ?num .
FILTER (xsd:integer(?num) < 9381) .
}

University of Missouri–Kansas City School of Law


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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_undergraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:location.location.people_born_here ?c .
?c ns:people.person.height_meters "1.78" .
}

Phoenix
location.location.people_born_here
Mitch Garcia

Phoenix
location.location.people_born_here
Nick DeLeon

Phoenix
location.location.people_born_here
Ted Purdy

Phoenix
location.location.people_born_here
David Gossett

Phoenix
location.location.people_born_here
Javier Loya

Phoenix
location.location.people_born_here
Eric Sogard

Phoenix
location.location.people_born_here
Jaff Decker

Phoenix
location.location.people_born_here
Dan Butler

Phoenix
location.location.people_born_here
Jon Levine

Phoenix
location.location.people_born_here
Chester Bennington

Phoenix
location.location.people_born_here
Shaun McDonald

Phoenix
location.location.people_born_here
Kalyn Keller

Phoenix
location.location.people_born_here
Mike Zaher

Phoenix
location.location.people_born_here
Josh Hansen

Phoenix
location.location.people_born_here
Anthony Troftgruben

Phoenix
location.location.people_born_here
Kaleb Germinaro

Phoenix
location.location.people_born_here
Kevin Jackson

Phoenix
location.location.people_born_here
Estevan Payan

Phoenix
location.location.people_born_here
Marquese Wheaton

Phoenix
location.location.people_born_here
Jaret Johnson

Phoenix
location.location.people_born_here
Reid Schmitt


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

Caribbean
location.location.contains
Saint Kitts and Nevis

Saint Kitts and Nevis
common.topic.notable_types
Country


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.edited_by ns:m.02q0jzx .
}

Angelina Jolie
film.director.film
Unbroken

Unbroken
film.film.edited_by
William Goldenberg


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.01f4yy)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01f4yy ns:tv.tv_program.regular_cast ?y .
?y ns:tv.regular_tv_appearance.actor ?x .
?y ns:tv.regular_tv_appearance.character ns:m.0j_84dv .
?x ns:people.person.profession ns:m.03gjzk .
}

David Joyner
people.person.profession
Television producer


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:influence.influence_node.peers ?c .
?c ns:influence.peer_relationship.peers ns:m.014bg9 .
}

Claude Monet
influence.influence_node.influenced_by
Stéphane Mallarmé


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.genre ?c .
?c ns:media_common.media_genre.child_genres ns:m.08phz7 .
}

Animation
media_common.media_genre.child_genres
Cartoon pornography

Adam Sandler
film.producer.film
Eight Crazy Nights

Eight Crazy Nights
film.film.genre
Animation


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01yqrk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01yqrk ns:people.person.nationality ?x .
?x ns:film.film_location.featured_in_films ns:m.0281q0c .
}

Steve Nash
people.person.nationality
Canada

Canada
film.film_location.featured_in_films
How She Move


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 .
FILTER (xsd:integer(?num) < 95) .
}


#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.calling_code ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


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.other_crew ?c .
?c ns:film.film_crew_gig.crewmember ns:m.04ktc43 .
}


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

Illinois
location.location.time_zones
Central Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:tv.tv_location.tv_episodes_filmed_here ns:m.06xlp5m .
}

Phoenix
tv.tv_location.tv_episodes_filmed_here
The Monkees on Tour


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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:celebrities.celebrity.sexual_relationships ?c .
?c ns:celebrities.romantic_relationship.end_date ?num .
}
ORDER BY DESC(?num) LIMIT 1


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.directed_by ns:m.025jbj .
}

The Courtship of Eddie's Father
film.film.directed_by
Vincente Minnelli


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.executive_produced_by ns:m.024t0y .
}

Deadfall
film.film.executive_produced_by
Mark Cuban


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_genre.films_in_this_genre ns:m.04_0n5z .
}

Claude Debussy
music.artist.genre
Ballet

Ballet
film.film_genre.films_in_this_genre
Suzanne Farrell: Elusive Muse


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:location.place_with_neighborhoods.neighborhoods ns:m.025_8qh .
}


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.currency_formerly_used ns:m.04l6w_ .
?c ns:location.country.languages_spoken ?x .
}

Ukraine
location.country.currency_formerly_used
Ukrainian karbovanets

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 ?num,?x
WHERE {
FILTER (?x != ns:m.0fhp9)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0fhp9 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.venue.capacity ?num .
FILTER (xsd:integer(?num) > 2100) .
}


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

Eat to please thyself, but dress to please others.

Benjamin Franklin
people.person.place_of_birth
Boston


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
	FILTER (?x != ns:m.01znc_)
	{
	  ns:m.01znc_ ns:location.statistical_region.places_exported_to ?y .
	  ?y ns:location.imports_and_exports.exported_to ?x .
	}
	UNION
	{
	  ns:m.01znc_ ns:location.statistical_region.places_imported_from ?y .
	  ?y ns:location.imports_and_exports.imported_from ?x .
	}?x ns:location.statistical_region.places_exported_to ?c .
?c ns:location.imports_and_exports.exported_to ns:m.035qy .
}


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

Argentina
location.country.currency_used
Argentine peso


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:fictional_universe.fictional_setting.characters_that_have_lived_here ns:m.0swpwrq .
}


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


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.religion ns:m.0n2g .
}

F. Scott Fitzgerald
influence.influence_node.influenced_by
John Keats

John Keats
people.person.religion
Anglicanism

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

T. S. Eliot
people.person.religion
Anglicanism


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.01yjl)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01yjl ns:sports.sports_team.arena_stadium ?x .
?x ns:architecture.venue.capacity ?num .
FILTER (xsd:integer(?num) < 41159) .
}

Chicago Cubs
sports.sports_team.arena_stadium
Hohokam Stadium


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.0fxnkq .
?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) })
}


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

Russia
location.country.languages_spoken
Tsakhur Language

Russia
location.country.currency_used
Russian ruble


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

Texas
location.location.time_zones
Central Time Zone

Tulsa
location.location.nearby_airports
Tulsa International Airport

Claremore
location.location.nearby_airports
Tulsa International Airport


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

Life of Franz Liszt
people.person.profession
Priest


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:fictional_universe.fictional_setting.fictional_characters_born_here ns:m.01ymlj .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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.venue.capacity ?num .
FILTER (xsd:integer(?num) > 1152) .
}


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

Martin Luther
people.person.profession
Priest


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.university.number_of_undergraduates ?c .
?c ns:measurement_unit.dated_integer.number "2331" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.04mjl)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04mjl ns:sports.sports_team.championships ?x .
?x ns:time.event.end_date ?num .
}
ORDER BY ?num LIMIT 1

Los Angeles Dodgers
sports.sports_team.championships
1959 World Series


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


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.netflix_id ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1


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.venue.capacity "800" .
}

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:book.author.book_editions_published ns:m.04v86lt .
?c ns:influence.influence_node.influenced_by ?x .
}

Langston Hughes
book.author.book_editions_published
Not Without Laughter (Thrift Edition)

Langston Hughes
influence.influence_node.influenced_by
Walt Whitman


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.05kkh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05kkh 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) <= "2011-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2011-01-01"^^xsd:dateTime) })
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.governmental_body ns:m.07t58 .
}


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

Cerveza Colonos Del Llanquihue Lager Premium Artesanal

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 ?num,?y,?x
WHERE {
FILTER (?x != ns:m.03l26m)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03l26m ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
FILTER(NOT EXISTS {?y ns:people.place_lived.end_date ?sk0} ||
EXISTS {?y ns:people.place_lived.end_date ?sk1 .
FILTER(xsd:datetime(?sk1) >= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:people.place_lived.start_date ?sk2} ||
EXISTS {?y ns:people.place_lived.start_date ?sk3 .
FILTER(xsd:datetime(?sk3) <= "2015-08-10"^^xsd:dateTime) })
?x ns:location.location.gnis_feature_id ?num .
FILTER (xsd:integer(?num) > 597040) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.075kfb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.075kfb ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
?x ns:tv.tv_program.number_of_seasons "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:geography.body_of_water.bridges ns:m.0fp_w3v .
?c ns:geography.river.origin ?x .
}

Volga River
geography.body_of_water.bridges
Kineshma Bridge

Volga River
geography.river.origin
Valdai Hills


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.0193nkf .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.educational_institution.school_type ns:m.0bpgx .
}

Trey Songz
music.featured_artist.recordings
Girl Tonight


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

Soviet Union
location.country.languages_spoken
Chuvash Language

Soviet Union
location.country.form_of_government
Communist state

Soviet Union
location.country.form_of_government
Parliamentary republic

Soviet Union
location.country.form_of_government
Socialist state

Soviet Union
location.country.form_of_government
Soviet democracy


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.0cq0r_ .
?c ns:government.politician.party ?y .
?y ns:government.political_party_tenure.party ?x .
}


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:media_common.dedicatee.dedications ?k .
?k ns:media_common.dedication.dedicated_by ns:m.07t31 .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.office_position_or_title ?x .
}

Member of Illinois House of Representatives


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.place_with_neighborhoods.neighborhoods ns:m.0gc92g .
?c ns:location.location.time_zones ?x .
}

Toronto
location.location.time_zones
Eastern Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0fhp9)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0fhp9 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.building.floors "50" .
}


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

Dominican Republic
location.country.languages_spoken
Haitian Creole

Haitian Creole
language.human_language.iso_639_3_code
"hat"


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:geography.river.origin ns:m.09z2vb .
?c ns:geography.river.mouth ?x .
}

River Shannon
geography.river.origin
Shannon Pot

River Shannon
geography.river.mouth
Shannon Estuary


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.other_crew ?c .
?c ns:film.film_crew_gig.crewmember ns:m.027y151 .
}

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01yjl)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01yjl ns:sports.sports_team.arena_stadium ?x .
?x ns:architecture.venue.capacity "41159" .
}

Chicago Cubs
sports.sports_team.arena_stadium
Wrigley Field


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0c8wxp)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0c8wxp ns:religion.religion.deities ?x .
?x ns:event.public_speaker.speeches_or_presentations ?c .
?c ns:event.speech_or_presentation.speech_topic ns:m.0709n .
}

Catholicism
religion.religion.deities
Jesus Christ


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.09c7w0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.09c7w0 ns:location.statistical_region.religions ?y .
?y ns:location.religion_percentage.religion ?x .
?x ns:film.film_genre.films_in_this_genre ns:m.0dgbzjj .
}

Christianity
film.film_genre.films_in_this_genre
First Class Discipleship


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.film_casting_director ns:m.03xk618 .
}

Valentine's Day
film.film.film_casting_director
Deborah Aquila


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


#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:film.producer.film ns:m.0wj9k9p .
}


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.genre ?c .
?c ns:organization.organization_sector.organizations_in_this_sector ns:m.010lbn79 .
}


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.0yhrqkd .
?c ns:film.film.starring ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.character ns:m.0gyp72m .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.02lt8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02lt8 ns:book.periodical_editor.periodicals_edited ?y .
?y ns:book.editorial_tenure.periodical ?x .
?x ns:book.periodical.editorial_staff ?c .
?c ns:book.editorial_tenure.from ?num .
FILTER (?num < "1841-02"^^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:media_common.dedicator.dedications ?k .
?k ns:media_common.dedication.work_dedicated ns:m.053wty .
?c ns:music.artist.genre ?x .
}

Claude Debussy
music.artist.genre
Classical music

Claude Debussy
music.artist.genre
Art song

Claude Debussy
music.artist.genre
Ballet

Claude Debussy
music.artist.genre
20th-century classical music

Claude Debussy
music.artist.genre
Incidental music

Claude Debussy
music.artist.genre
French opera


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.location.people_born_here ?c .
?c ns:american_football.football_player.position_s ns:m.03h42s4 .
}

Los Angeles
location.location.people_born_here
Reno Mahe

Los Angeles
location.location.people_born_here
DeSean Jackson

Los Angeles
location.location.people_born_here
Rashied Davis

Los Angeles
location.location.people_born_here
Dennis Northcutt

Los Angeles
location.location.people_born_here
Steve Broussard

Los Angeles
location.location.people_born_here
Johnny Williams

Los Angeles
location.location.people_born_here
Ron Brown

Los Angeles
location.location.people_born_here
Jon Arnett

Los Angeles
location.location.people_born_here
Glyn Milburn

Los Angeles
location.location.people_born_here
Az-Zahir Hakim

Los Angeles
location.location.people_born_here
Don Doll


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

Jay-Z
music.composer.compositions
Can I Live


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

Brazil
location.country.currency_used
Brazilian real


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

Purdue University
common.topic.notable_types
College/University


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:film.writer.film ns:m.0g584l .
}

Richard Harris
film.writer.film
Orion's Belt


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.government ns:m.05z01q3 .
?c ns:location.country.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.03ryn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03ryn ns:location.country.languages_spoken ?x .
?x ns:fictional_universe.fictional_language.found_in_fictional_universe ns:m.02s3gw .
}

Indonesia
location.country.languages_spoken
English Language


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.languages_spoken ns:m.012w70 .
}

China
location.country.languages_spoken
Yue Chinese


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_genre.films_in_this_genre ns:m.04j334b .
}

Claude Debussy
music.artist.genre
Ballet

Ballet
film.film_genre.films_in_this_genre
Black Tights


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.082db)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.082db ns:music.artist.genre ?x .
?x ns:music.genre.albums ns:m.0105s4cj .
}

Wolfgang Amadeus Mozart
music.artist.genre
Classical music

Classical music
music.genre.albums
Nightingale


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

Russia
location.country.languages_spoken
Chechen Language

Russia
location.country.currency_used
Russian ruble


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.026229y .
?c ns:base.popstra.celebrity.dated ?y .
?y ns:base.popstra.dated.participant ?x .
}

Tupac Shakur
music.composer.compositions
Still Ballin'


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:education.university.number_of_postgraduates ?c .
?c ns:measurement_unit.dated_integer.number "11756" .
}

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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 ?num .
}
ORDER BY DESC(?num) LIMIT 1


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.directed_by ns:m.0270lc6 .
}

Eat My Dust!
film.film.directed_by
Charles B. Griffith


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:music.genre.albums ns:m.010rcgyt .
}

Claude Debussy
music.artist.genre
Classical music

Classical music
music.genre.albums
Epica


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.0zflrd9 .
?c ns:film.film.starring ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.character ns:m.034qd2 .
}


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.0p19dm1 .
?c ns:film.film.starring ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.character ns:m.04hyh27 .
}


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.0zxdz2d .
?c ns:influence.influence_node.influenced_by ?x .
}

Langston Hughes
music.lyricist.lyrics_written
Street Scene: Lullaby

Langston Hughes
influence.influence_node.influenced_by
Walt Whitman


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

Argentina
film.film_location.featured_in_films
La hora de la siesta

Argentina
location.country.currency_used
Argentine peso


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?y,?x
WHERE {
FILTER (?x != ns:m.0ggp1n)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0ggp1n ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:organization.organization.date_founded ?num .
FILTER (?num > "1884"^^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:music.producer.releases_produced ns:m.0348bdx .
?c ns:film.actor.film ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.film ns:m.08w51z .
}

Tupac Shakur
music.producer.releases_produced
Strictly 4 My N.I.G.G.A.Z...


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.education ?y .
?y ns:education.education.institution ?x .
?x ns:book.periodical_publisher.periodicals_published ?c .
?c ns:book.periodical_publisher_period.periodical ns:m.01161 .
}


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.executive_produced_by ns:m.027w_fb .
}

Hannah Montana: The Movie
film.film.executive_produced_by
David Blocker


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.021yw7)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.021yw7 ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.character ?x .
?y ns:tv.regular_tv_appearance.special_performance_type ns:m.02nsjvf .
?x ns:fictional_universe.fictional_character.place_of_birth ns:m.06w3cw .
}


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.language_family ns:m.0140kd .
}

Denmark
location.country.languages_spoken
Danish Language

Danish Language
language.human_language.language_family
North Germanic languages

Faroese
language.human_language.language_family
North Germanic languages


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

Peru
location.country.currency_used
Peruvian nuevo sol


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.film_set_decoration_by ns:m.05bm37n .
}

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

I Now Pronounce You Chuck and Larry
film.film.film_set_decoration_by
Gary Fettis

Click
film.film.film_set_decoration_by
Gary Fettis


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.country ns:m.09c7w0 .
}

The Twilight Saga: Breaking Dawn - Part 2

Valentine's Day
film.film.country
United States of America

The Twilight Saga: New Moon
film.film.country
United States of America

Grown Ups 2
film.film.country
United States of America

The Ridiculous Six
film.film.country
United States of America

Eclipse
film.film.country
United States of America

The Twilight Saga: Breaking Dawn - Part 1

Tracers
film.film.country
United States of America

Twilight
film.film.country
United States of America

Cheaper by the Dozen 2
film.film.country
United States of America

The Adventures of Sharkboy and Lavagirl
film.film.country
United States of America

Abduction
film.film.country
United States of America

Shadow Fury
film.film.country
United States of America

Field of Dreams 2: Lockout
film.film.country
United States of America

Incarceron
film.film.country
United States of America

Northern Lights
film.film.country
United States of America

Run the Tide
film.film.country
United States of America


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

American University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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 "1988"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?c,?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:base.biblioness.bibs_location.loc_type ?sk0 .
FILTER (str(?sk0) = "Country")
?x ns:location.statistical_region.gdp_deflator_change ?c .
?c ns:measurement_unit.dated_percentage.rate "-0.61" .
}


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?to,?start,?from,?end,?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:event.public_speaker.speeches_or_presentations ?c .
?c ns:event.speech_or_presentation.speech_topic ns:m.0gc1_ .
}


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

Martin Luther
people.person.profession
Priest


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.film ns:m.0crwcmb .
?c ns:music.group_member.instruments_played ?x .
}

Fela Kuti: Teacher Don't Teach Me Nonsense

Fela Kuti
music.group_member.instruments_played
Drums

Fela Kuti
music.group_member.instruments_played
Guitar

Fela Kuti
music.group_member.instruments_played
Keyboard

Fela Kuti
music.group_member.instruments_played
Saxophone

Fela Kuti
music.group_member.instruments_played
Trumpet


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:location.location.people_born_here ?c .
?c ns:american_football.football_player.position_s ns:m.01r3hr .
}

Phoenix
location.location.people_born_here
Mike Bell

Phoenix
location.location.people_born_here
Marcus Thomas

Phoenix
location.location.people_born_here
Trung Canidate

Phoenix
location.location.people_born_here
James Sims


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.costume_design_by ns:m.09fpyhg .
}

Race to Witch Mountain
film.film.costume_design_by
Genevieve Tyrrell


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.music ns:m.01mkn_d .
}

Valentine's Day
film.film.music
John Debney

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01tw0t)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01tw0t ns:music.group_member.instruments_played ?x .
?x ns:law.invention.inventor ns:m.013xf .
}

Saxophone
law.invention.inventor
Adolphe Sax


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.genre ?c .
?c ns:organization.organization_sector.organizations_in_this_sector ns:m.010lbn79 .
}

Adam Sandler
film.producer.film
Eight Crazy Nights

Eight Crazy Nights
film.film.genre
Animation


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

Egypt
location.country.languages_spoken
Domari Language

Egypt
location.country.currency_used
Egyptian pound


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 ?x
WHERE {
FILTER (?x != ns:m.02pg6z3)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02pg6z3 ns:location.location.containedby ?x .
?x ns:film.film_location.featured_in_films ns:m.02__34 .
}

Whistler Mountain
location.location.containedby
Canada

Canada
film.film_location.featured_in_films
Legends of the Fall


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.04vcd_5 .
?c ns:people.person.education ?y .
?y ns:education.education.major_field_of_study ?x .
}

Barack Obama
book.author.book_editions_published
The Audacity of Hope


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?y,?x
WHERE {
FILTER (?x != ns:m.075kfb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.075kfb ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
?x ns:tv.tv_program.episode_running_time ?num .
FILTER (xsd:integer(?num) < 30) .
}


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

Brazil
location.country.form_of_government
Presidential system

Brazil
location.country.form_of_government
Federal republic

Brazil
location.country.form_of_government
Constitutional republic


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

Jackson Pollock
influence.influence_node.influenced_by
Pablo Picasso

Pablo Picasso
influence.influence_node.influenced
Yves Saint Laurent


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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.to ?num .
}
ORDER BY DESC(?num) LIMIT 1

New York University
organization.organization.founders
Albert Gallatin


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.075kfb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.075kfb ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
?x ns:tv.tv_program.tvrage_id "18839" .
}


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:law.court_jurisdiction_area.courts ns:m.0c414vc .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.0fkvn .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "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) })
}

United States Bankruptcy Court, District of Arizona


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.film.other_crew ?k .
?k ns:film.film_crew_gig.crewmember ns:m.0wyxnkt .
?c ns:film.film.starring ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.character ns:m.0264f7h .
?y ns:film.performance.character_note ?sk0 .
FILTER (str(?sk0) = "Young Forrest")
}


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:book.written_work.subjects ns:m.037mh8 .
}

Taoism
religion.religion.texts
Tao Te Ching

Tao Te Ching
book.written_work.subjects
Philosophy


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_postgraduates ?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 ?c,?y,?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.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 != 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:military.military_combatant.casualties ?c .
?c ns:military.casualties.military_conflict ns:m.0pyy3 .
}

Eastern Europe
location.location.contains
Second Polish Republic

Second Polish Republic
common.topic.notable_types
Country


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:influence.influence_node.influenced_by ns:m.014635 .
}

F. Scott Fitzgerald
influence.influence_node.influenced_by
Sherwood Anderson

Sherwood Anderson
influence.influence_node.influenced_by
Mark Twain


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.statistical_region.gdp_deflator_change ?c .
?c ns:measurement_unit.dated_percentage.rate "2.32" .
}

Caribbean
location.location.contains
Puerto Rico

Puerto Rico
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:biology.breed_origin.breeds_originating_here ns:m.027yb05 .
?c ns:location.country.currency_used ?x .
}

Cuba
location.country.currency_used
Cuban convertible peso

Cuba
location.country.currency_used
Cuban peso


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

Chile
location.country.second_level_divisions
Choapa Province

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 ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film.other_crew ?k .
?k ns:film.film_crew_gig.crewmember ns:m.0gb4myd .
?c ns:film.film.starring ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.character ns:m.02qd_td .
}


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:event.public_speaker.speeches_or_presentations ?k .
?k ns:event.speech_or_presentation.event ns:m.01lt0z .
?c ns:people.deceased_person.place_of_death ?x .
}

March on Washington for Jobs and Freedom

Martin Luther King, Jr.
people.deceased_person.place_of_death
Memphis


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.0d5g5l .
?c ns:music.guitarist.guitars_played ?x .
}

Kurt Cobain
music.lyricist.lyrics_written
Pen Cap Chew

Kurt Cobain
music.guitarist.guitars_played
Fender Jag-Stang


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.02p79z8 .
?c ns:film.film.starring ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.character ns:m.0cb2r .
}

Harry Potter and the Philosopher's Stone


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:book.author.works_written ns:m.066tjkv .
}

Claude Monet
influence.influence_node.influenced_by
Stéphane Mallarmé

Stéphane Mallarmé
book.author.works_written
L' art pour tous


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

France
location.country.form_of_government
Unitary state

France
location.country.form_of_government
Semi-presidential system

France
location.country.form_of_government
Constitutional republic


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.politician.government_positions_held ?k .
?k ns:government.government_position_held.appointed_by ns:m.0b393 .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.jurisdiction_of_office ?x .
}


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?to,?start,?from,?end,?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.basic_title ns:m.01t7n9 .
}


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

Argentina
location.country.currency_used
Argentine peso


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.075kfb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.075kfb ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
?x ns:tv.tv_program.number_of_episodes "13" .
}


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.063f0dh .
?c ns:base.locations.countries.continent ?x .
}

Bahamas
base.locations.countries.continent
North 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:geography.river.origin ns:m.01jm9j .
?c ns:geography.river.mouth ?x .
}

Mississippi River
geography.river.origin
Lake Itasca

Mississippi River
geography.river.mouth
Gulf of Mexico


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.office_position_or_title ns:m.04ljpc8 .
}


#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.calling_code ?num .
FILTER (xsd:integer(?num) > 967) .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.second_level_divisions ns:m.0128lb .
}

Denmark
location.country.second_level_divisions
Allerød Municipality


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:fictional_universe.fictional_setting.contains ns:m.08c5x9 .
?c ns:location.location.time_zones ?x .
}

Colorado
location.location.time_zones
Mountain Time Zone


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.film ns:m.0gxf5mw .
?c ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
}


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

Life of Franz Liszt
people.person.profession
Priest


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:military.military_conflict.casualties ?c .
?c ns:military.casualties.lower_estimate "1" .
}


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.politician.government_positions_held ?k .
?k ns:government.government_position_held.appointed_by ns:m.09k5k .
?c ns:people.person.place_of_birth ?x .
}

Benjamin Franklin
people.person.place_of_birth
Boston


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0jmfb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jmfb ns:sports.sports_team.arena_stadium ?x .
?x ns:sports.sports_facility.home_venue_for ?c .
?c ns:sports.team_venue_relationship.team ns:m.068hn0 .
}

Houston Rockets
sports.sports_team.arena_stadium
Lakewood Church Central Campus


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.05kkh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05kkh 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) <= "2011-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2011-01-01"^^xsd:dateTime) })
?x ns:people.person.religion ns:m.01lp8 .
}

John Kasich
people.person.religion
Christianity


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.lyricist.lyrics_written ns:m.0kl2pqz .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.educational_institution.school_type ns:m.0bpgx .
}

Trey Songz
music.lyricist.lyrics_written
Dive In


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.official_symbols ?k .
?k ns:location.location_symbol_relationship.symbol ns:m.0139l8 .
?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 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:law.court_jurisdiction_area.courts ns:m.08k95y .
?c ns:base.aareas.schema.administrative_area.capital ?x .
}

Victoria
law.court_jurisdiction_area.courts
County Court of Victoria


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.04s_lpn .
?c ns:people.person.education ?y .
?y ns:education.education.major_field_of_study ?x .
}

Barack Obama
people.person.quotations
Yes we can!


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.07gyrd1 .
?c ns:film.film.starring ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.character ns:m.02qd_td .
}


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_body.members ?k .
?k ns:government.government_position_held.office_holder ns:m.02_bfn .
?c ns:organization.organization.headquarters ?y .
?y ns:location.mailing_address.citytown ?x .
}


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:royalty.chivalric_order_member.belongs_to_order ?c .
?c ns:royalty.chivalric_order_membership.order ns:m.01f2y9 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:military.military_conflict.commanders ?c .
?c ns:military.military_command.military_commander ns:m.011zwl .
}