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


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


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


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

Manhattan
location.location.time_zones
Eastern Time Zone


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

Oakland Raiders
sports.sports_team.championships
Super Bowl XI

Oakland Raiders
sports.sports_team.championships
2003 AFC Championship Game


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

Czech Republic
common.topic.notable_types
Country

Czech Republic
location.country.capital
Prague


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.education ?k .
?k ns:education.education.major_field_of_study ns:m.021hz5 .
?c ns:visual_art.visual_artist.associated_periods_or_movements ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.statistical_region.places_imported_from ?k .
?k ns:location.imports_and_exports.imported_from ns:m.05sb1 .
?c ns:location.country.languages_spoken ?x .
}

Afghanistan
location.country.languages_spoken
Farsi, Eastern Language

Afghanistan
location.country.languages_spoken
Pashto language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
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.026p6rx .
?c ns:education.educational_institution.mascot ?x .
}


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

Walt Whitman
influence.influence_node.influenced_by
Abraham Lincoln


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

Star Wars Episode III: Revenge of the Sith


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.07s6gb8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07s6gb8 ns:location.location.containedby ?x .
?x ns:location.statistical_region.co2_emissions_per_capita ?c .
?c ns:measurement_unit.dated_metric_ton.date "2009"^^xsd:dateTime .
}

Giza Necropolis
location.location.containedby
Egypt


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0d3k14)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d3k14 ns:celebrities.celebrity.sexual_relationships ?y .
?y ns:celebrities.romantic_relationship.celebrity ?x .
?x ns:medicine.notable_person_with_medical_condition.condition ns:m.0d_9n .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0d060g)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d060g ns:sports.sports_team_location.teams ?x .
?x ns:sports.sports_team.championships ns:m.0274b40 .
}

Canada
sports.sports_team_location.teams
Canadian National Men's Hockey Team

Canadian National Men's Hockey Team
sports.sports_team.championships
1931 World Ice Hockey Championships


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.education ?k .
?k ns:education.education.institution ns:m.027lvlb .
?c ns:film.actor.film ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.film ns:m.080_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:basketball.basketball_team.head_coach ns:m.0692k9 .
?c ns:sports.sports_team.championships ?x .
}

Detroit Pistons
basketball.basketball_team.head_coach
Stan Van Gundy

Detroit Pistons
sports.sports_team.championships
2004 NBA Finals

Detroit Pistons
sports.sports_team.championships
1990 NBA Finals

Detroit Pistons
sports.sports_team.championships
1989 NBA Finals


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.organizations ns:m.010ffmhn .
?c ns:religion.religion.beliefs ?x .
}

Islam
religion.religion.organizations
Tamil Nadu Thowheed Jamath

Islam
religion.religion.beliefs
God in Islam

Islam
religion.religion.beliefs
Entering Heaven alive

Islam
religion.religion.beliefs
Islamic view of angels

Islam
religion.religion.beliefs
Masih ad-Dajjal

Islam
religion.religion.beliefs
Islamic holy books

Islam
religion.religion.beliefs
Prophets in Islam

Islam
religion.religion.beliefs
Predestination in Islam


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:organization.organization.child ?k .
?k ns:organization.organization_relationship.child ns:m.0ch13r8 .
?c ns:organization.organization.headquarters ?y .
?y ns:location.mailing_address.citytown ?x .
}


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

Baltimore Orioles
sports.professional_sports_team.owner_s
Peter Angelos

Baltimore Orioles
sports.sports_team.championships
1983 World Series


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

    ns:m.09b69 ns:location.location.contains ?y1 .  # Eastern Europe
    ?y1 ns:common.topic.notable_types ns:m.01mp .   # Country
    ?y1 ns:location.statistical_region.religions ?y2 .
    ?y2 ns:location.religion_percentage.religion ?x .?x ns:religion.religion.beliefs ns:m.017tgt .
}

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

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

