PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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 "1987-01-03"^^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:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.01nwq8 .
?c ns:location.country.currency_used ?x .
}

Tunisia
location.country.currency_used
Tunisian dinar


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.014wq_ .
}


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

Vietnam
location.country.currency_used
Vietnamese dong


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.01dnlr .
?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:music.artist.concert_tours ns:m.0crgs6s .
?c ns:people.deceased_person.cause_of_death ?x .
?x ns:people.cause_of_death.parent_cause_of_death ns:m.0qcr0 .
}

Donna Summer
music.artist.concert_tours
Live & More Encore Tour

Donna Summer
people.deceased_person.cause_of_death
Lung cancer


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.05yxpb .
?c ns:sports.sport_country.athletic_performances ?y .
?y ns:sports.competitor_competition_relationship.competitors ?x .
}

Kenya
location.country.currency_used
Kenyan shilling


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.types_of_places_of_worship ns:m.0pc5qwj .
?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.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.currency_used ns:m.01hfll .
}

Hungary
location.country.currency_used
Hungarian forint


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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 ?num .
FILTER (?num < "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:music.artist.concert_tours ns:m.0t52yjt .
?c ns:people.person.ethnicity ?x .
}

Selena Gomez
music.artist.concert_tours
Stars Dance Tour

Selena Gomez
people.person.ethnicity
Italian American

Selena Gomez
people.person.ethnicity
Mexicans


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.location.time_zones ns:m.02llzg .
}

Spain
location.location.time_zones
Central European Time Zone

France
location.location.time_zones
Central European Time Zone

Monaco
location.location.time_zones
Central European Time Zone


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.notable_figures ns:m.025t1rz .
}


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.04yhd8 .
?c ns:organization.organization.founders ?x .
}

Ford Motor Company
organization.organization.founders
Henry Ford


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:tv.tv_location.tv_shows_filmed_here ns:m.0jkvl5n .
?c ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
}

China
tv.tv_location.tv_shows_filmed_here
The Bride with White Hair

North Korea
common.topic.notable_types
Country


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

Guyana
location.country.currency_used
Guyanese dollar

Guyana
location.country.languages_spoken
English Language

Guyana
location.country.languages_spoken
Portuguese Language

Guyana
location.country.languages_spoken
Spanish Language

Guyana
location.country.languages_spoken
Macushi Language

Guyana
location.country.languages_spoken
Carib Language

Guyana
location.country.languages_spoken
Warao Language

Guyana
location.country.languages_spoken
Wapishana Language

Guyana
location.country.languages_spoken
Akawaio Language

Guyana
location.country.languages_spoken
Waiwai Language

Guyana
location.country.languages_spoken
Patamona 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:sports.sports_team.championships ns:m.0_gt_mg .
?c ns:sports.sports_team.league ?y .
?y ns:sports.sports_league_participation.league ?x .
}

Indianapolis Colts
sports.sports_team.championships
2007 AFC Championship Game


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

Australia
location.location.time_zones
Central Western Time Zone

Australia
location.country.currency_used
Australian dollar


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:location.country.administrative_divisions ns:m.012yz_ .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:location.country.capital ns:m.01hy_ .
}


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

Fiji
location.country.currency_used
Fijian dollar

Fiji
location.country.form_of_government
Military dictatorship

Fiji
location.country.form_of_government
Parliamentary republic

Fiji
location.country.form_of_government
Military junta


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

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,?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.01gqws .
?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
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.administrative_divisions ns:m.04xxpj .
?c ns:location.location.nearby_airports ?x .
}

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


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


#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.sacred_sites ns:m.01vtnc .
}

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 ?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.010gnfqt .
?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 ?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:zoos.zoo.opened "1931-08-01"^^xsd:dateTime .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.team_mascot ns:m.05cbjlv .
}

Chelsea F.C.
sports.sports_team.team_mascot
Stamford The Lion


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

