PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.places_lived ?k .
?k ns:people.place_lived.location ns:m.09nx79 .
?c ns:people.person.place_of_birth ?x .
}

Jo-Wilfried Tsonga
people.person.place_of_birth
Le Mans


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.places_lived ?k .
?k ns:people.place_lived.location ns:m.02qzjq4 .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.jurisdiction_of_office ?x .
}


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


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

The Twilight Saga: Breaking Dawn - Part 2


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

New York University
organization.organization.founders
Albert Gallatin


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.01zps5 .
}


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

Denver Nuggets
sports.sports_team.team_mascot
Rocky the Mountain Lion


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?from,?p,?x,?c,?y,?z
WHERE {
ns:m.03_js ns:government.politician.government_positions_held ?p .
?p ns:government.government_position_held.office_position_or_title ns:m.060d2 .
?p ns:government.government_position_held.from ?from .
ns:m.03_js ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.office_position_or_title ?x .
?y ns:government.government_position_held.from ?z .
filter(xsd:datetime(?z) - xsd:datetime(?from) < 0)
?x ns:government.government_office_or_title.office_holders ?c .
?c ns:government.government_position_held.from "1775-05-10"^^xsd:dateTime .
}


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

Equatorial Guinea
location.country.currency_used
Central African CFA franc


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

Dominican Republic
location.country.languages_spoken
Spanish Language

Dominican Republic
location.country.languages_spoken
Haitian Creole

Dominican Republic
location.country.languages_spoken
Samaná English


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

Boston Celtics
sports.sports_team.championships
1957 NBA Finals

Boston Celtics
sports.sports_team.championships
1966 NBA Finals

Boston Celtics
sports.sports_team.championships
1984 NBA Finals

Boston Celtics
sports.sports_team.championships
1964 NBA Finals

Boston Celtics
sports.sports_team.championships
1976 NBA Finals

Boston Celtics
sports.sports_team.championships
2008 NBA Finals

Boston Celtics
sports.sports_team.championships
1969 NBA Finals

Boston Celtics
sports.sports_team.championships
1986 NBA Finals

Boston Celtics
sports.sports_team.championships
1981 NBA Finals

Boston Celtics
sports.sports_team.championships
1974 NBA Finals

Boston Celtics
sports.sports_team.championships
1968 NBA Finals

Boston Celtics
sports.sports_team.championships
1965 NBA Finals

Boston Celtics
sports.sports_team.championships
1963 NBA Finals

Boston Celtics
sports.sports_team.championships
1962 NBA Finals

Boston Celtics
sports.sports_team.championships
1961 NBA Finals

Boston Celtics
sports.sports_team.championships
1960 NBA Finals

Boston Celtics
sports.sports_team.championships
1959 NBA Finals


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:organization.organization.child ?k .
?k ns:organization.organization_relationship.child ns:m.0_gdrcr .
?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:religion.religion.types_of_places_of_worship ns:m.0423wc .
?c ns:religion.religion.deities ?x .
}

Catholicism
religion.religion.deities
Holy Spirit

Catholicism
religion.religion.deities
The Father

Catholicism
religion.religion.deities
Jesus Christ


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

Robert F. Kennedy
people.person.gender
Male


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.06mkj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mkj ns:sports.sports_team_location.teams ?x .
?x ns:basketball.basketball_team.head_coach ns:m.0b6h94r .
}

Spain
sports.sports_team_location.teams
Real Madrid Baloncesto

Real Madrid Baloncesto
basketball.basketball_team.head_coach
Pablo Laso


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

Switzerland
location.country.currency_used
Swiss franc


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.03_3d)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_3d ns:location.statistical_region.places_exported_to ?y .
?y ns:location.imports_and_exports.exported_to ?x .
?x ns:location.country.administrative_divisions ns:m.0101msg_ .
}


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

Denver Nuggets
sports.sports_team.team_mascot
Rocky


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0fhp9)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0fhp9 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.museum.established "1891"^^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.02d5mf .
?c ns:location.country.currency_used ?x .
}

Egypt
location.country.currency_used
Egyptian pound


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

Cyprus
location.country.languages_spoken
English Language

Cyprus
location.country.languages_spoken
Turkish Language

Cyprus
location.country.languages_spoken
Greek Language

Cyprus
location.country.languages_spoken
German Language

Cyprus
location.country.languages_spoken
Armenian Language

Cyprus
location.country.languages_spoken
Cypriot Maronite Arabic

Cyprus
location.country.languages_spoken
Romani language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.03_3d)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_3d ns:location.statistical_region.places_exported_to ?y .
?y ns:location.imports_and_exports.exported_to ?x .
?x ns:location.country.capital ns:m.040q6l .
}

Kiribati
location.country.capital
South Tarawa


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

Roman Empire
location.country.capital
Rome