Judaism
religion.religion.beliefs
Divine simplicity


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
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.0lbd9 .
?c ns:travel.travel_destination.how_to_get_here ?y .
?y ns:travel.transportation.transport_terminus ?x .
?y ns:travel.transportation.mode_of_transportation ns:m.07jdr .
}


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:organization.organization.child ?k .
?k ns:organization.organization_relationship.child ns:m.03wj1k .
?c ns:education.educational_institution.mascot ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.places_lived ?k .
?k ns:people.place_lived.location ns:m.0xghz3 .
?c ns:book.author.works_written ?x .
?x ns:book.book.genre ns:m.0dwly .
}

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

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

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

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

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

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

Suzanne Collins
book.author.works_written
FIRE PROOF

FIRE PROOF
book.book.genre
Children's literature


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:religion.religion.beliefs ns:m.019ddk .
?c ns:religion.religion.practices ?x .
}

Abrahamic religions
religion.religion.beliefs
End time

Abrahamic religions
religion.religion.practices
Circumcision

Abrahamic religions
religion.religion.practices
Monotheism


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.0_gtzyv .
?c ns:sports.sports_team.arena_stadium ?x .
?x ns:architecture.structure.opened ?sk0 .
}
ORDER BY DESC(xsd:datetime(?sk0))
LIMIT 1

Seattle Seahawks
sports.sports_team.championships
2014 NFC Championship Game

Seattle Seahawks
sports.sports_team.arena_stadium
CenturyLink 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:location.country.administrative_divisions ns:m.04swd .
?c ns:location.country.currency_used ?x .
}

Russia
location.country.currency_used
Russian ruble


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

Selena Gomez
people.person.ethnicity
Italian American

Selena Gomez
people.person.ethnicity
Mexicans


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.artist.concert_tours ns:m.09ghb6b .
?c ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
}

Rihanna
music.artist.concert_tours
Last Girl on Earth


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.education ?k .
?k ns:education.education.institution ns:m.0ccg42 .
?c ns:celebrities.celebrity.sexual_relationships ?y .
?y ns:celebrities.romantic_relationship.celebrity ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.017lqp)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.017lqp ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:location.location.time_zones ns:m.03bdv .
}

London
location.location.time_zones
Greenwich Mean Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.07s05 .
?c ns:location.country.official_language ?x .
}

Scotland
location.country.official_language
English Language


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.01xvb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01xvb ns:sports.professional_sports_team.draft_picks ?y .
?y ns:sports.sports_league_draft_pick.player ?x .
?x ns:sports.pro_athlete.sports_played_professionally ?c .
?c ns:sports.pro_sports_played.career_start ?num .
FILTER (?num > "2004"^^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:olympics.olympic_host_city.olympics_hosted ns:m.09n48 .
?c ns:travel.travel_destination.tourist_attractions ?x .
}


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

Donna Summer
music.artist.concert_tours
Crayons Tour

Donna Summer
people.deceased_person.cause_of_death
Cancer

Donna Summer
people.deceased_person.cause_of_death
Lung cancer


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
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.location.contains ?c .
?c ns:aviation.airport.serves ns:m.05g2b .
}

Germany
location.location.contains
Weeze Airport

Weeze Airport
aviation.airport.serves
Nijmegen


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.06xxc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06xxc ns:people.person.nationality ?x .
?x ns:location.country.administrative_divisions ns:m.0110_1rf .
}

Samuel Pepys
people.person.nationality
China


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.064r7fk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.064r7fk ns:language.human_language.main_country ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.0c3xm .
}

Standard Tibetan
language.human_language.main_country
China


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.appointed_by ns:m.0264nv .
?c ns:travel.travel_destination.how_to_get_here ?y .
?y ns:travel.transportation.transport_terminus ?x .
?y ns:travel.transportation.mode_of_transportation ns:m.07jdr .
?x ns:location.location.containedby ?c .
}

San Francisco 4th and King Street Station


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:sports.professional_sports_team.owner_s ns:m.0j0_5n_ .
?c ns:common.topic.notable_for ?y .
?y ns:common.notable_for.notable_object ?x .
}

