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.04v5y_n .
?c ns:book.periodical_editor.periodicals_edited ?y .
?y ns:book.editorial_tenure.periodical ?x .
}

Edgar Allan Poe
book.author.book_editions_published
The cask of Amontillado


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

French Minister of the Economy, Finance and Industry

United Kingdom
common.topic.notable_types
Country


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.02g_6x .
}

Phoenix
location.location.people_born_here
Brian Hernandez

Phoenix
location.location.people_born_here
Shaun McDonald

Phoenix
location.location.people_born_here
Carl Mulleneaux

Phoenix
location.location.people_born_here
Damon Mays

Phoenix
location.location.people_born_here
Scott Miller

Phoenix
location.location.people_born_here
Tyrice Thompson

Phoenix
location.location.people_born_here
Donald Sellers


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.05hp_9)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05hp_9 ns:film.film_character.portrayed_in_films ?y .
?y ns:film.performance.actor ?x .
?x ns:people.person.religion ns:m.02d11 .
}

Marlon Brando
people.person.religion
Deism


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


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


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

Caribbean
location.location.contains
Saint Kitts and Nevis

Saint Kitts and Nevis
common.topic.notable_types
Country

Caribbean
location.location.contains
Saint Lucia

Saint Lucia
common.topic.notable_types
Country

Caribbean
location.location.contains
Puerto Rico

Puerto Rico
common.topic.notable_types
Country

Caribbean
location.location.contains
British Virgin Islands

British Virgin Islands
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:law.court_jurisdiction_area.courts ns:m.0453m6 .
?c ns:location.country.currency_used ?x .
}

Switzerland
law.court_jurisdiction_area.courts
Federal Supreme Court of Switzerland

Switzerland
location.country.currency_used
Swiss franc


#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:government.us_president.presidency_number "33" .
}


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

University of Alabama
common.topic.notable_types
College/University


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:type.object.name "Mike Bell"@en .
}

Phoenix
location.location.people_born_here
Mike Bell

Mike Bell
type.object.name
"Mike Bell"@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:celebrities.celebrity.legal_entanglements ?k .
?k ns:celebrities.legal_entanglement.location ns:m.0f2v0 .
?c ns:music.artist.track_contributions ?y .
?y ns:music.track_contribution.role ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.legislative_sessions ns:m.0vpwn6t .
}

Whistler Mountain
location.location.containedby
British Columbia


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

Wyoming
location.location.partially_contains
Uinta Mountains


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.07_m9_)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07_m9_ ns:people.deceased_person.cause_of_death ?x .
?x ns:film.film_subject.films ns:m.04jlsj4 .
}

Adolf Hitler
people.deceased_person.cause_of_death
Suicide


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

Paul the Apostle
film.film_subject.films
San Paolo

Paul the Apostle
people.person.place_of_birth
Tarsus


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.politicians_in_this_party ?c .
?c ns:government.political_party_tenure.politician ns:g.11b6r8f4g6 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0345h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0345h ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.gdp_nominal ?c .
?c ns:measurement_unit.dated_money_value.amount "279500000000.0" .
}


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.dubbing_performances ?k .
?k ns:film.dubbing_performance.character ns:m.0z7wfrg .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
}

Dr. Seuss' How the Grinch Stole Christmas


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

Thailand
film.film_location.featured_in_films
Fan Chan

Thailand
location.country.languages_spoken
Lao Language

Thailand
location.country.languages_spoken
Mlabri Language

Thailand
location.country.languages_spoken
Thai Language

Thailand
location.country.languages_spoken
Vietnamese Language

Thailand
location.country.languages_spoken
Saek language

Thailand
location.country.languages_spoken
Hmong language

Thailand
location.country.languages_spoken
Khmer language

Thailand
location.country.languages_spoken
Mon Language

Thailand
location.country.languages_spoken
Malay, Pattani Language

Thailand
location.country.languages_spoken
Akha Language

Thailand
location.country.languages_spoken
Cham language

Thailand
location.country.languages_spoken
Nyaw Language

Thailand
location.country.languages_spoken
Phu Thai language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:government.political_district.representatives ?c .
?c ns:government.government_position_held.governmental_body ns:m.0x2sv .
}

