PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0pz91)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0pz91 ns:film.producer.film ?x .
?x ns:film.film.genre ?c .
?c ns:organization.organization_sector.organizations_in_this_sector ns:m.014l4w .
}

Adam Sandler
film.producer.film
Eight Crazy Nights

Eight Crazy Nights
film.film.genre
Animation


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.05gg4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05gg4 ns:sports.sports_team.championships ?x .
?x ns:common.topic.notable_types ns:m.01xljv1 .
?x ns:sports.sports_championship_event.runner_up ns:m.01c_d .
}

New York Giants
sports.sports_team.championships
Super Bowl XXV

Super Bowl XXV
common.topic.notable_types
Super bowl


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0d3k14)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d3k14 ns:people.person.sibling_s ?y .
?y ns:people.sibling_relationship.sibling ?x .
?x ns:people.person.gender ns:m.05zppz .
?x ns:people.deceased_person.date_of_burial "2009-08-29"^^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.film_series ns:m.0_fqy4m .
}

Bolt
film.film.film_series
Walt Disney Animated Classics


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

Germany
location.country.official_language
German Language

Germany
location.location.contains
Weeze Airport

Weeze Airport
aviation.airport.hub_for
V Bird


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.05t1x63 .
?c ns:film.actor.film ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.film ns:m.0ddt_ .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != 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 "1841"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.03_3d)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_3d ns:location.country.form_of_government ?x .
?x ns:government.form_of_government.countries ?c .
?c ns:type.object.name "Kingdom of Prussia"@en .
}

Japan
location.country.form_of_government
Constitutional monarchy

Constitutional monarchy
government.form_of_government.countries
Kingdom of Prussia

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0gzh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0gzh ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.office_position_or_title ?x .
?x ns:government.government_office_category.officeholders ?c .
?c ns:government.government_position_held.office_holder ns:m.0_86hpn .
}


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

Jewish people
people.ethnicity.languages_spoken
English Language

English Language
language.human_language.language_family
West Germanic languages

Jewish people
people.ethnicity.languages_spoken
Yiddish Language

Yiddish Language
language.human_language.language_family
West Germanic languages


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:education.academic.advisees ns:m.023byd .
?c ns:symbols.name_source.namesakes ?x .
}

Joseph John Thomson
education.academic.advisees
Charles Glover Barkla

Joseph John Thomson
symbols.name_source.namesakes
Thomson scattering

Joseph John Thomson
symbols.name_source.namesakes
Thomson problem


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:geography.body_of_water.bridges ns:m.09fp9r .
?c ns:geography.river.origin ?x .
}

Volga River
geography.body_of_water.bridges
Saratov Bridge

Volga River
geography.river.origin
Valdai Hills


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

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


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.0fhp9)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0fhp9 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.venue.capacity ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.0fhp9)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0fhp9 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.venue.capacity ?num .
FILTER (xsd:integer(?num) < 4900) .
}


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

Texas
location.location.time_zones
Mountain Time Zone

Wheatland County
location.location.nearby_airports
Strathmore (D.J. Murray) Airport

Strathmore
location.location.nearby_airports
Strathmore (D.J. Murray) Airport


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

Jacksonian Democratic Party
government.political_party.ideology
Populism


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


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

Adolf Hitler
people.deceased_person.cause_of_death
Ballistic trauma

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:music.producer.releases_produced ns:m.0bfkbz5 .
?c ns:people.deceased_person.place_of_death ?x .
}

Alex Chilton
music.producer.releases_produced
Gravest Hits

Alex Chilton
people.deceased_person.place_of_death
New Orleans


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?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:award.award_nominee.award_nominations ?c .
?c ns:award.award_nomination.ceremony ns:m.0k0bbfs .
}

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


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

Ukraine
location.country.languages_spoken
Hungarian language

Hungarian language
language.human_language.language_family
Finno-Ugric languages


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

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

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


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

Caribbean special municipalities of the Netherlands

Caribbean
location.location.contains
Collectivity of Saint Martin

Collectivity of Saint Martin
common.topic.notable_types
Country

Collectivity of Saint Martin
location.country.currency_used
Euro


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:people.person.places_lived ?k .
?k ns:people.place_lived.location ns:m.053myr .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:organization.organization.leadership ?k .
?k ns:organization.leadership.person ns:m.012zdryp .
?c ns:broadcast.radio_network.affiliates ?y .
?y ns:broadcast.radio_affiliation_duration.station ?x .
?x ns:broadcast.broadcast.area_served ns:m.02_286 .
}