Colorado Eagles
sports.professional_sports_team.owner_s
Colorado Eagles Professional Hockey LLC


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01xyt7)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01xyt7 ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
?x ns:sports.professional_sports_team.owner_s ns:m.050kkl .
}

New England Patriots
sports.professional_sports_team.owner_s
Robert Kraft


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.03_j8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_j8 ns:people.person.nationality ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.0cmxq .
}

James Cook
people.person.nationality
Kingdom of Great Britain


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


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


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

    ns:m.09b69 ns:location.location.contains ?y1 .  # Eastern Europe
    ?y1 ns:common.topic.notable_types ns:m.01mp .   # Country
    ?y1 ns:location.statistical_region.religions ?y2 .
    ?y2 ns:location.religion_percentage.religion ?x .?x ns:religion.religion.places_of_worship ns:g.123852dg .
}

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

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

Judaism
religion.religion.places_of_worship
Yanina Synagogue


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0_6t_z8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0_6t_z8 ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:religion.religious_leadership_jurisdiction.leader ?c .
?c ns:religion.religious_organization_leadership.leader ns:m.0w343p9 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.098tx .
?c ns:location.country.official_language ?x .
}

Belgium
location.country.official_language
Dutch Language

Belgium
location.country.official_language
German Language


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:organization.organization.leadership ?k .
?k ns:organization.leadership.person ns:m.04zyzk1 .
?c ns:sports.sports_award_winner.awards ?y .
?y ns:sports.sports_award.season ?x .
?y ns:sports.sports_award.award ns:m.02_p0 .
}


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

United States of America
common.topic.notable_types
Country


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.083tk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.083tk ns:language.human_language.countries_spoken_in ?x .
?x ns:location.country.capital ns:m.04vyzk .
}

Principality of Wales
location.country.capital
Dolwyddelan


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

Hannah Montana and Miley Cyrus: Best of Both Worlds Concert


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:organization.organization.child ?k .
?k ns:organization.organization_relationship.child ns:m.09mw1_1 .
?c ns:automotive.company.make_s ?x .
?x ns:common.topic.notable_types ns:m.02ht342 .
}

General Motors
automotive.company.make_s
Buick

Buick
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
Pontiac

Pontiac
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
Vauxhall

Vauxhall
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
HSV

HSV
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
General Motors

General Motors
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
Oldsmobile

Oldsmobile
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
Hummer

Hummer
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
Holden

Holden
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
GMC

GMC
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
GM Korea

GM Korea
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
Geo

Geo
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
LaSalle

LaSalle
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
Acadian

Acadian
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
Terex

Terex
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
GM PUMA

GM PUMA
common.topic.notable_types
Automobile Make

General Motors
automotive.company.make_s
Oakland Motor Car Company

Oakland Motor Car Company
common.topic.notable_types
Automobile Make


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.01l87f .
?c ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
}


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

Miami Dolphins
sports.sports_team.championships
Super Bowl VII


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

Anglicanism
religion.religion.notable_figures
Richard Hooker


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.056_y)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.056_y ns:travel.travel_destination.tourist_attractions ?x .
?x ns:location.location.time_zones ns:m.02llzg .
}

Museo Nacional Del Prado
location.location.time_zones
Central European Time Zone

Plaza Mayor, Madrid
location.location.time_zones
Central European Time Zone

Parque Warner Madrid
location.location.time_zones
Central European Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.060_7)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.060_7 ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:location.location.people_born_here ?c .
?c ns:sports.pro_athlete.career_start "2003"^^xsd:dateTime .
}

Madrid
location.location.people_born_here
Bernard Berrian


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.056_y)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.056_y ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.museum.established "1819"^^xsd:dateTime .
}


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

Egypt
location.country.form_of_government
Semi-presidential system

Egypt
location.country.form_of_government
Provisional government


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.education ?k .
?k ns:education.education.institution ns:m.07qymj .
?c ns:sports.drafted_athlete.drafted ?y .
?y ns:sports.sports_league_draft_pick.draft ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01b0dl)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01b0dl ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
?x ns:sports.professional_sports_team.owner_s ns:m.010n_74d .
}