Whistler Mountain
location.location.containedby
British Columbia


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


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:geography.body_of_water.bridges ns:m.09gcsmf .
}

Lake Powell
geography.body_of_water.bridges
Hite Crossing Bridge


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

Tupac Shakur
music.producer.releases_produced
The Don Killuminati: The 7 Day Theory


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

Justin Timberlake
film.music_contributor.film
The Devil and the Deep Blue Sea


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0bdxs5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bdxs5 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.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 ?k,?c,?y,?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.speech_topic ns:m.02rc5 .
?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 ?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.subjects ns:m.01yzhn .
}

My One and Only
film.film.subjects
George Hamilton


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_8mr .
}


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

Saturday Night Live: The Best of Adam Sandler

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

Adam Sandler
film.producer.film
Grown Ups 2

Adam Sandler
film.producer.film
The Benchwarmers

Adam Sandler
film.producer.film
The House Bunny

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

Adam Sandler
film.producer.film
Bedtime Stories

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

Adam Sandler
film.producer.film
Eight Crazy Nights

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

Adam Sandler
film.producer.film
Just Go With It

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

Adam Sandler
film.producer.film
Zookeeper

Adam Sandler
film.producer.film
Jack and Jill

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

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

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

Adam Sandler
film.producer.film
Valet Guys


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

Angelina Jolie
film.director.film
A Place in Time


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.basic_title ns:m.0789n .
}


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

Israel
location.country.form_of_government
Parliamentary system


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.06c62)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06c62 ns:location.location.containedby ?x .
?x ns:location.location.contains ns:m.010g8hnz .
}

Italy
location.location.contains
Area Code 0836


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.041rx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.041rx ns:people.ethnicity.languages_spoken ?x .
?x ns:book.book_subject.works ns:m.01607l .
}

Jewish people
people.ethnicity.languages_spoken
English Language

English Language
book.book_subject.works
Middlemarch: A Study of Provincial Life


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.04cvc5p .
?c ns:film.film.starring ?y .
?y ns:film.performance.actor ?x .
?y ns:film.performance.character ns:m.020hj1 .
}


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 "2003-09-03"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?y,?x
WHERE {
FILTER (?x != ns:m.0c6qh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0c6qh ns:celebrities.celebrity.sexual_relationships ?y .
?y ns:celebrities.romantic_relationship.celebrity ?x .
?y ns:celebrities.romantic_relationship.relationship_type ns:m.02_7k44 .
?x ns:celebrities.celebrity.sexual_relationships ?c .
?c ns:celebrities.romantic_relationship.end_date ?num .
}
ORDER BY DESC(?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.0q_fx1 .
?c ns:people.person.children ?x .
}

Beyoncé Knowles
music.featured_artist.recordings
'03 Bonnie & Clyde / Daddy

Beyoncé Knowles
people.person.children
Blue Ivy


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

Helen Keller
film.film_subject.films
Black

Helen Keller
people.deceased_person.place_of_death
Easton


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.iso_639_1_code "fy" .
}

Netherlands
location.country.languages_spoken
Frisian languages

Frisian languages
language.human_language.iso_639_1_code
"fy"


#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 .
	?x ns:location.location.people_born_here ?c .
?c ns:type.object.name "Vicki Buck"@en .
}
	UNION
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_imported_from ?y .
	  ?y ns:location.imports_and_exports.imported_from ?x .
	?x ns:location.location.people_born_here ?c .
?c ns:type.object.name "Vicki Buck"@en .
}
?x ns:location.location.people_born_here ?c .
?c ns:type.object.name "Vicki Buck"@en .
}

New Zealand
location.location.people_born_here
Vicki Buck

Vicki Buck
type.object.name
"Vicki Buck"@en


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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:time.event.end_date ?num .
FILTER (?num < "1809-07-28"^^xsd:dateTime) .
}


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

Associate Director, White House Office of Public Liaison


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:common.topic.notable_types ns:m.01mp .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.legislative_sessions ns:m.0512m5c .
}


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:language.human_language.iso_639_3_code "mly" .
}

Indonesia
location.country.languages_spoken
Malay Language

Malay Language
language.human_language.iso_639_3_code
"mly"


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