WNYC
broadcast.broadcast.area_served
New York City


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:religion.religious_leadership_jurisdiction.leader ?k .
?k ns:religion.religious_organization_leadership.leader ns:m.02qmnw .
?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,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.administrative_divisions ns:m.02d53g .
?c ns:location.country.capital ?x .
}

Roman Empire
location.country.capital
Rome

Roman Empire
location.country.capital
Constantinople

Roman Empire
location.country.capital
Ravenna


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.administrative_divisions ns:m.06qrc3 .
?c ns:location.country.currency_used ?x .
}

Jamaica
location.country.currency_used
Jamaican dollar


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.types_of_places_of_worship ns:m.01q4wd .
}


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_real ?c .
?c ns:measurement_unit.adjusted_money_value.adjusted_value "100236410771.0" .
}


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:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.01n3lv .
?c ns:location.country.languages_spoken ?x .
}

Dominican Republic
location.country.languages_spoken
Spanish Language

Dominican Republic
location.country.languages_spoken
Haitian Creole

Dominican Republic
location.country.languages_spoken
Samaná English


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.administrative_divisions ns:m.01pdr_ .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.office_position_or_title ns:m.0m57hp6 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
}


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:religion.religious_leadership_jurisdiction.leader ?k .
?k ns:religion.religious_organization_leadership.organization ns:m.05cx56 .
?c ns:location.country.languages_spoken ?x .
}

Ukrainian Orthodox Church of the Kyivan Patriarchate

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 != 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.from "1795-03-04"^^xsd:dateTime .
}

New York University
organization.organization.founders
Albert Gallatin


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:education.educational_institution.students_graduates ?k .
?k ns:education.education.student ns:m.0yr7vc2 .
?c ns:common.topic.notable_types ?x .
}

Colorado Technical University
common.topic.notable_types
College/University


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

Thailand
location.country.currency_used
Thai baht

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


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?to,?start,?from,?end,?num,?x,?c,?y
WHERE {
  ns:m.081pw ns:time.event.start_date ?start ;
             ns:time.event.end_date ?end .
  ?x ns:government.politician.government_positions_held  ?y .
  ?y ns:government.government_position_held.office_position_or_title ns:m.060d2 ; # President of the United States
     ns:government.government_position_held.from  ?from ;
     ns:government.government_position_held.to  ?to .
  FILTER (?from < ?end)
  FILTER (?to > ?start)?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.from ?num .
}
ORDER BY DESC(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.location.contains ?k .
?k ns:location.mailing_address.citytown ns:m.06c62 .
?c ns:location.country.currency_used ?x .
}


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


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

San Francisco Giants
sports.sports_team.championships
2012 World Series

San Francisco Giants
sports.sports_team.championships
2010 World Series

San Francisco Giants
sports.sports_team.championships
2014 World Series


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:basketball.basketball_team.head_coach ns:m.04b87b .
?c ns:sports.sports_team.arena_stadium ?x .
}

Houston Rockets
basketball.basketball_team.head_coach
Kevin McHale

Houston Rockets
sports.sports_team.arena_stadium
Toyota Center

Houston Rockets
sports.sports_team.arena_stadium
Lakewood Church Central Campus


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

Justin Bieber
music.artist.concert_tours
Believe Tour


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_used ns:m.049p2z .
?c ns:location.country.currency_used ?x .
}

Cuba
location.country.currency_used
Cuban peso

Cuba
location.country.currency_used
Cuban convertible peso


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.administrative_divisions ns:m.02h81c .
?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 ?y,?x
WHERE {
FILTER (?x != ns:m.018t67)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.018t67 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:education.educational_institution.sports_teams ns:m.05h0gpw .
}

Columbia University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:sports.sports_team.championships ns:m.0_gt_qt .
?c ns:sports.sports_team.championships ?x .
?x ns:common.topic.notable_types ns:m.01xljv1 .
}

Baltimore Ravens
sports.sports_team.championships
2001 AFC Championship Game

Baltimore Ravens
sports.sports_team.championships
Super Bowl XXXV

Super Bowl XXXV
common.topic.notable_types
Super bowl


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.capital ns:m.02rnbv .
?c ns:location.location.containedby ?x .
}

Belgium
location.country.capital
City of Brussels

Belgium
location.location.containedby
Western Europe


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

Caribbean
location.location.contains
Collectivity of Saint Martin