Rome
location.location.time_zones
Central European Time Zone

Roman Empire
location.country.capital
Ravenna

Ravenna
location.location.time_zones
Central European Time Zone


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

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


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

Sunni Islam
religion.religion.sacred_sites
Mecca


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

Netherlands
location.location.time_zones
Atlantic Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:religion.religious_leadership_jurisdiction.leader ?k .
?k ns:religion.religious_organization_leadership.leader ns:m.05cxfq .
?c ns:location.country.languages_spoken ?x .
}

Ukraine
location.country.languages_spoken
Romanian Language

Ukraine
location.country.languages_spoken
Hungarian language

Ukraine
location.country.languages_spoken
Russian Language

Ukraine
location.country.languages_spoken
Ukrainian Language

Ukraine
location.country.languages_spoken
Albanian language

Ukraine
location.country.languages_spoken
Moldovan language

Ukraine
location.country.languages_spoken
Tatar Language


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

Costa Rica
location.country.capital
San José

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


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

Denmark
location.country.languages_spoken
German Language

Denmark
location.country.languages_spoken
Danish Language

Denmark
location.country.languages_spoken
Greenlandic language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.027rn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.027rn ns:location.location.containedby ?x .
?x ns:location.location.time_zones ns:m.02fqwt .
}

Dominican Republic
location.location.containedby
North America

North America
location.location.time_zones
Central Time Zone

Dominican Republic
location.location.containedby
Americas

Americas
location.location.time_zones
Central Time Zone

Dominican Republic
location.location.containedby
Latin America

Latin America
location.location.time_zones
Central Time Zone


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

Argentina
location.country.currency_used
Argentine peso


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.07ssc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07ssc ns:base.aareas.schema.administrative_area.administrative_children ?x .
?x ns:religion.religious_leadership_jurisdiction.leader ?c .
?c ns:religion.religious_organization_leadership.leader ns:m.0_h07sd .
}


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

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

Avril Lavigne
people.person.place_of_birth
Belleville


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:education.educational_institution.students_graduates ?k .
?k ns:education.education.student ns:m.02w2jmy .
?c ns:organization.organization.founders ?x .
}

New York University
organization.organization.founders
Albert Gallatin

New York University
organization.organization.founders
Mordecai Manuel Noah


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

Egypt
location.country.official_language
Modern Standard Arabic


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

Eastern Europe
location.location.contains
Georgia


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

Justin Timberlake
music.artist.concert_tours
FutureSex/LoveShow


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

Whistler Mountain
location.location.containedby
North America

North America
location.location.time_zones
Eastern Time Zone

Whistler Mountain
location.location.containedby
Canada

Canada
location.location.time_zones
Eastern Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.places_lived ?k .
?k ns:people.place_lived.location ns:m.02j3pn .
?c ns:celebrities.celebrity.sexual_relationships ?y .
?y ns:celebrities.romantic_relationship.celebrity ?x .
?y ns:celebrities.romantic_relationship.relationship_type ns:m.02_7k44 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.consumer_price_index ?c .
?c ns:measurement_unit.dated_index_value.index_value "0.03" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.long_term_unemployment_rate ?c .
?c ns:measurement_unit.dated_percentage.rate "15.5" .
}


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


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

Horace Mann School for the Deaf and Hard of Hearing

Helen Keller
people.deceased_person.place_of_death
Easton


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

Niue
location.country.currency_used
New Zealand dollar

Oceania
location.location.contains
New Zealand

New Zealand
common.topic.notable_types
Country

New Zealand
location.country.currency_used
New Zealand dollar

Tokelau
location.country.currency_used
New Zealand dollar

Oceania
location.location.contains
Cook Islands

Cook Islands
common.topic.notable_types
Country

Cook Islands
location.country.currency_used
New Zealand dollar

Oceania
location.location.contains
Pitcairn Islands

Pitcairn Islands
common.topic.notable_types
Country

Pitcairn Islands
location.country.currency_used
New Zealand dollar


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.places_lived ?k .
?k ns:people.place_lived.location ns:m.07x1wl .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.jurisdiction_of_office ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.07fbnf)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07fbnf ns:sports.sports_league.teams ?y .
?y ns:sports.sports_league_participation.team ?x .
?x ns:sports.sports_team.championships ns:m.04j747 .
}

Oakland Athletics
sports.sports_team.championships
1989 World Series


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


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


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.04n7gc6 .
?c ns:religion.religion.deities ?x .
}

Catholicism
religion.religion.deities
Holy Spirit

Catholicism
religion.religion.deities
The Father

Catholicism
religion.religion.deities
Jesus Christ


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x,?z
WHERE {
ns:m.027jv8 ns:people.person.parents ?y .
?y ns:people.person.gender ns:m.05zppz . #Male
?y ns:sports.pro_athlete.teams ?z .
?z ns:sports.sports_team_roster.team ?x .?x ns:sports.professional_sports_team.owner_s ns:m.04173y6 .
}