Kansas City Chiefs
sports.professional_sports_team.owner_s
The Hunt Family


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

Bolivia
location.country.currency_used
Bolivian boliviano


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:organization.organization.leadership ?k .
?k ns:organization.leadership.person ns:m.0ztp4d9 .
?c ns:location.location.containedby ?x .
?x ns:common.topic.notable_types ns:m.0kpys4 .
}

Harvard College
location.location.containedby
Massachusetts

Massachusetts
common.topic.notable_types
US State


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

Baltimore Orioles
sports.sports_team.team_mascot
The Oriole Bird

Baltimore Orioles
sports.sports_team.championships
1983 World Series


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01xyt7)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01xyt7 ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
?x ns:sports.sports_team.fight_song ns:m.02pjx3n .
}

New England Patriots
sports.sports_team.fight_song
I'm Shipping Up to Boston


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

Greece
location.country.languages_spoken
Greek Language

Greece
location.country.languages_spoken
Albanian language


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

Miley Cyrus
music.artist.concert_tours
Bangerz Tour

Hannah Montana and Miley Cyrus: Best of Both Worlds Concert


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.059dn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.059dn ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:location.location.time_zones ns:m.03plfd .
}

North Atlantic Treaty Organization (NATO)

Bulgaria
location.location.time_zones
Eastern European Time Zone


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0165v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0165v ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:religion.religious_leadership_jurisdiction.leader ?c .
?c ns:religion.religious_organization_leadership.organization ns:m.04399 .
}


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

Saint Lucia
location.country.capital
Castries

Saint Lucia
location.location.nearby_airports
George F. L. Charles Airport


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:sports.sports_team.fight_song ns:m.0hn47l4 .
?c ns:sports.professional_sports_team.draft_picks ?y .
?y ns:sports.sports_league_draft_pick.player ?x .
}

Cleveland Browns
sports.sports_team.fight_song
Hi-O-Hi-O for Cleveland


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.capital ns:m.0dhd5 .
?c ns:government.governmental_jurisdiction.governing_officials ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.basic_title ns:m.060c4 .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "1980-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) >= "1980-01-01"^^xsd:dateTime) })
}


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

Utah
tv.tv_location.tv_shows_filmed_here
Dr Fubalous


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0jzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jzc ns:language.human_language.countries_spoken_in ?x .
?x ns:tv.tv_location.tv_shows_filmed_here ns:m.07chkxq .
}

Israel
tv.tv_location.tv_shows_filmed_here
Zola Levitt Presents


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

Aruba
location.country.currency_used
Aruban florin


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

Star Wars Episode III: Revenge of the Sith


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.019_cn .
?c ns:location.country.languages_spoken ?x .
}

Bahamas
location.country.languages_spoken
English Language

Bahamas
location.country.languages_spoken
Bahamas Creole English Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0_6t_z8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0_6t_z8 ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:location.country.administrative_divisions ns:g.11xgqbdrw .
}


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.03myjt .
?c ns:location.location.nearby_airports ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0kc6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0kc6 ns:influence.influence_node.influenced_by ?x .
?x ns:medicine.notable_person_with_medical_condition.condition ns:m.0d19y2 .
}

Andy Warhol
influence.influence_node.influenced_by
Jack Smith


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.059dn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.059dn ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:location.location.contains ?c .
?c ns:aviation.airport.serves ns:m.05g2b .
}

Germany
location.location.contains
Weeze Airport

Weeze Airport
aviation.airport.serves
Nijmegen


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0d9jr)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d9jr ns:travel.travel_destination.tourist_attractions ?x .
?x ns:tv.tv_location.tv_shows_filmed_here ns:m.076tkvz .
}

Space Needle
tv.tv_location.tv_shows_filmed_here
The Night Strangler


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


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

Ukraine
location.country.currency_used
Ukrainian hryvnia


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

James Cook
people.person.nationality
United Kingdom

James Cook
people.person.nationality
Kingdom of Great Britain


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