Sammy Davis, Jr.
people.deceased_person.cause_of_death
Laryngeal cancer

Sammy Davis, Jr.
people.deceased_person.cause_of_death
Complication


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01gmkg)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01gmkg ns:language.human_language.language_family ?x .
?x ns:language.language_family.languages ns:m.011d8 .
}

Icelandic Language
language.human_language.language_family
Indo-European languages

Indo-European languages
language.language_family.languages
Aragonese Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0154j)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0154j ns:location.location.containedby ?x .
?x ns:fictional_universe.fictional_setting.contains ns:m.016q5w .
}


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

San Francisco Giants
sports.sports_team.arena_stadium
Hilltop Park

San Francisco Giants
sports.sports_team.championships
2014 World Series


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0345h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0345h ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.gdp_nominal ?c .
?c ns:measurement_unit.dated_money_value.currency ns:m.09nqf .
}


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

South Africa
location.location.people_born_here
Barbara Starr

Barbara Starr
type.object.name
"Barbara Starr"@en


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.0jxkzb9 .
?c ns:music.artist.track_contributions ?y .
?y ns:music.track_contribution.role ?x .
}

Justin Bieber
music.lyricist.lyrics_written
All Around The World


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.political_district.representatives ?k .
?k ns:government.government_position_held.appointed_by ns:m.0dyxys .
?c ns:location.location.containedby ?x .
}

Holy Roman Empire
location.location.containedby
Europe


#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:religion.religious_leadership_jurisdiction.leader ?c .
?c ns:religion.religious_organization_leadership.start_date "1966-04"^^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:theater.theatrical_composer.plays_composed ns:m.07s3d1h .
?c ns:music.group_member.instruments_played ?x .
}

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 ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.political_appointer.appointees ?k .
?k ns:government.government_position_held.office_position_or_title ns:m.07jrjrr .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.jurisdiction_of_office ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:meteorology.cyclone_affected_area.cyclones ns:m.04q3jdd .
?c ns:location.location.contains ?x .
?x ns:common.topic.notable_types ns:m.01mp .
}

Central America
location.location.contains
Honduras

Central America
location.location.contains
Gran Colombia

Gran Colombia
common.topic.notable_types
Country

Central America
location.location.contains
Costa Rica

Costa Rica
common.topic.notable_types
Country

Central America
location.location.contains
Guatemala

Central America
location.location.contains
El Salvador

El Salvador
common.topic.notable_types
Country

Central America
location.location.contains
Belize

Central America
location.location.contains
Panama


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.date_of_death "1821-02-23"^^xsd:dateTime .
}

F. Scott Fitzgerald
influence.influence_node.influenced_by
John Keats


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


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

Missouri
location.location.people_born_here
John Wayland


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


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.09dx6t0 .
?c ns:film.film.starring ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.actor ns:m.03y9941 .
}


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

Avril Lavigne
people.person.place_of_birth
Belleville


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

Richard Harris
people.deceased_person.place_of_death
University College Hospital


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

Eastern Europe
location.location.contains
Romania

Romania
location.location.contains
Delnița River


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


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

Nothing but Trouble
film.film.costume_design_by
Deborah Nadoolman Landis


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:film.producer.film ns:m.0hhgh70 .
}

Jada Pinkett Smith
film.producer.film
After Earth


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:broadcast.radio_station_owner.radio_stations ns:m.02vrp21 .
}

American University
common.topic.notable_types
College/University


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.award ns:m.02f2nx .
}

NAACP Image Award for Outstanding Actress in a Drama 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_holder ns:m.022wc1 .
?c ns:location.country.currency_used ?x .
}

Jamaica
location.country.currency_used
Jamaican dollar


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 "1841-02"^^xsd:dateTime .
}


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.internet_tld ns:m.01sqdz .
}


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.speech_topic ns:m.04lxyz0 .
?c ns:people.person.place_of_birth ?x .
}

John F. Kennedy
people.person.place_of_birth
Brookline


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:media_common.netflix_title.netflix_genres ns:m.0cq22b3 .
}

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.03d9v8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03d9v8 ns:people.person.children ?x .
?x ns:people.person.place_of_birth ns:m.06_kh .
}