Giza Necropolis
location.location.containedby
Egypt


#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.sacred_sites ns:m.0430_ .
}

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

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


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.capital ns:m.01914 .
}

Standard Tibetan
language.human_language.main_country
China


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

China
location.country.official_language
Standard Chinese


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.places_lived ?k .
?k ns:people.place_lived.location ns:m.0drdtz .
?c ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
}


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

Jamaica
location.country.currency_used
Jamaican dollar


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

Arsenal F.C.
sports.sports_team.championships
2014 FA Cup Final


#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.texts ns:m.0134k1 .
}

Judaism
religion.religion.texts
Shulchan Aruch


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.09sxls .
?c ns:religion.religion.beliefs ?x .
}

Islam
religion.religion.organizations
Progressive Dawoodi Bohra

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,?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.people_born_here ?c .
?c ns:sports.pro_athlete.career_start "1999"^^xsd:dateTime .
}

Los Angeles
location.location.people_born_here
Toby Bailey

Los Angeles
location.location.people_born_here
Dennis Northcutt

Los Angeles
location.location.people_born_here
Kabeer Gbaja-Biamila

Los Angeles
location.location.people_born_here
Billy Miller

Los Angeles
location.location.people_born_here
Andre Miller

Los Angeles
location.location.people_born_here
Arthur Lee


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 > "2007-05-16"^^xsd:dateTime) .
}


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

South Africa
location.country.currency_used
South African rand


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:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.012s1x .
}


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:location.location.time_zones ns:m.02lcqs .
}

Tillicum Village
location.location.time_zones
Pacific Time Zone


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

Bahamas
location.country.currency_used
Bahamian dollar

Bahamas
location.country.languages_spoken
English Language

Bahamas
location.country.languages_spoken
Bahamas Creole English Language


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


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:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.01dsxn .
}


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.professional_sports_team.owner_s ns:m.03nrwfz .
?c ns:sports.sports_team.location ?x .
}

Pittsburgh Steelers
sports.professional_sports_team.owner_s
Rooney family

Pittsburgh Steelers
sports.sports_team.location
Pittsburgh


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

Arsenal F.C.
sports.professional_sports_team.owner_s
Alisher Usmanov


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

Guyana
location.country.languages_spoken
English Language

Guyana
location.country.languages_spoken
Portuguese Language

Guyana
location.country.languages_spoken
Spanish Language

Guyana
location.country.languages_spoken
Macushi Language

Guyana
location.country.languages_spoken
Carib Language

Guyana
location.country.languages_spoken
Warao Language

Guyana
location.country.languages_spoken
Wapishana Language

Guyana
location.country.languages_spoken
Akawaio Language

Guyana
location.country.languages_spoken
Waiwai Language

Guyana
location.country.languages_spoken
Patamona 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.administrative_divisions ns:m.010v_j8w .
}


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.newspaper ns:m.05pxg67 .
}

Gettysburg College
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.us_state.capital ns:m.0ftvz .
?c ns:travel.travel_destination.tourist_attractions ?x .
}


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.0263mmm .
?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
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.01064kcx .
?c ns:people.deceased_person.place_of_death ?x .
}

Adolf Hitler
people.deceased_person.place_of_death
Berlin


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

New Orleans Saints
sports.sports_team.championships
Super Bowl XLIV


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

Ottoman Empire
location.location.containedby
Near East


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.administrative_divisions ns:m.0100sl5y .
}


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

Tunisia
location.country.currency_used
Tunisian dinar


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

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

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

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


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

Ottoman Empire
location.country.currency_used
Ottoman lira


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.04r341 .
?c ns:education.educational_institution.mascot ?x .
}


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

Fiji
location.country.form_of_government
Military dictatorship

Fiji
location.country.form_of_government
Parliamentary republic