Collectivity of Saint Martin
common.topic.notable_types
Country

Collectivity of Saint Martin
location.country.capital
Marigot


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

Kentucky
location.location.containedby
United States, with Territories


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


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.appointed_by ns:m.0w5nf92 .
?c ns:location.country.official_language ?x .
}

Egypt
location.country.official_language
Modern Standard Arabic


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:tv.tv_series_episode.season_number "0" .
}


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.administrative_divisions ns:m.05bpcc .
?c ns:location.country.languages_spoken ?x .
}

Chile
location.country.languages_spoken
Spanish Language

Chile
location.country.languages_spoken
Mapudungun Language

Chile
location.country.languages_spoken
Aymara language

Chile
location.country.languages_spoken
Rapa Nui Language

Chile
location.country.languages_spoken
Puquina Language


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

Baltimore Ravens
sports.sports_team.championships
Super Bowl XLVII


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.organizations ns:m.010hq7jr .
}

Christianity
religion.religion.organizations
Army of the Lord


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:organization.organization.leadership ?k .
?k ns:organization.leadership.person ns:m.038w2v .
?c ns:organization.organization.headquarters ?y .
?y ns:location.mailing_address.citytown ?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:olympics.olympic_host_city.olympics_hosted ns:m.0lv1x .
?c ns:base.biblioness.bibs_location.country ?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.us_state.capital ns:m.04pry .
?c ns:location.location.time_zones ?x .
}

Michigan
location.location.time_zones
Eastern Time Zone

Michigan
location.location.time_zones
Central Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.educational_institution.newspaper ns:m.047d_mr .
}

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


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

Caribbean
location.location.contains
Saint Kitts and Nevis

Saint Kitts and Nevis
common.topic.notable_types
Country

Saint Kitts and Nevis
location.location.time_zones
Eastern Caribbean Time Zone

Caribbean
location.location.contains
Saint Lucia

Saint Lucia
common.topic.notable_types
Country

Saint Lucia
location.location.time_zones
Eastern Caribbean Time Zone

Barbados
location.location.time_zones
Eastern Caribbean Time Zone

Anguilla
location.location.time_zones
Eastern Caribbean 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:sports.sports_team.championships ns:m.0cs1gb .
?c ns:sports.sports_team.championships ?x .
}

Boston Celtics
sports.sports_team.championships
1974 NBA Finals

Boston Celtics
sports.sports_team.championships
1966 NBA Finals

Boston Celtics
sports.sports_team.championships
1984 NBA Finals

Boston Celtics
sports.sports_team.championships
1964 NBA Finals

Boston Celtics
sports.sports_team.championships
1976 NBA Finals

Boston Celtics
sports.sports_team.championships
2008 NBA Finals

Boston Celtics
sports.sports_team.championships
1969 NBA Finals

Boston Celtics
sports.sports_team.championships
1986 NBA Finals

Boston Celtics
sports.sports_team.championships
1981 NBA Finals

Boston Celtics
sports.sports_team.championships
1968 NBA Finals

Boston Celtics
sports.sports_team.championships
1965 NBA Finals

Boston Celtics
sports.sports_team.championships
1963 NBA Finals

Boston Celtics
sports.sports_team.championships
1962 NBA Finals

Boston Celtics
sports.sports_team.championships
1961 NBA Finals

Boston Celtics
sports.sports_team.championships
1960 NBA Finals

Boston Celtics
sports.sports_team.championships
1959 NBA Finals

Boston Celtics
sports.sports_team.championships
1957 NBA Finals


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:organization.organization.leadership ?k .
?k ns:organization.leadership.person ns:m.04ll1z .
?c ns:organization.organization.headquarters ?y .
?y ns:location.mailing_address.citytown ?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:sports.sports_team.championships ns:m.04tg8s .
?c ns:sports.sports_team.arena_stadium ?x .
}

Chicago Cubs
sports.sports_team.championships
1908 World Series

Chicago Cubs
sports.sports_team.arena_stadium
Wrigley Field

Chicago Cubs
sports.sports_team.arena_stadium
Hohokam Stadium

Chicago Cubs
sports.sports_team.arena_stadium
Sloan Park


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.appointed_by ns:m.02ps9k .
?c ns:location.country.currency_formerly_used ?x .
}

France
location.country.currency_formerly_used
French franc


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

FC Barcelona
sports.sports_team.championships
1957 Pequeña Copa del Mundo de Clubes


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

Indiana Jones and the Raiders of the Lost Ark


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