Shirley Temple
people.person.children
Linda Susan Agar

Linda Susan Agar
people.person.place_of_birth
Santa Monica

Shirley Temple
people.person.children
Lori Black

Lori Black
people.person.place_of_birth
Santa Monica


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:film.film_character.portrayed_in_films ?c .
?c ns:film.performance.actor ns:g.1213_84r .
}


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

Avril Lavigne
music.featured_artist.recordings
Best Years of Our Lives


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

New York University
organization.organization.founders
Albert Gallatin


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0345h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0345h ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.statistical_region.size_of_armed_forces ?c .
?c ns:measurement_unit.dated_integer.number "101000" .
}


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:location.location.contains ns:m.0101mywf .
}

Whistler Mountain
location.location.containedby
Canada

Canada
location.location.contains
Sugarloaf Mountain Ski Resort


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


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.executive_produced_by ns:m.0jyfz6 .
}

Race to Witch Mountain
film.film.executive_produced_by
Ann Marie Sanderlin


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0chghy)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0chghy ns:location.country.languages_spoken ?x .
?x ns:law.invention.inventor ns:m.04lns .
}

Australia
location.country.languages_spoken
Esperanto Language

Esperanto Language
law.invention.inventor
L. L. Zamenhof


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0bwfn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bwfn ns:organization.organization.founders ?x .
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.to "1794-02-28"^^xsd:dateTime .
}


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


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

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 ?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.award ns:m.0y54wmq .
?c ns:music.artist.track_contributions ?y .
?y ns:music.track_contribution.role ?x .
}

Young Hollywood Award for Newcomer of the Year


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

Boston Celtics
sports.sports_team.championships
1959 NBA Finals

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


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

Brazil
law.court_jurisdiction_area.courts
Superior Court of Justice

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

Jackson Pollock
influence.influence_node.influenced_by
Pablo Picasso


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.048j6jr .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
}

Nobody can make you feel inferior without your consent.


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.children ns:m.02m29p .
}


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

Beyoncé Knowles
music.producer.releases_produced
I Am...Sasha Fierce

Beyoncé Knowles
people.person.children
Blue Ivy


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.award ns:m.0zvj_5g .
?c ns:base.popstra.celebrity.religion ?y .
?y ns:base.popstra.religion_choice.religion ?x .
}


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

Dominican Republic
location.country.languages_spoken
Samaná English

Dominican Republic
location.location.containedby
North America

Dominican Republic
location.location.containedby
Americas

Dominican Republic
location.location.containedby
Latin America

Dominican Republic
location.location.containedby
Greater Antilles

Dominican Republic
location.location.containedby
País


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.politicians_in_this_party ?c .
?c ns:government.political_party_tenure.politician ns:m.0100blfm .
}


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.04dqw00 .
?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 ?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.starring ?c .
?c ns:film.performance.actor ns:m.0131kb .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?k,?x,?c,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.0w0wbnw .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.initial_release_date ?sk0 .
}
ORDER BY DESC(xsd:datetime(?sk0))
LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:location.location.street_address ?c .
?c ns:location.mailing_address.street_address "1060 West Addison Street"@en .
}

Chicago Cubs
sports.sports_team.arena_stadium
Wrigley Field


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

San Francisco Giants
sports.sports_team.arena_stadium
AT&T Park

San Francisco Giants
sports.sports_team.championships
2014 World Series


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.06ddh9 .
?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 ?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 .
}
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:fictional_universe.fictional_character.place_of_birth ns:m.01_jv_ .
?c ns:fictional_universe.fictional_character.parents ?x .
?x ns:fictional_universe.fictional_character.gender ns:m.05zppz .
}


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

Denmark
location.country.languages_spoken
German Language

Denmark
location.country.languages_spoken
Danish Language

Denmark
location.country.languages_spoken
Greenlandic language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:amusement_parks.park.rides ns:m.0j11548 .
}

Raging Waters Sacramento
amusement_parks.park.rides
Dragon's Den


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.award ns:m.0nh4r92 .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
}

Hannah Montana and Miley Cyrus: Best of Both Worlds Concert


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