Fiji
location.country.form_of_government
Military junta


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.06xb9f .
?c ns:location.country.form_of_government ?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:film.film.starring ?k .
?k ns:film.performance.character ns:m.0h5r39d .
?c ns:film.film.featured_film_locations ?x .
}

Stand by Me
film.film.featured_film_locations
Oregon


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.024c1p .
}


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.currency_used ns:m.024nzm .
}

Argentina
location.country.currency_used
Argentine peso


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:religion.religious_leadership_jurisdiction.leader ?c .
?c ns:religion.religious_organization_leadership.leader ns:m.02qmnw .
}


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.location.time_zones ns:m.02fqwt .
}

Battle of Shiloh
time.event.locations
Tennessee

Tennessee
location.location.time_zones
Central Time Zone


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:location.country.currency_used ns:m.09nqf .
}

Guam
location.country.currency_used
United States Dollar


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

Chile
location.country.form_of_government
Presidential system

Chile
location.country.form_of_government
Unitary state

Chile
location.country.form_of_government
Constitutional republic

Chile
location.country.form_of_government
Democratic republic


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.081sq .
?c ns:people.person.nationality ?x .
}

Barack Obama
people.person.nationality
United States of America


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

Pittsburgh Steelers
sports.sports_team.fight_song
Renegade

Pittsburgh Steelers
sports.sports_team.location
Pittsburgh


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.professional_sports_team.owner_s ns:m.01zl71 .
}

Chelsea F.C.
sports.professional_sports_team.owner_s
Roman Abramovich


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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:zoos.zoo.opened ?num .
FILTER (?num < "2006"^^xsd:dateTime) .
}


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.country.administrative_divisions ns:m.02_vs .
}

North Atlantic Treaty Organization (NATO)


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

Belize
location.country.currency_used
Belize dollar

Belize
base.locations.countries.continent
North America


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.04jg7y .
?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.championships
1970 World Series

Baltimore Orioles
sports.sports_team.championships
1983 World Series


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.location.time_zones ns:m.019zjx .
}

North Korea
common.topic.notable_types
Country

North Korea
location.location.time_zones
Korea Time Zone


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

New Orleans Saints
sports.sports_team.championships
Super Bowl XLIV


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:location.location.time_zones ns:m.02hcv8 .
}

New York City
location.location.time_zones
Eastern Time Zone


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 "1997-06-12"^^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:music.artist.concert_tours ns:m.0j_7jl6 .
?c ns:film.actor.film ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.film ns:m.080_x_ .
}

Avril Lavigne
music.artist.concert_tours
The Best Damn World Tour


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.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.us_state.capital ns:m.0fvwz .
?c ns:government.governmental_jurisdiction.government_bodies ?x .
}

Missouri
location.us_state.capital
Jefferson City


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

Kenya
location.country.currency_used
Kenyan shilling


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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.career_start ?num .
}
ORDER BY ?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:people.person.education ?k .
?k ns:education.education.institution ns:m.03d0lht .
?c ns:people.deceased_person.cause_of_death ?x .
}

Susan Atkins
people.deceased_person.cause_of_death
Cancer

Susan Atkins
people.deceased_person.cause_of_death
Brain tumor


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

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:music.artist.concert_tours ns:m.05t2fh4 .
?c ns:music.musical_group.member ?y .
?y ns:music.group_membership.member ?x .
}

Jonas Brothers
music.artist.concert_tours
Jonas Brothers World Tour 2009


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.championships ns:m.014nkh .
}

Brazil national football team
sports.sports_team.championships
1970 FIFA World Cup


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.0d_1m .
?c ns:location.location.containedby ?x .
?x ns:common.topic.notable_types ns:m.01mh .
}

Greenland
location.location.containedby
North America

North America
common.topic.notable_types
Continent


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.019vqj .
}


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.notable_figures ns:m.04n7gc6 .
}


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.0b84nt .
?c ns:sports.professional_sports_team.draft_picks ?y .
?y ns:sports.sports_league_draft_pick.player ?x .
}