Peyton Manning
people.person.parents
Archie Manning

Archie Manning
people.person.gender
Male

New Orleans Saints
sports.professional_sports_team.owner_s
Rita Benson LeBlanc


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

Haiti
location.country.currency_used
Haitian gourde

Haiti
location.country.languages_spoken
Haitian Creole


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.minimum_wage ?c .
?c ns:measurement_unit.recurring_money_value.amount "371.27" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film.starring ?k .
?k ns:film.performance.character ns:m.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 ?k,?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.0n8r4 .
?c ns:location.country.languages_spoken ?x .
}

Denmark
location.country.languages_spoken
German Language

Denmark
location.country.languages_spoken
Danish Language

Denmark
location.country.languages_spoken
Greenlandic language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.02wmy)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02wmy ns:location.location.containedby ?x .
?x ns:common.topic.notable_types ns:m.01mh .
?x ns:location.location.time_zones ns:m.02hcv8 .
}

Falkland Islands
location.location.containedby
Americas

Americas
location.location.time_zones
Eastern Time Zone


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

Denver Nuggets
sports.professional_sports_team.owner_s
Stan Kroenke


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?x
WHERE {
FILTER (?x != ns:m.05nrg)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05nrg ns:location.location.contains ?x .
?x ns:base.biblioness.bibs_location.loc_type ?sk0 .
FILTER (str(?sk0) = "Country")
?x ns:location.location.time_zones ns:m.0y498qn .
}

Australia
location.location.time_zones
Casey Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.places_lived ?k .
?k ns:people.place_lived.location ns:m.04fsrm .
?c ns:book.periodical_editor.periodicals_edited ?y .
?y ns:book.editorial_tenure.periodical ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.electricity_consumption_per_capita ?c .
?c ns:measurement_unit.dated_kilowatt_hour.number "1007.923" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?x
WHERE {
FILTER (?x != ns:m.05nrg)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05nrg ns:location.location.contains ?x .
?x ns:base.biblioness.bibs_location.loc_type ?sk0 .
FILTER (str(?sk0) = "Country")
?x ns:location.country.administrative_divisions ns:m.0101msg_ .
}


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

Pittsburgh Steelers
sports.sports_team.fight_song
Steelers Polka


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

Caribbean
location.location.contains
Saint Kitts and Nevis

Saint Kitts and Nevis
common.topic.notable_types
Country

Caribbean
location.location.contains
Saint Lucia

Saint Lucia
common.topic.notable_types
Country


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

Iraq
location.country.form_of_government
Parliamentary republic

Iraq
location.country.form_of_government
Parliamentary system

Iraq
location.country.form_of_government
Federal 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:architecture.architect.structures_designed ns:m.05gp5_ .
?c ns:base.kwebbase.kwtopic.disciplines ?x .
}

Andrew Carnegie
base.kwebbase.kwtopic.disciplines
financier

Andrew Carnegie
base.kwebbase.kwtopic.disciplines
steel


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.us_state.capital ns:m.03fb3t .
?c ns:government.governmental_jurisdiction.official_symbols ?y .
?y ns:location.location_symbol_relationship.symbol ?x .
?y ns:location.location_symbol_relationship.Kind_of_symbol ns:m.04627gn .
}

Hawaii
location.us_state.capital
Honolulu County


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

Guatemala
location.country.currency_used
Guatemalan quetzal


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.041h0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.041h0 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.educational_institution.sports_teams ns:m.027jjlh .
}


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

Spain
location.location.time_zones
Western 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:location.country.administrative_divisions ns:m.02d5mf .
?c ns:location.country.official_language ?x .
}

Egypt
location.country.official_language
Modern Standard Arabic


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
	FILTER (?x != ns:m.0d05w3)
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_exported_to ?y .
	  ?y ns:location.imports_and_exports.exported_to ?x .
	}
	UNION
	{
	  ns:m.0d05w3 ns:location.statistical_region.places_imported_from ?y .
	  ?y ns:location.imports_and_exports.imported_from ?x .
	}?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.0224kz .
}


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

San Francisco Giants
sports.sports_team.championships
2010 World Series

San Francisco Giants
sports.sports_team.championships
2012 World Series

San Francisco Giants
sports.sports_team.championships
2014 World Series


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:organization.organization.leadership ?k .
?k ns:organization.leadership.person ns:m.0ds707w .
?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.021lpc .
?c ns:base.locations.countries.continent ?x .
}

Bahamas
base.locations.countries.continent
North America


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

Peyton Manning
people.person.parents
Archie Manning

Archie Manning
people.person.gender
Male