Animation
media_common.media_genre.child_genres
Stop motion


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 "1989"^^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.dedicatee.dedications ?k .
?k ns:media_common.dedication.dedicated_by ns:m.0bvzp .
?c ns:people.person.place_of_birth ?x .
}

John F. Kennedy
people.person.place_of_birth
Brookline


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:book.periodical_publisher.periodicals_published ?k .
?k ns:book.periodical_publisher_period.periodical ns:m.05szs45 .
?c ns:education.educational_institution.colors ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.place_with_neighborhoods.neighborhoods ns:m.0cc81m5 .
?c ns:olympics.olympic_host_city.olympics_hosted ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0f8l9c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f8l9c ns:location.country.currency_formerly_used ?x .
?x ns:finance.currency.countries_formerly_used ns:m.03b79 .
}

France
location.country.currency_formerly_used
French franc


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:royalty.kingdom.rulers ns:m.012rkn .
}

Portugal
royalty.kingdom.rulers
Philip III of Spain


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.iso_alpha_3 "CHN" .
}


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.064jyxs .
?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:event.public_speaker.speeches_or_presentations ?k .
?k ns:event.speech_or_presentation.event ns:m.0hrdf6b .
?c ns:people.person.education ?y .
?y ns:education.education.major_field_of_study ?x .
}


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

Socialist Federal Republic of Yugoslavia

Eastern Europe
location.location.partially_contains
Terekti District

Eastern Europe
location.location.contains
Bulgaria

Eastern Europe
location.location.contains
Romania

Eastern Europe
location.location.contains
Georgia

Eastern Europe
location.location.contains
Second Polish Republic

Second Polish Republic
common.topic.notable_types
Country

Eastern Europe
location.location.contains
Moldova

Eastern Europe
location.location.contains
Kievan Rus'

Kievan Rus'
common.topic.notable_types
Country

Eastern Europe
location.location.contains
Kingdom of Romania

Kingdom of Romania
common.topic.notable_types
Country

Eastern Europe
location.location.contains
Grand Duchy of Lithuania

Grand Duchy of Lithuania
common.topic.notable_types
Country

Eastern Europe
location.location.contains
Belarusian People's Republic

Belarusian People's Republic
common.topic.notable_types
Country

Eastern Europe
location.location.contains
Belarusian Central Council

Belarusian Central Council
common.topic.notable_types
Country


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:film.producer.films_executive_produced ns:m.0p79sd3 .
}

Jada Pinkett Smith
film.producer.films_executive_produced
Free Angela and All Political Prisoners


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.09k5k .
?c ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.01bl8s .
}


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


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.political_district.elections ns:m.027phst .
?c ns:location.location.time_zones ?x .
}

United States Senate election in Colorado, 2008

Colorado
location.location.time_zones
Mountain Time Zone


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_combatant ns:m.03b79 .
}


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

Tucson
location.location.time_zones
Mountain Time Zone


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

South Korea
location.country.currency_formerly_used
South Korean won

South Korea
location.country.capital
Seoul


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:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.governmental_body ns:m.06npv6 .
}

Eastern Europe
location.location.contains
Bulgaria


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

Peyton Manning
people.person.parents
Archie Manning

Archie Manning
people.person.gender
Male


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


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

Adam Sandler
film.producer.film
The House Bunny

The House Bunny
film.film.film_art_direction_by
John Chichester


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

Kentucky
law.court_jurisdiction_area.courts
Kentucky Supreme Court

Kentucky
location.location.containedby
Contiguous United States

Kentucky
location.location.containedby
United States, with Territories

Kentucky
location.location.containedby
United States of America


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

Michigan
location.location.time_zones
Central Time Zone

Tulsa
location.location.nearby_airports
Tulsa International Airport

Claremore
location.location.nearby_airports
Tulsa International Airport


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

Star Wars Episode III: Revenge of the Sith


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:visual_art.visual_artist.art_series ns:m.02vyfth .
}

Jackson Pollock
influence.influence_node.influenced_by
Pablo Picasso

Pablo Picasso
visual_art.visual_artist.art_series
Three Musicians


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.09k0s2j .
?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,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:celebrities.celebrity.legal_entanglements ?k .
?k ns:celebrities.legal_entanglement.location ns:m.0f2v0 .
?c ns:people.person.place_of_birth ?x .
}