Islam
religion.religion.organizations
Tamil Nadu Thowheed Jamath


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
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.025v9nm .
?c ns:business.consumer_company.products ?y .
?y ns:business.company_product_relationship.consumer_product ?x .
FILTER(NOT EXISTS {?y ns:business.company_product_relationship.from_date ?sk0} ||
EXISTS {?y ns:business.company_product_relationship.from_date ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:business.company_product_relationship.to_date ?sk2} ||
EXISTS {?y ns:business.company_product_relationship.to_date ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
}

Google
business.consumer_company.products
Google Buzz


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


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

Iowa State University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.04d9t7 .
?c ns:sports.sport_country.athletic_performances ?y .
?y ns:sports.competitor_competition_relationship.competitors ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01b0dl)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01b0dl ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
?x ns:sports.sports_team.championships ns:m.076mc .
}

Kansas City Chiefs
sports.sports_team.championships
Super Bowl IV


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.04swx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04swx ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.administrative_divisions ns:m.0199s4 .
}


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

Taoism
religion.religion.notable_figures
Zhang Jue

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.06xxc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06xxc ns:people.person.nationality ?x .
?x ns:location.country.capital ns:m.01914 .
}

Samuel Pepys
people.person.nationality
China


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.beliefs ns:m.032tgd .
?c ns:religion.religion.texts ?x .
}


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


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

Standard Tibetan
language.human_language.main_country
China


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.03ppx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03ppx ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.educational_institution.mascot ns:m.0d30v .
}


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

Heritage Netherlands Reformed Congregations


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

Afghanistan
location.country.currency_used
Afghan afghani


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

Jamaica
location.country.currency_used
Jamaican dollar


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

Niger River
geography.river.basin_countries
Mali

Niger River
geography.river.basin_countries
Guinea


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:tv.tv_location.tv_shows_filmed_here ns:m.0jkvl5n .
?c ns:location.country.official_language ?x .
}

China
tv.tv_location.tv_shows_filmed_here
The Bride with White Hair

China
location.country.official_language
Standard Chinese


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0_6t_z8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0_6t_z8 ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:location.country.capital ns:m.0177z .
}


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:architecture.architect.structures_designed ns:m.0422md .
?c ns:influence.influence_node.influenced_by ?x .
}

Antoni Gaudí
influence.influence_node.influenced_by
Eugène Viollet-le-Duc

Antoni Gaudí
influence.influence_node.influenced_by
William Morris


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


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

Walt Whitman
influence.influence_node.influenced_by
Abraham Lincoln


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

Miami Dolphins
sports.sports_team.championships
Super Bowl VII


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

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

Detroit Pistons
sports.sports_team.team_mascot
Hooper

Detroit Pistons
sports.sports_team.championships
2004 NBA Finals

Detroit Pistons
sports.sports_team.championships
1990 NBA Finals

Detroit Pistons
sports.sports_team.championships
1989 NBA Finals


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

Giza Necropolis
location.location.containedby
Egypt


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:architecture.architect.structures_designed ns:m.02kpf3 .
?c ns:people.deceased_person.place_of_death ?x .
}

Thomas Jefferson
people.deceased_person.place_of_death
Charlottesville


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.01f58t .
?c ns:location.country.official_language ?x .
}

Jamaica
location.country.official_language
Jamaican English


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

The Lord of the Rings: The Fellowship of the Ring


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

Denmark
location.country.currency_used
Danish krone


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0165v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0165v ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:religion.religious_leadership_jurisdiction.leader ?c .
?c ns:religion.religious_organization_leadership.organization ns:m.01fgks .
}


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

Whitney Houston
music.artist.concert_tours
I'm Your Baby Tonight World Tour

Whitney Houston
people.deceased_person.cause_of_death
Drowning

Whitney Houston
people.deceased_person.cause_of_death
Coronary artery disease

Whitney Houston
people.deceased_person.cause_of_death
Cocaine overdose


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

Catholicism
religion.religion.beliefs
Virgin birth of Jesus


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

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.064r7fk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.064r7fk ns:language.human_language.main_country ?x .
?x ns:tv.tv_location.tv_shows_filmed_here ns:m.0jkvl5n .
}