Manchester United F.C.
sports.sports_team.previously_known_as
Newton Heath L&YR F.C.


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:religion.religious_leadership_jurisdiction.leader ?k .
?k ns:religion.religious_organization_leadership.organization ns:m.0gyq6k .
?c ns:location.statistical_region.religions ?y .
?y ns:location.religion_percentage.religion ?x .
?y ns:location.religion_percentage.percentage ?sk0 .
}
ORDER BY DESC(xsd:float(?sk0))
LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.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:location.country.capital ns:m.01s3v .
}


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.championships ns:m.0ds8qct .
?c ns:sports.sports_team.championships ?x .
?x ns:time.event.end_date ?sk0 .
}
ORDER BY DESC(xsd:datetime(?sk0))
LIMIT 1

San Francisco Giants
sports.sports_team.championships
2012 World Series

San Francisco Giants
sports.sports_team.championships
2014 World Series


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

Michael Bublé
music.artist.concert_tours
To Be Loved Tour

Michael Bublé
people.person.profession
Actor

Michael Bublé
people.person.profession
Singer

Michael Bublé
people.person.profession
Songwriter


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

Egypt
location.country.currency_used
Egyptian pound


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.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.from "1998"^^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:education.educational_institution.mascot ns:m.07g61_ .
?c ns:education.educational_institution.mascot ?x .
}


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:organization.organization.leadership ?k .
?k ns:organization.leadership.person ns:m.0hhv_6h .
?c ns:sports.sports_team.championships ?x .
}

San Francisco Giants
sports.sports_team.championships
2010 World Series


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0261m)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0261m ns:location.location.contains ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.0d1_f .
}

Caribbean
location.location.contains
British Virgin Islands

British Virgin Islands
common.topic.notable_types
Country


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

Sunni Islam
religion.religion.texts
Holy Quran


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.0dpd2h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0dpd2h ns:music.group_member.membership ?y .
?y ns:music.group_membership.group ?x .
?x ns:music.artist.concert_tours ns:m.011c9m9b .
}

Danity Kane
music.artist.concert_tours
No Filter Tour


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:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.01kvjf .
?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 ?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.sacred_sites ns:m.0430_ .
}


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.championships ns:m.04tfrv .
?c ns:sports.sports_team.championships ?x .
}

Los Angeles Dodgers
sports.sports_team.championships
1959 World Series

Los Angeles Dodgers
sports.sports_team.championships
1963 World Series

Los Angeles Dodgers
sports.sports_team.championships
1981 World Series

Los Angeles Dodgers
sports.sports_team.championships
1965 World Series

Los Angeles Dodgers
sports.sports_team.championships
1988 World Series


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0261m)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0261m ns:location.location.contains ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.statistical_region.co2_emissions_per_capita ?c .
?c ns:measurement_unit.dated_metric_ton.date "1960"^^xsd:dateTime .
}

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


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:religion.religion.texts ns:m.02czn .
?c ns:religion.religion.texts ?x .
}

Taoism
religion.religion.texts
Tao Te Ching

Taoism
religion.religion.texts
Zhuang Zhou


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

Kentucky
location.location.containedby
United States, with Territories


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.educational_institution.mascot ns:m.0h6y7lz .
}

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 ?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.capital ns:m.01hy_ .
}


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.currency_used ns:m.01_h4b .
}

Switzerland
location.country.currency_used
Swiss franc


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.character ns:m.05m1x3_ .
?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 ?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.04v7d26 .
?c ns:people.deceased_person.place_of_death ?x .
}

J. D. Salinger
book.author.book_editions_published
The Catcher in the Rye

J. D. Salinger
people.deceased_person.place_of_death
Cornish


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.06cmp)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06cmp ns:fictional_universe.fictional_setting.languages ?x .
?x ns:music.genre.albums ns:m.01hljm5 .
}

Latin Language
music.genre.albums
Sangre Latina


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

Central America
location.location.contains
Honduras

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
Panama


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_undergraduates ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.041h0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.041h0 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:organization.organization.headquarters ?c .
?c ns:location.mailing_address.citytown ns:m.0k33p .
}


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

Nicholas Nickleby
film.film.costume_design_by
Ruth Myers


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.0365yn .
?c ns:travel.travel_destination.tourist_attractions ?x .
}


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

Greeley
location.location.contains
Academy of Natural Therapy

Academy of Natural Therapy
common.topic.notable_types
College/University


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.quotations ns:m.0685mn .
}