Justin Bieber
people.person.place_of_birth
London


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.01452x .
}

Jackson Pollock
influence.influence_node.influenced_by
Carl Jung

Carl Jung
influence.influence_node.influenced
Gregory Bateson


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?k,?x,?c,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0gx9nr8 .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.initial_release_date ?sk0 .
}
ORDER BY DESC(xsd:datetime(?sk0))
LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.produced_by ns:m.0282_tz .
}

The Shootist
film.film.produced_by
William Edwin Self


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

LOL
film.film.cinematography
Kieran McGuigan


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?x
WHERE {
FILTER (?x != ns:m.018qjq)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.018qjq ns:location.location.partially_containedby ?x .
?x ns:base.biblioness.bibs_location.loc_type ?sk0 .
FILTER (str(?sk0) = "State")
?x ns:fictional_universe.fictional_setting.contains ns:m.08c5x9 .
}

Colorado River
location.location.partially_containedby
Colorado


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

Dunkirk
location.location.events
Battle of Dunkirk

Battle of Dunkirk
time.event.included_in_event
World War II


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

Hannah Montana and Miley Cyrus: Best of Both Worlds Concert


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:military.military_combatant.casualties ?k .
?k ns:military.casualties.military_conflict ns:m.01zd7d .
?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 ?sk0,?k,?x,?c,?y
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.0y54ymv .
?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 ?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.0_zfk6d .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:fictional_universe.school_in_fiction.students_graduates ns:m.01msch .
}


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

Francis Bacon
book.author.book_editions_published
New Atlantis

Francis Bacon
people.person.profession
Spy

Francis Bacon
people.person.profession
Scientist

Francis Bacon
people.person.profession
Philosopher

Francis Bacon
people.person.profession
Author

Francis Bacon
people.person.profession
Statesman


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

Eastern Europe
location.location.contains
Bulgaria

Bulgaria
location.location.people_born_here
Ivaylo Zahariev


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

Shirley Temple
people.person.children
Linda Susan Agar

Shirley Temple
people.person.children
Lori Black

Shirley Temple
people.person.children
Charles Alden Black Jr.


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


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:film.film_character.portrayed_in_films ?c .
?c ns:film.performance.actor ns:m.0bhgqt4 .
}

Catholicism
religion.religion.deities
Jesus Christ


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:organization.organization_sector.organizations_in_this_sector ns:m.0_zfk6d .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01gmkg)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01gmkg ns:language.human_language.language_family ?x .
?x ns:language.language_family.languages ns:m.0119qrqk .
}

Icelandic Language
language.human_language.language_family
Indo-European languages

Indo-European languages
language.language_family.languages
Church Slavonic language


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.location.people_born_here ?c .
?c ns:type.object.type ns:government.government_position_held .
}

Oceania
location.location.contains
New Zealand

New Zealand
base.biblioness.bibs_location.loc_type
Country

New Zealand
location.location.people_born_here
Vicki Buck


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


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:film.film_location.featured_in_films ns:m.0xn145w .
}

Eastern Europe
location.location.contains
Georgia

Georgia
film.film_location.featured_in_films
A Fold in My Blanket


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0wy41)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0wy41 ns:location.location.containedby ?x .
?x ns:location.administrative_division.country ns:m.09c7w0 .
}


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.location.people_born_here ?c .
?c ns:education.honorary_degree.recipient ns:m.05p62cz .
}

New York City
location.location.people_born_here
Nathan O. Kaplan

Nathan O. Kaplan
education.honorary_degree.recipient
Nathan O. Kaplan


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

Greeley
location.location.contains
University of Northern Colorado

University of Northern Colorado
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:military.military_combatant.casualties ?k .
?k ns:military.casualties.military_conflict ns:m.01975w .
?c ns:location.country.currency_used ?x .
}

Russia
location.country.currency_used
Russian ruble


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:sports.sports_team.arena_stadium ns:m.0h975w3 .
?c ns:sports.sports_team.arena_stadium ?x .
}

Chicago Cubs
sports.sports_team.arena_stadium
Sloan Park

Chicago Cubs
sports.sports_team.arena_stadium
Wrigley Field