New Orleans Saints
sports.sports_team.championships
Super Bowl XLIV


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

Caribbean
location.location.contains
Netherlands Antilles

Netherlands Antilles
common.topic.notable_types
Country

Netherlands Antilles
location.location.time_zones
Atlantic Time Zone

Caribbean
location.location.contains
British Virgin Islands

British Virgin Islands
common.topic.notable_types
Country

British Virgin Islands
location.location.time_zones
Atlantic 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.administrative_divisions ns:m.01jb47 .
?c ns:location.country.languages_spoken ?x .
}

Thailand
location.country.languages_spoken
Lao Language

Thailand
location.country.languages_spoken
Mlabri Language

Thailand
location.country.languages_spoken
Thai Language

Thailand
location.country.languages_spoken
Vietnamese Language

Thailand
location.country.languages_spoken
Saek language

Thailand
location.country.languages_spoken
Hmong language

Thailand
location.country.languages_spoken
Khmer language

Thailand
location.country.languages_spoken
Mon Language

Thailand
location.country.languages_spoken
Malay, Pattani Language

Thailand
location.country.languages_spoken
Akha Language

Thailand
location.country.languages_spoken
Cham language

Thailand
location.country.languages_spoken
Nyaw Language

Thailand
location.country.languages_spoken
Phu Thai language


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

North Dakota State Bison men's basketball


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.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
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.gdp_growth_rate ?c .
?c ns:measurement_unit.dated_percentage.rate "-0.008502" .
}


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

Jackson Pollock
influence.influence_node.influenced_by
Pablo Picasso

Pablo Picasso
book.illustrator.books_illustrated
Feu de joie


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

Brazil
location.country.currency_used
Brazilian real


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.consumer_price_index ?c .
?c ns:measurement_unit.dated_index_value.index_value "0.05" .
}


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

Europe
location.location.time_zones
Moscow Time Zone


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.041h0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.041h0 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:education.educational_institution.sports_teams ns:m.02677jr .
}


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

Jamaica
location.country.currency_used
Jamaican dollar


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


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

Australia
location.location.time_zones
Heard and McDonald Islands Time Zone

Australia
location.country.languages_spoken
English Language

Australia
location.country.languages_spoken
Esperanto Language


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x
WHERE {
FILTER (?x != ns:m.06c62)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06c62 ns:location.location.containedby ?x .
?x ns:location.statistical_region.population ?c .
?c ns:measurement_unit.dated_integer.number ?num .
FILTER (xsd:integer(?num) < 5732212) .
}

Rome
location.location.containedby
Province of Rome


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

New York Knicks
sports.sports_team.championships
1970 NBA Finals

New York Knicks
sports.sports_team.championships
1973 NBA Finals


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

Los Angeles Dodgers
sports.sports_team.championships
1959 World Series

Los Angeles Dodgers
sports.sports_team.championships
1963 World Series

Los Angeles Dodgers
sports.sports_team.championships
1981 World Series

Los Angeles Dodgers
sports.sports_team.championships
1965 World Series

Los Angeles Dodgers
sports.sports_team.championships
1988 World Series


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

Brazil
location.country.form_of_government
Presidential system

Brazil
location.country.form_of_government
Federal republic

Brazil
location.country.form_of_government
Constitutional republic


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?sk0,?x
WHERE {
FILTER (?x != ns:m.05nrg)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05nrg ns:location.location.contains ?x .
?x ns:base.biblioness.bibs_location.loc_type ?sk0 .
FILTER (str(?sk0) = "Country")
?x ns:location.country.capital ns:m.01qmmt .
}


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.076n1 .
?c ns:sports.sports_team.colors ?x .
}

Dallas Cowboys
sports.sports_team.championships
Super Bowl VI

Dallas Cowboys
sports.sports_team.colors
White

Dallas Cowboys
sports.sports_team.colors
Blue

Dallas Cowboys
sports.sports_team.colors
Royal blue

Dallas Cowboys
sports.sports_team.colors
Navy Blue

Dallas Cowboys
sports.sports_team.colors
Silver


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

Michael Bublé
people.person.profession
Actor

Michael Bublé
people.person.profession
Singer

Michael Bublé
people.person.profession
Songwriter


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.foreign_direct_investment_net_inflows ?c .
?c ns:measurement_unit.dated_money_value.amount "-100816373" .
}


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

Taoism
religion.religion.notable_figures
Zhang Jue

Taoism
religion.religion.texts
Zhuang Zhou

Taoism
religion.religion.texts
Tao Te Ching


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0dq9wx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0dq9wx ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.02k_wx .
}


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.027kmrb .
?c ns:sports.sports_team.championships ?x .
?x ns:common.topic.notable_types ns:m.01xljv1 .
}

New York Giants
sports.professional_sports_team.owner_s
Steve Tisch