Cleveland Browns
sports.professional_sports_team.owner_s
Randy Lerner


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.championships ns:m.010pg1dd .
}

Galatasaray S.K.
sports.sports_team.championships
2014 Turkish Super Cup


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.07p0zz .
?c ns:sports.sports_team.championships ?x .
}

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


#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.championships ns:m.0107yw1k .
}


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:religion.religious_leadership_jurisdiction.leader ?k .
?k ns:religion.religious_organization_leadership.leader ns:m.0gjbf2p .
?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,?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 != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.administrative_divisions ns:m.02p71s .
?c ns:base.locations.countries.continent ?x .
}

Costa Rica
base.locations.countries.continent
North America


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.010x4pf8 .
}

Canada
sports.sports_team_location.teams
Canada men's national soccer team

Canada men's national soccer team
sports.sports_team.championships
2000 CONCACAF Gold Cup Final


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.currency_used ns:m.02d1cm .
}

Saudi Arabia
location.country.currency_used
Saudi riyal


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

Iowa State University
common.topic.notable_types
College/University


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

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

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

Islam
religion.religion.organizations
Tamil Nadu Thowheed Jamath

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


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:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.011bzky3 .
}


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

Giza Necropolis
location.location.containedby
Egypt


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.location.contains ?k .
?k ns:aviation.airport.serves ns:m.05g2b .
?c ns:location.country.currency_used ?x .
}

Germany
location.location.contains
Weeze Airport

Weeze Airport
aviation.airport.serves
Nijmegen


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:location.country.capital ns:m.09jp3 .
}


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

Barack Obama
people.person.profession
Lawyer

Barack Obama
people.person.profession
Writer

Barack Obama
people.person.profession
Politician

Barack Obama
people.person.profession
Law professor

Barack Obama
people.person.profession
Author


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.01430j .
}


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:book.illustrator.books_illustrated ns:m.09dtl3p .
?c ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
}

Pablo Picasso
book.illustrator.books_illustrated
De mémoire d'homme: Poème


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

Islam
religion.religion.notable_figures
Muhammad in Islam

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: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.01y2hnl .
}

Edmund A. Walsh School of Foreign Service

Yale Law School
common.topic.notable_types
College/University

Georgetown University
common.topic.notable_types
College/University

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

University Yale
common.topic.notable_types
College/University

University of Oxford
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.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.05_ph4 .
?c ns:location.country.capital ?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.education ?k .
?k ns:education.education.institution ns:m.076g9l_ .
?c ns:music.group_member.instruments_played ?x .
}

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 ?num,?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:zoos.zoo.opened ?num .
FILTER (?num > "1899"^^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:people.person.education ?k .
?k ns:education.education.institution ns:m.08g1sy .
?c ns:visual_art.visual_artist.associated_periods_or_movements ?x .
}


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

France
location.country.currency_used
CFP franc


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


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:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.0gy0m9w .
}

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:religion.religion.places_of_worship ns:m.04f668n .
?c ns:religion.religion.beliefs ?x .
}

Islam
religion.religion.places_of_worship
Islamic Society of Western Maryland

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


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
	ns:m.03f34_ ns:architecture.building_function.buildings ?y .
	?y ns:travel.tourist_attraction.near_travel_destination ?x .?x ns:location.location.time_zones ns:m.03plfd .
}

Athens
location.location.time_zones
Eastern European Time Zone

Kuşadası
location.location.time_zones
Eastern European Time Zone

Olympia
location.location.time_zones
Eastern European Time Zone


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.currency_used ns:m.025tsrc .
}

Lebanon
location.country.currency_used
Lebanese pound


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.places_of_worship ns:m.0100k8_q .
}

Catholicism
religion.religion.places_of_worship
St. Mary's Cathedral, Batticaloa


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.01d55j .
?c ns:location.location.containedby ?x .
?x ns:common.topic.notable_types ns:m.01mh .
}