Standard Tibetan
language.human_language.main_country
China

China
tv.tv_location.tv_shows_filmed_here
The Bride with White Hair


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

    ns:m.09b69 ns:location.location.contains ?y1 .  # Eastern Europe
    ?y1 ns:common.topic.notable_types ns:m.01mp .   # Country
    ?y1 ns:location.statistical_region.religions ?y2 .
    ?y2 ns:location.religion_percentage.religion ?x .?x ns:religion.religion.notable_figures ns:m.025t1rz .
}

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

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


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.01p52 .
?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


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

    ns:m.09b69 ns:location.location.contains ?y1 .  # Eastern Europe
    ?y1 ns:common.topic.notable_types ns:m.01mp .   # Country
    ?y1 ns:location.statistical_region.religions ?y2 .
    ?y2 ns:location.religion_percentage.religion ?x .?x ns:religion.religion.beliefs ns:m.012lvl .
}

Romania
common.topic.notable_types
m.01mp   # Country


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0127mr)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0127mr ns:time.event.locations ?x .
?x ns:location.us_state.capital ns:m.05jbn .
}

Battle of Shiloh
time.event.locations
Tennessee


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01b0dl)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01b0dl ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
?x ns:sports.sports_team.fight_song ns:m.098b0d .
}

Washington Huskies football
sports.sports_team.fight_song
Bow Down to Washington


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:american_football.football_team.current_head_coach ?x .
}

Baltimore Ravens
sports.sports_team.championships
2001 AFC Championship Game


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

Tunisia
location.country.currency_used
Tunisian dinar


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

Walt Whitman
influence.influence_node.influenced_by
Abraham Lincoln


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

Ottoman Empire
location.country.capital
Bursa

Ottoman Empire
location.location.containedby
Near East


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:organization.organization.leadership ?k .
?k ns:organization.leadership.person ns:m.05wb09 .
?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.039h0j .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2012-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2012-01-01"^^xsd:dateTime) })
}


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

Hot Springs High School
common.topic.notable_types
School


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

Real Madrid C.F.
sports.sports_team.championships
1952 Pequeña Copa del Mundo de Clubes


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


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:wine.wine_region.wine_styles ns:m.01jg9j .
?c ns:location.country.languages_spoken ?x .
}

Greece
location.country.languages_spoken
Greek Language

Greece
location.country.languages_spoken
Albanian language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.04rrd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04rrd ns:government.political_district.representatives ?y .
?y ns:government.government_position_held.office_holder ?x .
?y ns:government.government_position_held.governmental_body ns:m.07t58 .
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) })
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.from ?num .
}
ORDER BY ?num LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:religion.religion.beliefs ns:m.09kb_2 .
?c ns:religion.religion.beliefs ?x .
}

Islam
religion.religion.beliefs
God in Islam

Islam
religion.religion.beliefs
Entering Heaven alive

Islam
religion.religion.beliefs
Islamic view of angels

Islam
religion.religion.beliefs
Masih ad-Dajjal

Islam
religion.religion.beliefs
Islamic holy books

Islam
religion.religion.beliefs
Prophets in Islam

Islam
religion.religion.beliefs
Predestination in Islam


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

Miami Dolphins
sports.professional_sports_team.owner_s
Jimmy Buffett


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

Canada
location.location.time_zones
Eastern Time Zone


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

Iowa State University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.statistical_region.major_exports ?k .
?k ns:location.imports_exports_by_industry.industry ns:m.03q9v6s .
?c ns:location.country.languages_spoken ?x .
}

Afghanistan
location.country.languages_spoken
Farsi, Eastern Language

Afghanistan
location.country.languages_spoken
Pashto language


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

Protestantism
religion.religion.texts
Book of Nehemiah

Catholicism
religion.religion.texts
Book of Nehemiah


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


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

South Africa
location.country.languages_spoken
Nama Language

South Africa
location.country.currency_used
South African rand


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