New York Giants
sports.sports_team.championships
Super Bowl XLVI

Super Bowl XLVI
common.topic.notable_types
Super bowl

New York Giants
sports.sports_team.championships
Super Bowl XLII

Super Bowl XLII
common.topic.notable_types
Super bowl

New York Giants
sports.sports_team.championships
Super Bowl XXI

Super Bowl XXI
common.topic.notable_types
Super bowl

New York Giants
sports.sports_team.championships
Super Bowl XXV

Super Bowl XXV
common.topic.notable_types
Super bowl


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


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


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

San Francisco Giants
sports.sports_team.championships
2012 World Series

San Francisco Giants
sports.sports_team.championships
2014 World Series


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

Houston Rockets
sports.sports_team.championships
1995 NBA Finals

Houston Rockets
sports.sports_team.arena_stadium
Toyota Center

Houston Rockets
sports.sports_team.arena_stadium
Lakewood Church Central Campus


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


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

Greece
location.country.languages_spoken
Greek Language

Greece
location.country.languages_spoken
Albanian language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:book.illustrator.books_illustrated ns:m.08_cpc .
?c ns:visual_art.visual_artist.associated_periods_or_movements ?x .
}

Henri Matisse
book.illustrator.books_illustrated
Jazz


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


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

Netherlands
location.country.languages_spoken
Dutch Language

Netherlands
location.country.languages_spoken
Frisian languages

Netherlands
location.country.languages_spoken
West Flemish


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


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

Cuba
location.country.currency_used
Cuban convertible peso

Cuba
location.country.currency_used
Cuban peso


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


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.094w0s .
?c ns:sports.sports_team.championships ?x .
?x ns:common.topic.notable_types ns:m.01xljv1 .
}

New York Giants
sports.professional_sports_team.owner_s
John Mara

New York Giants
sports.sports_team.championships
Super Bowl XLVI

Super Bowl XLVI
common.topic.notable_types
Super bowl

New York Giants
sports.sports_team.championships
Super Bowl XLII

Super Bowl XLII
common.topic.notable_types
Super bowl

New York Giants
sports.sports_team.championships
Super Bowl XXI

Super Bowl XXI
common.topic.notable_types
Super bowl

New York Giants
sports.sports_team.championships
Super Bowl XXV

Super Bowl XXV
common.topic.notable_types
Super bowl


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


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

Rome
location.location.containedby
Province of Rome


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


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

South Korea
location.country.capital
Seoul


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

Germany
location.location.contains
Weeze Airport

Weeze Airport
aviation.airport.serves
Duisburg

Germany
location.country.form_of_government
Parliamentary republic

Germany
location.country.form_of_government
Federal republic

Germany
location.country.form_of_government
Representative democracy

Germany
location.country.form_of_government
Constitutional republic


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.0dq9wx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0dq9wx ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.appointed_by ns:m.01gqws .
}


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

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


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


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

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


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

Justin Bieber
people.person.place_of_birth
London


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


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

Ukraine
location.country.languages_spoken
Romanian Language

Ukraine
location.country.languages_spoken
Hungarian language

Ukraine
location.country.languages_spoken
Russian Language

Ukraine
location.country.languages_spoken
Ukrainian Language

Ukraine
location.country.languages_spoken
Albanian language

Ukraine
location.country.languages_spoken
Moldovan language

Ukraine
location.country.languages_spoken
Tatar Language


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


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

Jackson Pollock
influence.influence_node.influenced_by
Pablo Picasso

Pablo Picasso
book.illustrator.books_illustrated
Alcools


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


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.02ln6j .
?c ns:sports.sports_team.arena_stadium ?x .
}

Ireland national rugby union team
sports.sports_team.championships
1995 Rugby World Cup

Ireland national rugby union team
sports.sports_team.arena_stadium
Aviva Stadium


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

Miami University
common.topic.notable_types
College/University


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01hf7f)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01hf7f ns:base.culturalevent.event.entity_involved ?x .
?x ns:location.country.currency_used ns:m.025z6tl .
}

Confederate States of America
location.country.currency_used
Southern States Confederate Currency


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


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


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

Manchester United F.C.
sports.sports_team.team_mascot
Fred the red

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


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

Vietnam
location.country.form_of_government
Communist state

Vietnam
location.country.form_of_government
Single-party state

Vietnam
location.country.form_of_government
Socialist state


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

Illinois
location.location.time_zones
Central Time Zone


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


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

Iran
location.country.form_of_government
Presidential system

Iran
location.country.form_of_government
Parliamentary system

Iran
location.country.form_of_government
Unitary state