Greenland
location.location.containedby
North America

North America
common.topic.notable_types
Continent


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.sacred_sites ns:m.027n2wt .
?c ns:religion.religion.texts ?x .
}

Taoism
religion.religion.texts
Zhuang Zhou

Taoism
religion.religion.texts
Tao Te Ching


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

Louisiana State University
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:sports.professional_sports_team.owner_s ns:m.02z3nvk .
?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 .
}

Arsenal F.C.
sports.professional_sports_team.owner_s
Alisher Usmanov


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.0w5nf92 .
?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 ?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.time_zones ns:m.02llzg .
}

France
location.location.time_zones
Central European Time Zone

Málaga
location.location.time_zones
Central European Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:sports.sports_team.fight_song ns:m.0hn47qp .
?c ns:american_football.football_team.current_head_coach ?x .
}

Baltimore Ravens
sports.sports_team.fight_song
The Baltimore Fight Song


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:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.0cc883w .
}

North Atlantic Treaty Organization (NATO)


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

Mali
location.country.form_of_government
Unitary state

Mali
location.country.form_of_government
Semi-presidential system


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.04jm53c .
?c ns:base.schemastaging.sports_team_extra.training_ground ?y .
?y ns:base.schemastaging.team_training_ground_relationship.facility ?x .
}

Philadelphia Phillies
sports.professional_sports_team.owner_s
David Montgomery


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.05zlrfm .
?c ns:sports.sports_team.championships ?x .
?x ns:sports.sports_championship_event.championship ns:m.05nblxt .
}

Juventus F.C.
sports.sports_team.championships
1996 Intercontinental Cup

Juventus F.C.
sports.sports_team.championships
1996 UEFA Champions League Final


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.0bs2zdj .
?c ns:business.business_operation.industry ?x .
}

GEICO
business.business_operation.industry
Fire, Marine, and Casualty Insurance

GEICO
business.business_operation.industry
Insurance Carriers


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

Puerto Rico
location.country.capital
San Juan

Puerto Rico
location.country.currency_used
United States Dollar


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_lv .
?c ns:sports.sports_team.location ?x .
}

Pittsburgh Steelers
sports.sports_team.championships
2009 AFC Championship Game

Pittsburgh Steelers
sports.sports_team.location
Pittsburgh


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.02r15xm .
?c ns:location.country.form_of_government ?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.fight_song ns:m.07dtzq .
}

New Orleans Saints
sports.sports_team.fight_song
When the Saints Go Marching In


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

Costa Rica
base.locations.countries.continent
North America


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.09m51hn .
?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
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 "2010"^^xsd:dateTime .
}

Giza Necropolis
location.location.containedby
Egypt


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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.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:location.country.capital ns:m.0dlqv .
?c ns:location.country.form_of_government ?x .
}

Chile
location.country.form_of_government
Presidential system

Chile
location.country.form_of_government
Unitary state

Chile
location.country.form_of_government
Constitutional republic

Chile
location.country.form_of_government
Democratic republic


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:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
}

North Korea
common.topic.notable_types
Country


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

Houston Rockets
sports.professional_sports_team.owner_s
Leslie Alexander

Houston Rockets
sports.sports_team.championships
1994 NBA Finals

Houston Rockets
sports.sports_team.championships
1995 NBA Finals


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.0692k9 .
?c ns:sports.sports_team.championships ?x .
}

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,?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.03wwygk .
?c ns:organization.organization.founders ?x .
}

Ford Motor Company
organization.organization.founders
Henry Ford


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.026hdv3 .
}


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

South Africa
location.country.currency_used
South African rand


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: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 ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0bmh4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bmh4 ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.04ztj .
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.from "1979-01-02"^^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:religion.religion.texts ns:m.02czn .
?c ns:religion.religion.texts ?x .
}

Taoism
religion.religion.texts
Tao Te Ching