Fred Durst
music.featured_artist.recordings
The Incredible

Fred Durst
people.person.profession
Businessperson

Fred Durst
people.person.profession
Actor

Fred Durst
people.person.profession
Film director

Fred Durst
people.person.profession
Guitarist

Fred Durst
people.person.profession
Musician

Fred Durst
people.person.profession
Singer

Fred Durst
people.person.profession
Songwriter

Fred Durst
people.person.profession
Rapper


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0165v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0165v ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.governmental_body ns:m.032pcg .
}


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

Russia
location.country.languages_spoken
Tsakhur Language

North Korea
common.topic.notable_types
Country


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

Johns Hopkins University
common.topic.notable_types
College/University


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


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

Art Smith
people.person.place_of_birth
Jasper


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

Belize
base.locations.countries.continent
North America


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

Egypt
location.country.form_of_government
Semi-presidential system

Semi-presidential system
government.form_of_government.countries
Burkina Faso


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

Jamaica
location.country.languages_spoken
Jamaican English

Jamaica
location.country.currency_used
Jamaican dollar


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.06y57)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06y57 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:amusement_parks.park.rides ns:m.0c36nc .
}

Luna Park Sydney
amusement_parks.park.rides
Big Dipper


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:event.public_speaker.speeches_or_presentations ?k .
?k ns:event.speech_or_presentation.speech_topic ns:m.02mdg .
?c ns:people.person.place_of_birth ?x .
?x ns:common.topic.notable_types ns:m.01m9 .
}

Barack Obama
people.person.place_of_birth
Honolulu


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

United States of America
common.topic.notable_types
Country


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.059rby)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.059rby ns:location.location.containedby ?x .
?x ns:kg.object_profile.prominent_type ns:location.location .
}

New York
location.location.containedby
Contiguous United States


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

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


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

If I Never See Your Face Again (remix edit)


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

Russia
location.country.currency_used
Russian ruble


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

Cut Bank
film.film.edited_by
Carol Littleton


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

Roy Lichtenstein
influence.influence_node.influenced_by
Robert Rauschenberg


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

Ayrton Senna
film.film_subject.films
A Star Named Ayrton Senna

Ayrton Senna
people.person.profession
Race car driver


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

China
location.country.official_language
Standard Chinese


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

Elizabeth Taylor
common.topic.image
Elizabeth Taylor


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
    {
      SELECT ?x (COUNT(?x) as ?count)
      WHERE {
          ns:m.02_p0 ns:sports.sports_award_type.winners ?y .
          ?y ns:sports.sports_award.award_winner ?x .
      }
    }
    {
      SELECT (MAX(?count) AS ?maxCount)
      WHERE {
        SELECT ?x (COUNT(?x) as ?count)
        WHERE {
          ns:m.02_p0 ns:sports.sports_award_type.winners ?y .
          ?y ns:sports.sports_award.award_winner ?x .
        }
      }
    }
    FILTER (?maxCount = ?count)?x ns:sports.sports_team.founded "1886"^^xsd:dateTime .
}


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

A Cinderella Story: Once Upon a Song
film.film.prequel
Another Cinderella Story


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


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

Fred Durst
people.person.profession
Businessperson

Fred Durst
people.person.profession
Actor

Fred Durst
people.person.profession
Film director

Fred Durst
people.person.profession
Guitarist

Fred Durst
people.person.profession
Musician

Fred Durst
people.person.profession
Singer

Fred Durst
people.person.profession
Songwriter

Fred Durst
people.person.profession
Rapper


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

William Shakespeare
influence.influence_node.influenced_by
Ovid


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

American Football League
organization.organization.founders
Lamar Hunt


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


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

Harry Potter and the Philosopher's Stone


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
    {
      SELECT ?x (COUNT(?x) as ?count)
      WHERE {
          ns:m.02_p0 ns:sports.sports_award_type.winners ?y .
          ?y ns:sports.sports_award.award_winner ?x .
      }
    }
    {
      SELECT (MAX(?count) AS ?maxCount)
      WHERE {
        SELECT ?x (COUNT(?x) as ?count)
        WHERE {
          ns:m.02_p0 ns:sports.sports_award_type.winners ?y .
          ?y ns:sports.sports_award.award_winner ?x .
        }
      }
    }
    FILTER (?maxCount = ?count)?x ns:sports.sports_team.location ns:m.07cd78 .
}


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