Iran
location.country.form_of_government
Islamic republic


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.market_cap_of_listed_companies_as_percent_of_gdp ?c .
?c ns:measurement_unit.dated_percentage.rate "10.51" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.03_3d)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_3d ns:location.statistical_region.places_exported_to ?y .
?y ns:location.imports_and_exports.exported_to ?x .
?x ns:location.country.currency_used ns:m.0kz1h .
}

Tuvalu
location.country.currency_used
Australian dollar

Kiribati
location.country.currency_used
Australian dollar


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

Peru
location.country.currency_used
Peruvian nuevo sol


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.currency_used ns:m.05j227 .
?c ns:location.location.containedby ?x .
?x ns:common.topic.notable_types ns:m.01mh .
}

Falkland Islands
location.country.currency_used
Falkland Islands pound

Falkland Islands
location.location.containedby
Americas

Falkland Islands
location.location.containedby
South America

South America
common.topic.notable_types
Continent


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

San Francisco Giants
sports.sports_team.team_mascot
Lou Seal

San Francisco Giants
sports.sports_team.championships
2014 World Series


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

France
location.country.currency_formerly_used
French franc


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


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


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

Iran
location.country.currency_used
Iranian rial


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:people.person.education ?k .
?k ns:education.education.institution ns:m.0462914 .
?c ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.jurisdiction_of_office ?x .
}


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


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

Israel
location.country.form_of_government
Parliamentary system


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.07c1_2)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07c1_2 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:basketball.basketball_team.head_coach ns:m.074s0v .
}

Denver Nuggets
basketball.basketball_team.head_coach
Brian Shaw


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

Boston Celtics
sports.sports_team.team_mascot
Lucky the Leprechaun

Boston Celtics
sports.sports_team.championships
1966 NBA Finals

Boston Celtics
sports.sports_team.championships
1984 NBA Finals

Boston Celtics
sports.sports_team.championships
1964 NBA Finals

Boston Celtics
sports.sports_team.championships
1976 NBA Finals

Boston Celtics
sports.sports_team.championships
2008 NBA Finals

Boston Celtics
sports.sports_team.championships
1969 NBA Finals

Boston Celtics
sports.sports_team.championships
1986 NBA Finals

Boston Celtics
sports.sports_team.championships
1981 NBA Finals

Boston Celtics
sports.sports_team.championships
1974 NBA Finals

Boston Celtics
sports.sports_team.championships
1968 NBA Finals

Boston Celtics
sports.sports_team.championships
1965 NBA Finals

Boston Celtics
sports.sports_team.championships
1963 NBA Finals

Boston Celtics
sports.sports_team.championships
1962 NBA Finals

Boston Celtics
sports.sports_team.championships
1961 NBA Finals

Boston Celtics
sports.sports_team.championships
1960 NBA Finals

Boston Celtics
sports.sports_team.championships
1959 NBA Finals

Boston Celtics
sports.sports_team.championships
1957 NBA Finals


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.0b7hk2 .
?c ns:sports.sports_team.championships ?x .
}

Boston Celtics
sports.professional_sports_team.owner_s
Wyc Grousbeck

Boston Celtics
sports.sports_team.championships
1966 NBA Finals

Boston Celtics
sports.sports_team.championships
1984 NBA Finals

Boston Celtics
sports.sports_team.championships
1964 NBA Finals

Boston Celtics
sports.sports_team.championships
1976 NBA Finals

Boston Celtics
sports.sports_team.championships
2008 NBA Finals

Boston Celtics
sports.sports_team.championships
1969 NBA Finals

Boston Celtics
sports.sports_team.championships
1986 NBA Finals

Boston Celtics
sports.sports_team.championships
1981 NBA Finals

Boston Celtics
sports.sports_team.championships
1974 NBA Finals

Boston Celtics
sports.sports_team.championships
1968 NBA Finals

Boston Celtics
sports.sports_team.championships
1965 NBA Finals

Boston Celtics
sports.sports_team.championships
1963 NBA Finals

Boston Celtics
sports.sports_team.championships
1962 NBA Finals

Boston Celtics
sports.sports_team.championships
1961 NBA Finals

Boston Celtics
sports.sports_team.championships
1960 NBA Finals

Boston Celtics
sports.sports_team.championships
1959 NBA Finals

Boston Celtics
sports.sports_team.championships
1957 NBA Finals


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.national_anthem ?k .
?k ns:government.national_anthem_of_a_country.anthem ns:m.01l8h4 .
?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.03w9bnr .
FILTER(NOT EXISTS {?y ns:government.government_position_held.from ?sk0} ||
EXISTS {?y ns:government.government_position_held.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:government.government_position_held.to ?sk2} ||
EXISTS {?y ns:government.government_position_held.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.03_3d)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_3d ns:location.statistical_region.places_exported_to ?y .
?y ns:location.imports_and_exports.exported_to ?x .
?x ns:location.country.capital ns:m.04d_m .
}


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