Taoism
religion.religion.texts
Zhuang Zhou


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.championships ns:m.011q6011 .
}

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


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


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.015z4j .
}

Miami Dolphins
sports.professional_sports_team.owner_s
Serena Williams


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 .
?x ns:people.cause_of_death.parent_cause_of_death ns:m.0qcr0 .
}

Donna Summer
music.artist.concert_tours
Crayons Tour

Donna Summer
people.deceased_person.cause_of_death
Lung cancer


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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:location.country.currency_used ns:m.02l6h .
}


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

Russia
location.country.form_of_government
Semi-presidential system

Russia
location.country.form_of_government
Federal republic

Russia
location.country.form_of_government
Constitutional republic


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.0zmqb17 .
?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 != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:religion.religion.places_of_worship ns:m.0260jdk .
?c ns:religion.religion.texts ?x .
}

Taoism
religion.religion.places_of_worship
Zhi Nan Temple

Taoism
religion.religion.texts
Zhuang Zhou

Taoism
religion.religion.texts
Tao Te Ching


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.0d9nj_ .
?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 ?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.sacred_sites ns:m.058wp .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:education.educational_institution.sports_teams ns:m.0dr_zdy .
?c ns:education.educational_institution.mascot ?x .
}


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.0bt6c .
?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.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.location.time_zones ns:m.02q_y6 .
}

Spain
location.location.time_zones
Western European Time Zone


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


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:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.031scg .
}


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.championships ns:m.03ckf3v .
?c ns:base.schemastaging.sports_team_extra.training_ground ?y .
?y ns:base.schemastaging.team_training_ground_relationship.facility ?x .
}

Philadelphia Phillies
sports.sports_team.championships
2008 World Series


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


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.0280qps .
?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
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.administrative_divisions ns:m.02dw2c .
?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:government.governmental_jurisdiction.governing_officials ?k .
?k ns:government.government_position_held.appointed_by ns:m.05rn5r .
?c ns:base.locations.countries.continent ?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.education ?k .
?k ns:education.education.institution ns:m.01064jg9 .
?c ns:people.person.parents ?x .
}

Adolf Hitler
people.person.parents
Klara Hitler

Adolf Hitler
people.person.parents
Alois Hitler


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.03bzsxk .
?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.professional_sports_team.owner_s
Paul G. Allen Family Foundation

Seattle Seahawks
sports.sports_team.arena_stadium
CenturyLink Field


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.country.capital ns:m.0ftjx .
}

North Atlantic Treaty Organization (NATO)


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:religion.religious_leadership_jurisdiction.leader ?c .
?c ns:religion.religious_organization_leadership.organization ns:m.02cd38 .
}


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.us_state.capital ns:m.05jbn .
?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 ?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.07q13 .
?c ns:location.country.currency_used ?x .
}

South Africa
location.country.currency_used
South African rand


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

New York Yankees
sports.professional_sports_team.owner_s
George Steinbrenner

New York Yankees
sports.sports_team.championships
1923 World Series


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

Detroit Pistons
sports.sports_team.championships
1989 NBA Finals

Detroit Pistons
sports.sports_team.championships
2004 NBA Finals

Detroit Pistons
sports.sports_team.championships
1990 NBA Finals


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.01ly5m .
}

Argentina
location.country.capital
Buenos Aires


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


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:location.location.time_zones ns:m.0y497_m .
}

Port Jackson
location.location.time_zones
Australian Eastern Time Zone

Luna Park Sydney
location.location.time_zones
Australian Eastern Time Zone

Darling Harbour
location.location.time_zones
Australian Eastern Time Zone

Bondi Beach
location.location.time_zones
Australian Eastern 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.08wdkk .
?c ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
}

North Korea
common.topic.notable_types
Country


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.location.time_zones ns:m.0y498v7 .
?c ns:location.statistical_region.religions ?y .
?y ns:location.religion_percentage.religion ?x .
}