Robert De Niro
people.person.quotations
You talkin' to me?


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

United States Senate election in Kentucky, 2008

Kentucky
location.location.containedby
Contiguous United States

Kentucky
location.location.containedby
United States, with Territories

Kentucky
location.location.containedby
United States of America


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

Egypt
location.country.currency_used
Egyptian pound


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:common.topic.image ns:m.0jvcqcb .
?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 ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:biology.breed_origin.breeds_originating_here ns:m.0gvx7 .
?c ns:travel.travel_destination.tourist_attractions ?x .
}


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.music ns:m.0150t6 .
}

Riding in Cars with Boys
film.film.music
Hans Zimmer


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.01yjl)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01yjl ns:sports.sports_team.arena_stadium ?x .
?x ns:architecture.structure.opened ?num .
FILTER (?num < "1997"^^xsd:dateTime) .
}

Chicago Cubs
sports.sports_team.arena_stadium
Wrigley Field


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:religion.religion.founding_figures ns:m.0h9wp .
?c ns:religion.religion.texts ?x .
}

Taoism
religion.religion.texts
Zhuang Zhou

Taoism
religion.religion.texts
Tao Te Ching


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.07ssc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07ssc ns:base.aareas.schema.administrative_area.administrative_children ?x .
?x ns:location.country.internet_tld ns:m.02_85b .
}


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:music.lyricist.lyrics_written ns:m.0gbn0gr .
?c ns:book.author.works_written ?x .
?x ns:common.topic.notable_types ns:m.01xryvm .
?x ns:book.written_work.copyright_date ?sk0 .
}
ORDER BY xsd:datetime(?sk0)
LIMIT 1

Charles Dickens
music.lyricist.lyrics_written
That very wise man, Old Aesop

Charles Dickens
book.author.works_written
Oliver Twist

Oliver Twist
common.topic.notable_types
Book


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:kg.object_profile.prominent_type ns:geography.geographical_feature .
}

Whistler Mountain
location.location.containedby
North American Cordillera


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

Edgar Allan Poe
book.author.book_editions_published
The fall of the House of Usher


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


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

Switzerland
location.country.currency_used
Swiss franc


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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.release_date_s ?c .
?c ns:film.film_regional_release_date.release_date ?num .
}
ORDER BY ?num LIMIT 1

Adam Sandler
film.producer.film
Eight Crazy Nights


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

A good GI bill would increase the recruit pool.


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

Columbia University
common.topic.notable_types
College/University


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


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

Avril Lavigne
music.lyricist.lyrics_written
Stop Standing There

Avril Lavigne
people.person.place_of_birth
Belleville


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:periodicals.newspaper_circulation_area.newspapers ns:m.042d0t .
?c ns:base.biblioness.bibs_location.state ?x .
}


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

Laguna Beach
location.hud_county_place.county
Orange County


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?to,?start,?from,?end,?x,?c,?y
WHERE {
?c ns:film.film_subject.films ns:m.02rztjp .
?c 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)
}

World War II
film.film_subject.films
The Day Will Dawn


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.location.gnis_feature_id "44784" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?c,?num,?x
WHERE {
FILTER (?x != ns:m.018qjq)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.018qjq ns:location.location.partially_containedby ?x .
?x ns:base.biblioness.bibs_location.loc_type ?sk0 .
FILTER (str(?sk0) = "State")
?x ns:government.governmental_jurisdiction.official_symbols ?c .
?c ns:location.location_symbol_relationship.date_adopted ?num .
}
ORDER BY ?num LIMIT 1

Colorado River
location.location.partially_containedby
Colorado


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

Michigan
film.film_location.featured_in_films
Fight for Survival

Michigan
location.location.time_zones
Eastern Time Zone

Michigan
location.location.time_zones
Central Time Zone


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


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

Jay-Z
music.featured_artist.recordings
Suit & Tie


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

Brittany Murphy
music.featured_artist.recordings
Faster Kill Pussycat (club mix)


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.country ns:m.0345h .
}

Dr. Seuss' How the Grinch Stole Christmas


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.01ct6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01ct6 ns:sports.sports_team.championships ?x .
?x ns:sports.sports_championship_event.championship ns:m.06x5s .
?x ns:time.event.end_date ?num .
FILTER (?num < "2013-02-03"^^xsd:dateTime) .
}

Baltimore Ravens
sports.sports_team.championships
Super Bowl XXXV


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


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