Osama bin Laden
people.deceased_person.place_of_death
Abbottabad


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

Peyton Manning
people.person.parents
Archie Manning

Archie Manning
people.person.gender
Male

New Orleans Saints
sports.sports_team.championships
2010 NFC 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.country.administrative_divisions ns:m.035v3 .
?c ns:location.country.languages_spoken ?x .
}

Denmark
location.country.languages_spoken
German Language

Denmark
location.country.languages_spoken
Danish Language

Denmark
location.country.languages_spoken
Greenlandic language


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

New Orleans Saints
sports.sports_team.team_mascot
Sir Saint


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

Falkland Islands
location.country.capital
Stanley

Falkland Islands
location.location.containedby
Americas

Falkland Islands
location.location.containedby
South America

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

Thailand
location.country.languages_spoken
Lao Language

Thailand
location.country.languages_spoken
Mlabri Language

Thailand
location.country.languages_spoken
Thai Language

Thailand
location.country.languages_spoken
Vietnamese Language

Thailand
location.country.languages_spoken
Saek language

Thailand
location.country.languages_spoken
Hmong language

Thailand
location.country.languages_spoken
Khmer language

Thailand
location.country.languages_spoken
Mon Language

Thailand
location.country.languages_spoken
Malay, Pattani Language

Thailand
location.country.languages_spoken
Akha Language

Thailand
location.country.languages_spoken
Cham language

Thailand
location.country.languages_spoken
Nyaw Language

Thailand
location.country.languages_spoken
Phu Thai language


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


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

Journey
music.artist.concert_tours
Eclipse Tour


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

Baltimore Ravens
sports.sports_team.fight_song
Seven Nation Army

Baltimore Ravens
sports.sports_team.championships
Super Bowl XXXV

Super Bowl XXXV
common.topic.notable_types
Super bowl


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

New York City
location.location.time_zones
Eastern Time Zone

Baltimore
location.location.time_zones
Eastern Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.part_time_employment_percent ?c .
?c ns:measurement_unit.dated_percentage.rate "10.2" .
}


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.04tg9h .
?c ns:sports.sports_team.arena_stadium ?x .
}

Chicago Cubs
sports.sports_team.championships
1907 World Series

Chicago Cubs
sports.sports_team.arena_stadium
Wrigley Field

Chicago Cubs
sports.sports_team.arena_stadium
Hohokam Stadium

Chicago Cubs
sports.sports_team.arena_stadium
Sloan Park


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


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

Beyoncé Knowles
music.artist.concert_tours
The Mrs. Carter Show World Tour

Beyoncé Knowles
people.person.children
Blue Ivy


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

Chile
location.country.languages_spoken
Spanish Language

Chile
location.country.languages_spoken
Mapudungun Language

Chile
location.country.languages_spoken
Aymara language

Chile
location.country.languages_spoken
Rapa Nui Language

Chile
location.country.languages_spoken
Puquina Language


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x,?z
WHERE {
ns:m.027jv8 ns:people.person.parents ?y .
?y ns:people.person.gender ns:m.05zppz . #Male
?y ns:sports.pro_athlete.teams ?z .
?z ns:sports.sports_team_roster.team ?x .?x ns:sports.professional_sports_team.owner_s ns:m.01y4nb .
}

Peyton Manning
people.person.parents
Archie Manning

Archie Manning
people.person.gender
Male

New Orleans Saints
sports.professional_sports_team.owner_s
Tom Benson


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


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

Iraq
location.country.form_of_government
Parliamentary republic

Iraq
location.country.form_of_government
Parliamentary system

Iraq
location.country.form_of_government
Federal republic


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

Christianity
religion.religion.texts
The Bible


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

Shia Islam
religion.religion.notable_figures
Syed Aqeel-ul-Gharavi


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

Missouri
location.us_state.capital
Jefferson City


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

Avril Lavigne
people.person.place_of_birth
Belleville


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

Universal Studios Hollywood
tv.tv_location.tv_shows_filmed_here
The A-Team


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

Dominican Republic
location.country.currency_used
Dominican peso

Dominican Republic
location.country.languages_spoken
Spanish Language

Dominican Republic
location.country.languages_spoken
Haitian Creole

Dominican Republic
location.country.languages_spoken
Samaná English


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

Robert F. Kennedy
people.person.gender
Male


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

Christianity
religion.religion.organizations
Army of the Lord


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

Catholicism
religion.religion.organizations
St. Paul the Apostle Church

Catholicism
religion.religion.deities
Holy Spirit

Catholicism
religion.religion.deities
The Father

Catholicism
religion.religion.deities
Jesus Christ


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

Canada
location.location.time_zones
Newfoundland Time Zone


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.02zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02zjd ns:influence.influence_node.influenced_by ?x .
?x ns:architecture.architect.structures_designed ns:m.07z1fb .
}