Australia
location.location.time_zones
Central Western Time Zone


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


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.newspaper ns:m.03cq17y .
}

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


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

Egypt
location.country.languages_spoken
Arabic Language

Egypt
location.country.languages_spoken
Sa'idi Arabic

Egypt
location.country.languages_spoken
Arabic, Sudanese Spoken Language

Egypt
location.country.languages_spoken
Egyptian Arabic

Egypt
location.country.languages_spoken
Domari Language

Egypt
location.country.languages_spoken
Modern Standard Arabic

Egypt
location.country.languages_spoken
Bedawi Arabic

Egypt
location.country.languages_spoken
Siwi Language

Egypt
location.country.languages_spoken
Nobiin Language


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:zoos.zoo.opened "1899"^^xsd:dateTime .
}


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.team_mascot ns:m.027jtgg .
}

New England Patriots
sports.sports_team.team_mascot
Pat Patriot


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.01b98m .
}

North Atlantic Treaty Organization (NATO)

Germany
location.location.contains
Weeze Airport

Weeze Airport
aviation.airport.serves
Kleve (district)


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 ?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.0y53pqk .
?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 ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:sports.sports_team.team_mascot ns:m.0272cxc .
?c ns:sports.sports_team.league ?y .
?y ns:sports.sports_league_participation.league ?x .
}

Indianapolis Colts
sports.sports_team.team_mascot
Indianapolis Colts Blue


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?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:zoos.zoo.opened ?num .
FILTER (?num < "1977-05-20"^^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:location.location.time_zones ns:m.027wjl3 .
}

Guam
location.location.time_zones
Chamorro Time Zone


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.04swd .
?c ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
}

North Korea
common.topic.notable_types
Country


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.beliefs ns:m.012lvl .
}

Catholicism
religion.religion.beliefs
Virgin birth of Jesus


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.0ch4g6y .
?c ns:education.educational_institution.mascot ?x .
}


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.01h0lq .
}


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

Arsenal F.C.
sports.professional_sports_team.owner_s
Farhad Moshiri


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.places_of_worship ns:g.123852dg .
}

Judaism
religion.religion.places_of_worship
Yanina Synagogue


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

Giza Necropolis
location.location.containedby
Egypt


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:religion.religious_leadership_jurisdiction.leader ?k .
?k ns:religion.religious_organization_leadership.leader ns:m.02qmnw .
?c ns:base.locations.countries.continent ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.administrative_divisions ns:m.015nb0 .
?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,?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.03wws_ .
?c ns:location.country.form_of_government ?x .
}

Chile
location.country.form_of_government
Presidential system

Chile
location.country.form_of_government
Unitary state

Chile
location.country.form_of_government
Constitutional republic

Chile
location.country.form_of_government
Democratic republic


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


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

China
location.country.official_language
Standard Chinese


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

Taoism
religion.religion.texts
Zhuang Zhou

Taoism
religion.religion.texts
Tao Te Ching


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

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


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.0d7kmv .
?c ns:film.actor.film ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.film ns:m.017gl1 .
}

The Lord of the Rings: The Fellowship of the Ring


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


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

Mongolia
location.country.form_of_government
Parliamentary republic

Mongolia
location.country.form_of_government
Semi-presidential system


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:sports.sports_team.championships ns:m.0_gtz8t .
?c ns:american_football.football_team.current_head_coach ?x .
}

Baltimore Ravens
sports.sports_team.championships
2013 AFC Championship Game


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.places_of_worship ns:m.0100k8_q .
}

Catholicism
religion.religion.places_of_worship
St. Mary's Cathedral, Batticaloa


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

Louisiana State University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.administrative_divisions ns:m.01787y .
?c ns:base.locations.countries.continent ?x .
}

Belize
base.locations.countries.continent
North America


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


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

Iceland
location.country.languages_spoken
Icelandic Language


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 ?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