Robert F. Kennedy
people.person.gender
Male


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

George Washington
film.film_subject.films
We Fight to Be Free

George Washington
people.person.place_of_birth
Westmoreland County


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

The Whiz Kid and the Mystery at Riverton


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

Benjamin Franklin
book.author.book_editions_published
Poor Richard's Almanac of 1735

Benjamin Franklin
people.person.place_of_birth
Boston


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

Robert F. Kennedy
people.deceased_person.place_of_death
Los Angeles


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

Brazil
location.country.currency_used
Brazilian real


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

Kentucky
location.location.containedby
Contiguous United States

Kentucky
location.location.containedby
United States, with Territories

Kentucky
location.location.containedby
United States of America


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

Central America
location.location.contains
Honduras

Honduras
location.country.official_language
Spanish Language

Central America
location.location.contains
Costa Rica

Costa Rica
common.topic.notable_types
Country

Costa Rica
location.country.official_language
Spanish Language

Central America
location.location.contains
Guatemala

Guatemala
location.country.official_language
Spanish Language

Central America
location.location.contains
El Salvador

El Salvador
common.topic.notable_types
Country

El Salvador
location.country.official_language
Spanish Language

Central America
location.location.contains
Panama

Panama
location.country.official_language
Spanish 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.currency_formerly_used ns:m.08tywp .
?c ns:location.country.capital ?x .
}

South Korea
location.country.currency_formerly_used
South Korean hwan

South Korea
location.country.capital
Seoul


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

Helen Keller
film.film_subject.films
The Miracle Worker

Helen Keller
people.deceased_person.place_of_death
Easton


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

Few people have the virtue to withstand the highest bidder.

George Washington
people.person.place_of_birth
Westmoreland County


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

In this Revolution no plans have been written for retreat.

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:sports.sports_team.arena_stadium ns:m.038br5 .
?c ns:sports.sports_team.arena_stadium ?x .
}

Milwaukee Brewers
sports.sports_team.arena_stadium
Miller Park


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


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.0qsvdrs .
}

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


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.production_companies ns:m.01795t .
}

The Wild Country
film.film.production_companies
Walt Disney Pictures


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

Holy Roman Empire
location.country.official_language
West Germanic languages

Holy Roman Empire
location.location.containedby
Europe


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.0rh6k .
}

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

Charles Alden Black Jr.
people.person.place_of_birth
Washington, D.C.


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 ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.office_holder ns:m.02q9bb7 .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.office_position_or_title ns:m.0m57hp6 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
}


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

Norway
location.country.languages_spoken
Saami, Lule Language

Norway
location.country.languages_spoken
Norwegian Language

Norway
location.country.languages_spoken
Saami, North Language

Norway
location.country.languages_spoken
Saami, South Language

Norway
location.country.languages_spoken
Finnish, Kven Language


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

Avril Lavigne
people.person.place_of_birth
Belleville


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


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:location.location.people_born_here ?c .
?c ns:type.object.name "Anne Krassilowsky"@en .
}

England
location.location.people_born_here
Anne Krassilowsky

Anne Krassilowsky
type.object.name
"Anne Krassilowsky"@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:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.governmental_body ns:m.03cxr7 .
?c ns:government.governmental_jurisdiction.official_symbols ?y .
?y ns:location.location_symbol_relationship.symbol ?x .
?y ns:location.location_symbol_relationship.Kind_of_symbol ns:m.04627gn .
}


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

The New School
common.topic.notable_types
College/University

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

University of Iowa
common.topic.notable_types
College/University


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

Egypt
location.country.currency_used
Egyptian pound


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

Martin Luther King, Jr.
film.film_subject.films
The Boy King


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.initial_release_date ?num .
FILTER (?num < "2014-05-01"^^xsd:dateTime) .
}

Hannah Montana and Miley Cyrus: Best of Both Worlds Concert


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

Argentina
location.country.currency_used
Argentine peso


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

Andrew Jackson: Good, Evil and the Presidency


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

Michael Bublé
music.featured_artist.recordings
Soda Pop

Michael Bublé
people.person.profession
Actor

Michael Bublé
people.person.profession
Singer

Michael Bublé
people.person.profession
Songwriter


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.0jx2vg .
}

Race to Witch Mountain
film.film.executive_produced_by
Mario Iscovich


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.story_by ns:m.025b3k .
}

3:10 to Yuma
film.film.story_by
Elmore Leonard


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


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.sequel ns:m.0286_hv .
}