F. Scott Fitzgerald
influence.influence_node.influenced_by
Edith Wharton


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

Jamaica
location.country.currency_used
Jamaican dollar


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?y,?x
WHERE {
FILTER (?x != ns:m.07fbnf)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07fbnf ns:sports.sports_league.teams ?y .
?y ns:sports.sports_league_participation.team ?x .
?x ns:sports.sports_team.championships ns:m.0468cj .
}

Los Angeles Angels of Anaheim
sports.sports_team.championships
2002 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.0_gt_jy .
?c ns:american_football.football_team.current_head_coach ?x .
}

Pittsburgh Steelers
sports.sports_team.championships
2011 AFC Championship Game


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.energy_use_per_capita ?c .
?c ns:measurement_unit.dated_kgoe.number "1006.494" .
}


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

Purdue University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?y,?x
WHERE {
FILTER (?x != ns:m.02114t)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02114t ns:base.popstra.celebrity.dated ?y .
?y ns:base.popstra.dated.participant ?x .
?x ns:sports.pro_athlete.sports_played_professionally ?c .
?c ns:sports.pro_sports_played.career_start "1992"^^xsd:dateTime .
}


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


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

Falkland Islands
location.location.containedby
Americas

Falkland Islands
location.location.containedby
South America

South America
common.topic.notable_types
Continent


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01yqrk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01yqrk ns:people.person.nationality ?x .
?x ns:location.location.time_zones ns:m.02hcv8 .
}

Steve Nash
people.person.nationality
Canada

Canada
location.location.time_zones
Eastern Time Zone


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

Sunni Islam
religion.religion.places_of_worship
Madayi Palli


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

Milwaukee Brewers
sports.sports_team.team_mascot
Bernie Brewer

Milwaukee Brewers
sports.sports_team.arena_stadium
Miller Park


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.02rvw91 .
?c ns:religion.religion.deities ?x .
}

Catholicism
religion.religion.organizations
Chavagnes International College

Catholicism
religion.religion.deities
Holy Spirit

Catholicism
religion.religion.deities
The Father

Catholicism
religion.religion.deities
Jesus Christ


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?k,?c,?y,?x
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.04f_m_x .
?c ns:organization.organization.headquarters ?y .
?y ns:location.mailing_address.citytown ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.05zjd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05zjd ns:language.human_language.countries_spoken_in ?x .
?x ns:location.statistical_region.market_cap_of_listed_companies_as_percent_of_gdp ?c .
?c ns:measurement_unit.dated_percentage.rate "10.43" .
}


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

Ukraine
location.country.languages_spoken
Romanian Language

Ukraine
location.country.languages_spoken
Hungarian language

Ukraine
location.country.languages_spoken
Russian Language

Ukraine
location.country.languages_spoken
Ukrainian Language

Ukraine
location.country.languages_spoken
Albanian language

Ukraine
location.country.languages_spoken
Moldovan language

Ukraine
location.country.languages_spoken
Tatar Language


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

Universal Studios Hollywood
location.location.time_zones
Eastern Time Zone


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

Nebraska
location.location.time_zones
Mountain Time Zone

South Dakota
location.location.time_zones
Mountain Time Zone

North Dakota
location.location.time_zones
Mountain Time Zone

Kansas
location.location.time_zones
Mountain Time Zone

Montana
location.location.time_zones
Mountain Time Zone


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

Beyoncé Knowles
people.person.children
Blue Ivy


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

Australia
location.location.time_zones
Central Western Time Zone

Australia
location.country.form_of_government
Constitutional monarchy

Australia
location.country.form_of_government
Parliamentary system

Australia
location.country.form_of_government
Federal monarchy


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

Peru
location.country.currency_used
Peruvian nuevo sol

Peru
location.country.form_of_government
Presidential system

Peru
location.country.form_of_government
Unitary state

Peru
location.country.form_of_government
Constitutional republic


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

McGill 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:music.artist.concert_tours ns:m.08079cl .
?c ns:people.person.place_of_birth ?x .
}

Jay-Z
music.artist.concert_tours
Jay-Z Fall Tour


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


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

Syracuse University Video Production Unit


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?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.09gnk2r .
?c ns:sports.sports_team.championships ?x .
?x ns:time.event.start_date ?sk0 .
}
ORDER BY DESC(xsd:datetime(?sk0))
LIMIT 1

San Francisco Giants
sports.sports_team.championships
2010 World Series

San Francisco Giants
sports.sports_team.championships
2014 World Series


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

Houston
location.hud_county_place.county
Montgomery County


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

Vietnam
location.country.currency_used
Vietnamese dong

Vietnam
location.country.form_of_government
Communist state

Vietnam
location.country.form_of_government
Single-party state

Vietnam
location.country.form_of_government
Socialist state