Chicago Cubs
sports.sports_team.arena_stadium
Hohokam Stadium


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:common.topic.notable_types ns:m.01mp .
?x ns:government.governmental_jurisdiction.official_symbols ?c .
?c ns:location.location_symbol_relationship.symbol ns:m.0f9lt0 .
}


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_by ns:m.013y97 .
}

Jackson Pollock
influence.influence_node.influenced_by
Joan Mir

Joan Mir
influence.influence_node.influenced_by
Hans Arp


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:religion.religion.founding_figures ns:m.015k7 .
}

Buddhism
religion.religion.founding_figures
Gautama Buddha


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:film.film_genre.films_in_this_genre ns:g.11b6_n6p_h .
}

Adam Sandler
film.producer.film
Eight Crazy Nights

Eight Crazy Nights
film.film.genre
Animation


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:event.public_speaker.speeches_or_presentations ?k .
?k ns:event.speech_or_presentation.event ns:m.01lt0z .
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?y ns:education.education.degree ns:m.04zx3q1 .
}

March on Washington for Jobs and Freedom


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.0j689dq .
?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 ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:engineering.location_with_mains_power.mains_power_standards ?k .
?k ns:engineering.mains_power.compatible_plugs ns:m.08cmzb .
?c ns:location.statistical_region.religions ?y .
?y ns:location.religion_percentage.religion ?x .
}


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

Greece
location.country.languages_spoken
Greek Language

Greece
location.country.languages_spoken
Albanian language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.cinematography ns:m.027t8fw .
}

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

In the Land of Blood and Honey
film.film.cinematography
Dean Semler

Angelina Jolie
film.director.film
By the Sea

By the Sea
film.film.cinematography
Dean Semler


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

Ethiopia
location.country.official_language
Amharic Language


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

Netherlands
location.country.languages_spoken
Dutch Language

Netherlands
location.country.languages_spoken
Frisian languages

Netherlands
location.country.languages_spoken
West Flemish


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

University of Iowa
common.topic.notable_types
College/University


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

Jewish people
people.ethnicity.languages_spoken
Spanish Language

Spanish Language
language.human_language.iso_639_1_code
"es"


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

Sammy Davis, Jr.
music.featured_artist.recordings
The Candyman

Sammy Davis, Jr.
people.deceased_person.cause_of_death
Laryngeal cancer

Sammy Davis, Jr.
people.deceased_person.cause_of_death
Complication


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:award.award_nominated_work.award_nominations ?c .
?c ns:award.award_nomination.notes_description "Based on the book by Dr. Seuss"@en .
}

Dr. Seuss' How the Grinch Stole Christmas


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

New York University
organization.organization.founders
Albert Gallatin


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

Peru
location.country.currency_used
Peruvian nuevo sol


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

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.02114t)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02114t ns:base.popstra.celebrity.dated ?y .
?y ns:base.popstra.dated.participant ?x .
?x ns:tv.tv_personality.tv_regular_appearances ?c .
?c ns:tv.tv_regular_personal_appearance.from "2000"^^xsd:dateTime .
}


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

Oceania
location.location.contains
New Caledonia

New Caledonia
base.biblioness.bibs_location.loc_type
Country


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.magazine.place_of_publication ?c .
?c ns:book.place_of_publication_period.to ?num .
FILTER (?num > "1841"^^xsd:dateTime) .
}


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

The Last Song
film.film.story_by
Nicholas Sparks


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:geography.river.origin ns:m.0288rp8 .
?c ns:location.location.partially_contained_by ?y .
?y ns:location.partial_containment_relationship.partially_contained_by ?x .
}

Missouri River
geography.river.origin
Brower's Spring


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.basic_title ns:m.010gdkhm .
}


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.currency_used ?x .
}

Egypt
location.country.currency_used
Egyptian pound


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


#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:government.us_president.presidency_number ?num .
FILTER (xsd:integer(?num) > 32) .
}


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.initial_release_date ?num .
}
ORDER BY ?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:music.producer.releases_produced ns:m.032j348 .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
}

Tupac Shakur
music.producer.releases_produced
The Don Killuminati: The 7 Day Theory


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:award.award_nominated_work.award_nominations ?c .
?c ns:award.award_nomination.notes_description "Based on the Novel by Stephenie Meyer"@en .
}


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


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