High School Musical 2
film.film.sequel
High School Musical 3: Senior Year


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.governmental_body ns:m.099gwm .
?c ns:military.military_combatant.casualties ?y .
?y ns:military.casualties.military_conflict ?x .
}


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:common.topic.image ns:m.02c6jj0 .
?c ns:people.deceased_person.place_of_death ?x .
}

John Muir
common.topic.image
John Muir Cane

John Muir
people.deceased_person.place_of_death
Los Angeles


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.0345h .
}


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

Beyoncé Knowles
film.film_subject.films
Beyonce: Life on Stage

Beyoncé Knowles
people.person.children
Blue Ivy


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

Angelina Jolie
film.director.film
Unbroken


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:location.location.people_born_here ?c .
?c ns:type.object.name "Peter Cowie"@en .
}

England
location.location.people_born_here
Peter Cowie

Peter Cowie
type.object.name
"Peter Cowie"@en


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.surface_area "658.0" .
}


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

Jackson Pollock
influence.influence_node.influenced_by
Carl Jung

There is no coming to consciousness without pain.


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.second_level_divisions ns:g.119pg345_ .
}

Brazil
location.country.second_level_divisions
Pinhalzinho, Santa Catarina


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

Topher Grace
film.producer.films_executive_produced
Take Me Home Tonight


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?yr,?awd,?k,?x,?c,?y
WHERE {
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.0cc5m07 .
?c ns:award.award_winner.awards_won ?y .	# Tom Hanks
  ?y ns:award.award_honor.honored_for ?x .
  ?y ns:award.award_honor.year ?yr ;
     ns:award.award_honor.award ?awd .
  ?awd ns:award.award_category.category_of ns:m.0g_w .  # Academy Awards
}
ORDER BY ?yr
LIMIT 1

Tom Hanks
award.award_winner.awards_won
?y	# Tom Hanks

Academy Award for Best Actor
award.award_category.category_of
Academy Awards


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

Haiti
location.country.languages_spoken
Haitian Creole

Haitian Creole
language.human_language.main_country
Puerto Rico


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

Chile
law.court_jurisdiction_area.courts
Supreme Court of Chile

Chile
location.country.languages_spoken
Spanish Language

Chile
location.country.languages_spoken
Mapudungun Language

Chile
location.country.languages_spoken
Aymara language

Chile
location.country.languages_spoken
Rapa Nui Language

Chile
location.country.languages_spoken
Puquina Language


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

Iran
location.country.languages_spoken
Afshar language

Iran
location.country.form_of_government
Presidential system

Iran
location.country.form_of_government
Parliamentary system

Iran
location.country.form_of_government
Unitary state

Iran
location.country.form_of_government
Islamic republic


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.location.containedby ?x .
?x ns:location.location.events ns:m.010fgz_z .
}

Dominican Republic
location.location.containedby
Americas

Americas
location.location.events
2014 FINA Men's Water Polo World League


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

Dominican Republic
location.country.languages_spoken
Spanish Language

Dominican Republic
location.country.languages_spoken
Haitian Creole

Dominican Republic
location.country.languages_spoken
Samaná English


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:symbols.coat_of_arms_bearer.coat_of_arms_used ?k .
?k ns:symbols.armorial_grant.coat_of_arms ns:m.04c96n .
?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 ?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.0b76q3h .
?c ns:location.country.currency_used ?x .
}

Dominican Republic
location.country.currency_used
Dominican peso


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.07cf2hw .
?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 ?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.01hgwl .
?c ns:location.location.containedby ?x .
}

Belgium
location.location.containedby
Western Europe


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.0d075m .
}


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.021wn5 .
?c ns:location.country.form_of_government ?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.0d_zz .
?c ns:location.country.languages_spoken ?x .
}

Chile
location.country.second_level_divisions
Easter Island

Chile
location.country.languages_spoken
Spanish Language

Chile
location.country.languages_spoken
Mapudungun Language

Chile
location.country.languages_spoken
Aymara language

Chile
location.country.languages_spoken
Rapa Nui Language

Chile
location.country.languages_spoken
Puquina Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.office_position_or_title ns:m.01xf1v .
?c ns:location.statistical_region.religions ?y .
?y ns:location.religion_percentage.religion ?x .
}


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:government.governmental_jurisdiction.official_symbols ?c .
?c ns:location.location_symbol_relationship.symbol ns:m.092_7s .
}

Oceania
location.location.contains
Northern Mariana Islands