William Shakespeare
influence.influence_node.influenced_by
Thomas More

Thomas More
influence.influence_node.influenced_by
Giovanni Pico della Mirandola


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


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

University of South Carolina
location.location.containedby
South Carolina


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.08k5jg)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.08k5jg ns:people.ethnicity.languages_spoken ?x .
?x ns:fictional_universe.fictional_language.where_spoken ns:g.113qbfr8j .
}

Navajo people
people.ethnicity.languages_spoken
English Language


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.03yk4pb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03yk4pb ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:location.location.gnis_feature_id ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.04swx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04swx ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.calling_code "90" .
}


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

Under Secretary of Defense for Personnel and Readiness

Barack Obama
government.us_president.vice_president
Joe Biden


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

Liz McClarnon
music.featured_artist.recordings
Imagine (feat. Liz McClarnon)


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.01vrncs)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01vrncs ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:location.location.gnis_feature_id ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1


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

World Music Award for World's Best Selling Barbadian Artist


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

Snug Harbor Cultural Center and Botanical Garden


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.03_j8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_j8 ns:people.person.nationality ?x .
?x ns:location.location.contains ns:g.1ym82p_35 .
}

James Cook
people.person.nationality
United Kingdom

United Kingdom
location.location.contains
Seven Sisters Road


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0jzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jzc ns:language.human_language.countries_spoken_in ?x .
?x ns:location.location.people_born_here ?c .
?c ns:influence.peer_relationship.peers ns:m.0_ynq56 .
}

Tunisia
location.location.people_born_here
Jeanne Favret-Saada

Jeanne Favret-Saada
influence.peer_relationship.peers
Josée Contreras


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


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

Finland
location.country.languages_spoken
Finnish Language

Finland
location.country.languages_spoken
Swedish Language

Finland
location.country.languages_spoken
Saami, North Language

Finland
location.country.languages_spoken
Saami, Inari 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:book.author.book_editions_published ns:m.04vcd_5 .
?c ns:government.us_president.vice_president ?x .
}

Barack Obama
book.author.book_editions_published
The Audacity of Hope


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:award.award_nominee.award_nominations ?k .
?k ns:award.award_nomination.nominated_for ns:m.0mxnyc_ .
?c ns:music.musical_group.member ?y .
?y ns:music.group_membership.member ?x .
}


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

So Undercover
film.film.directed_by
Tom Vaughan


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.03_y2f)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_y2f ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
?x ns:sports.sports_team.founded ?num .
FILTER (?num > "1905-03-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:food.beer_country_region.beers_from_here ns:m.04dqqqw .
?c ns:location.country.official_language ?x .
}

Jamaica
location.country.official_language
Jamaican English


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?sk0,?k,?c,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.film ns:m.0gxttnx .
?c ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?x ns:people.person.gender ns:m.02zsn .
?y ns:people.marriage.from ?sk0 .
}
ORDER BY DESC(xsd:datetime(?sk0))
LIMIT 1

Susan Downey
people.person.gender
Female


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

Johnny Depp
music.composer.compositions
Sands Theme

Johnny Depp
music.group_member.instruments_played
Guitar

Johnny Depp
music.group_member.instruments_played
Slide guitar


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

Abraham Lincoln 1861 presidential inauguration

Abraham Lincoln 1865 presidential inauguration

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


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

China
location.country.official_language
Standard Chinese


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01vrncs)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01vrncs ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:topic_server.population_number "12045" .
}


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

Walt Whitman
influence.influence_node.influenced_by
Ralph Waldo Emerson

Ralph Waldo Emerson
influence.influence_node.influenced_by
Adam Mickiewicz


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

Sacramento
location.hud_county_place.county
Sacramento County