Valentine's Day
film.film.directed_by
Garry Marshall


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.production_companies ns:m.027sj8n .
}

Angelina Jolie
film.director.film
By the Sea

By the Sea
film.film.production_companies
Plan B Entertainment


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01gmkg)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01gmkg ns:language.human_language.language_family ?x .
?x ns:language.language_family.geographic_distribution ns:m.01531v .
}

Icelandic Language
language.human_language.language_family
Germanic languages


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

Abraham Lincoln
film.film_subject.films
Young Mr. Lincoln

Member of Illinois House of Representatives


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


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.iso_numeric "056" .
}


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.country.calling_code ?num .
FILTER (xsd:integer(?num) > 213) .
}


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


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.0pc60xw .
?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 ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:sports.sports_team.arena_stadium ns:m.037286 .
?c ns:american_football.football_team.current_head_coach ?x .
}

Pittsburgh Steelers
sports.sports_team.arena_stadium
Three Rivers Stadium


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 "1000" .
}


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.place_of_burial ns:m.06_3v55 .
}

Ulysses S. Grant
people.deceased_person.place_of_burial
General Grant National Memorial


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.politician.party ?c .
?c ns:government.political_party_tenure.party ns:m.07wbk .
}


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


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.author ns:m.0h9wp .
}

Taoism
religion.religion.texts
Tao Te Ching

Tao Te Ching
book.written_work.author
Laozi


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.book.genre ns:m.021wb .
}

I Ching
book.book.genre
Chinese classics


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:sports.sports_team.arena_stadium ns:m.038br5 .
?c ns:sports.sports_team.team_mascot ?x .
}

Milwaukee Brewers
sports.sports_team.arena_stadium
Miller Park

Milwaukee Brewers
sports.sports_team.team_mascot
Bernie Brewer

Milwaukee Brewers
sports.sports_team.team_mascot
Hank

Milwaukee Brewers
sports.sports_team.team_mascot
Bonnie Brewer


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

Beyoncé Knowles
music.composer.compositions
The Story of Beauty

Beyoncé Knowles
people.person.children
Blue Ivy


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:fictional_universe.school_in_fiction.students_graduates ns:m.010rkltj .
}

Amherst College
common.topic.notable_types
College/University


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_1_code "es" .
}

Dominican Republic
location.country.languages_spoken
Spanish Language

Spanish Language
language.human_language.iso_639_1_code
"es"


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01r2l)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01r2l ns:language.human_language.dialects ?x .
?x ns:fictional_universe.fictional_language.found_in_fictional_universe ns:m.05b_w23 .
}

Chinese language
language.human_language.dialects
Standard Chinese


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

Jamaica
location.country.official_language
Jamaican English

Jamaica
location.country.currency_used
Jamaican dollar


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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.size_of_armed_forces ?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 ?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.09tkth0 .
}

Black Snake Moan
film.film.costume_design_by
Paul Simmons


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:media_common.media_genre.child_genres ns:m.08phz7 .
}

Animation
media_common.media_genre.child_genres
Cartoon pornography


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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.legislative_sessions ns:m.01gsrl .
}


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.speech_topic ns:m.017f5 .
?c ns:people.person.place_of_birth ?x .
}

John F. Kennedy
people.person.place_of_birth
Brookline


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.author ns:m.0163ww .
}


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

Barack Obama
book.author.book_editions_published
The Audacity of Hope


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.03ryn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03ryn ns:location.statistical_region.religions ?y .
?y ns:location.religion_percentage.religion ?x .
?x ns:religion.religion.founding_figures ns:m.041yl .
}

Protestantism
religion.religion.founding_figures
John Calvin


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:film.actor.film ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.film ns:m.08w51z .
}

Tupac Shakur
music.composer.compositions
Still Ballin'


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.deceased_person.cause_of_death ns:m.02k6hp .
}

Jackson Pollock
influence.influence_node.influenced_by
Joan Mir

Joan Mir
people.deceased_person.cause_of_death
Cardiovascular disease


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

New York University
organization.organization.founders
Albert Gallatin


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