Northern Mariana Islands
base.biblioness.bibs_location.loc_type
Country


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.04ykz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04ykz ns:location.location.partially_contained_by ?y .
?y ns:location.partial_containment_relationship.partially_contained_by ?x .
?x ns:fictional_universe.fictional_setting.universe ns:m.0ch8hcq .
}


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


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.costume_design_by ns:m.08mp69s .
}

Angelina Jolie
film.director.film
Unbroken

Unbroken
film.film.costume_design_by
Louise Frogley


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.0w1x037 .
?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 ?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.internet_tld ns:m.03y05f .
}


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

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

Adam Sandler
film.producer.film
Grown Ups 2

Adam Sandler
film.producer.film
The Benchwarmers

Adam Sandler
film.producer.film
The House Bunny

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

Adam Sandler
film.producer.film
Bedtime Stories

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

Adam Sandler
film.producer.film
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
Dickie Roberts: Former Child Star


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?to,?start,?from,?end,?x,?c,?y
WHERE {
  ns:m.081pw ns:time.event.start_date ?start ;
             ns:time.event.end_date ?end .
  ?x ns:government.politician.government_positions_held  ?y .
  ?y ns:government.government_position_held.office_position_or_title ns:m.060d2 ; # President of the United States
     ns:government.government_position_held.from  ?from ;
     ns:government.government_position_held.to  ?to .
  FILTER (?from < ?end)
  FILTER (?to > ?start)?x ns:government.political_appointer.appointees ?c .
?c ns:government.government_position_held.office_position_or_title ns:m.02gmvh .
}


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

Jewish people
people.ethnicity.languages_spoken
Lishanid Noshan Language

Lishanid Noshan Language
language.human_language.iso_639_3_code
"aij"


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:periodicals.newspaper_circulation_area.newspapers ns:m.04yh1n .
?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 != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:meteorology.cyclone_affected_area.cyclones ns:m.0g1yw4 .
?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 ?num,?y,?x
WHERE {
FILTER (?x != ns:m.018t67)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.018t67 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:organization.organization.date_founded ?num .
FILTER (?num < "1821"^^xsd:dateTime) .
}

Columbia University
common.topic.notable_types
College/University


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

France
location.country.form_of_government
Unitary state

France
location.country.form_of_government
Semi-presidential system

France
location.country.form_of_government
Constitutional republic


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?sk0,?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.04j7j05 .
?c ns:book.author.works_written ?x .
?x ns:common.topic.notable_types ns:m.01xryvm .
?x ns:book.written_work.date_of_first_publication ?sk0 .
}
ORDER BY DESC(xsd:datetime(?sk0))
LIMIT 1

In My Time: A Personal and Political Memoir

Member of President's Advisory Council on Financial Literacy


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.04f9bz6 .
}

Jada Pinkett Smith
film.producer.films_executive_produced
The Secret Life of Bees


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

Houston Rockets
sports.sports_team.arena_stadium
Lakewood Church Central Campus


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


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

Agatha Christie
book.author.book_editions_published
The labours of Hercules

Agatha Christie
people.person.profession
Novelist

Agatha Christie
people.person.profession
Writer

Agatha Christie
people.person.profession
Screenwriter

Agatha Christie
people.person.profession
Playwright

Agatha Christie
people.person.profession
Poet


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

Michigan
film.film_location.featured_in_films
Capitalism: A Love Story

Michigan
location.location.time_zones
Eastern Time Zone

Michigan
location.location.time_zones
Central Time Zone


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.0136k0d .
?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 ?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.contains ns:g.11b62t84jq .
}

New York City
location.location.contains
Lefcourt National Building


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0ngg)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0ngg ns:people.person.profession ?x .
?x ns:government.government_office_category.officeholders ?c .
?c ns:government.government_position_held.office_holder ns:m.07nfq .
}

Augustus
people.person.profession
Roman emperor


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.film_art_direction_by ns:m.0522v58 .
}

The Music Man
film.film.film_art_direction_by
Paul Groesse


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

Valentine's Day
film.film.edited_by
Jim Clark


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

Life of Franz Liszt
music.composer.compositions
Canzone, S. 162 no. 2

Life of Franz Liszt
people.person.profession
Composer

Life of Franz Liszt
people.person.profession
Film Score Composer

Life of Franz Liszt
people.person.profession
Pianist

Life of Franz Liszt
people.person.profession
Priest

Life of Franz Liszt
people.person.profession
Virtuoso