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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.political_district.elections ns:m.04n5stt .
?c ns:location.location.time_zones ?x .
}

United States Senate election in Hawaii, 2010

Hawaii
location.location.time_zones
Hawaii-Aleutian Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.03_y2f)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_y2f ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
?x ns:sports.sports_team.location ns:m.04jpl .
}

Chelsea F.C.
sports.sports_team.location
London


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:fictional_universe.fictional_character.children ns:m.05hhjz .
?c ns:fictional_universe.fictional_character.powers_or_abilities ?x .
}


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

Johns Hopkins University
common.topic.notable_types
College/University

Gettysburg College
common.topic.notable_types
College/University

Temple University
common.topic.notable_types
College/University


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:book.periodical_publisher.periodicals_published ?k .
?k ns:book.periodical_publisher_period.periodical ns:m.09vvldv .
?c ns:education.educational_institution.mascot ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0f2r6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f2r6 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:protected_sites.protected_site.date_established "1919-11-19"^^xsd:dateTime .
}


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

Step Up 3D
film.film.prequel
Step Up 2: The Streets


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

Andy Warhol
influence.influence_node.influenced_by
John Cage

John Cage
film.music_contributor.film
Inside Dope


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


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

Rihanna
music.lyricist.lyrics_written
Cockiness (Love It)


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:soccer.football_player.transfers ?k .
?k ns:soccer.football_player_transfer.purchasing_team ns:m.06l22 .
?c ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.from ?sk0} ||
EXISTS {?y ns:sports.sports_team_roster.from ?sk1 .
FILTER(xsd:datetime(?sk1) <= "2011-12-31"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.to ?sk2} ||
EXISTS {?y ns:sports.sports_team_roster.to ?sk3 .
FILTER(xsd:datetime(?sk3) >= "2011-01-01"^^xsd:dateTime) })
}


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

Golden Laurel for Top Female Comedy Performance

Audrey Hepburn
people.deceased_person.cause_of_death
Appendix cancer


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

Niger River
geography.river.basin_countries
Mali

Niger River
geography.river.basin_countries
Nigeria


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

Afghanistan
location.country.languages_spoken
Farsi, Eastern Language

Afghanistan
location.country.languages_spoken
Pashto language


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

Hannah Montana and Miley Cyrus: Best of Both Worlds Concert

Big Fish
film.film.language
English Language

High School Musical 2
film.film.language
English Language

So Undercover
film.film.language
English Language

Super Rhino
film.film.language
English Language

Sex and the City 2
film.film.language
English Language

Hannah Montana: The Movie
film.film.language
English Language

Bolt
film.film.language
English Language

The Last Song
film.film.language
English Language

Radio Disney Party Jams: The Concert
film.film.language
English Language

Wizards on Deck with Hannah Montana
film.film.language
English Language

Miley Cyrus: Tongue Tied
film.film.language
English Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.03_3d)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_3d ns:location.country.languages_spoken ?x .
?x ns:interests.hobby.people_with_this_hobby ns:m.0109m_7b .
}

Japan
location.country.languages_spoken
Japanese Language

Japanese Language
interests.hobby.people_with_this_hobby
Mariusz Wróblewski


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


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

BAFTA Award for Best Screenplay, Adapted


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01pr9kj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01pr9kj ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
?x ns:tv.tv_program.number_of_seasons "2" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0bmh4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bmh4 ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.04ztj .
?x ns:people.deceased_person.cause_of_death ns:m.015xf8 .
}

Mike Todd
people.deceased_person.cause_of_death
Aviation accident or incident


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

Greenland
location.country.official_language
Greenlandic language

Greenland
location.location.containedby
North America

North America
common.topic.notable_types
Continent


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0bpd5z)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bpd5z ns:book.author.works_written ?x .
?x ns:book.book.genre ns:m.0dwly .
?x ns:book.written_work.subjects ns:m.019_nn .
}

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

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

Gregor and the Prophecy of Bane
book.written_work.subjects
Friendship


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01lwx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01lwx ns:book.book_subject.works ?x .
?x ns:book.written_work.author ns:m.01d41l .
}

Charles Darwin
book.book_subject.works
Charles Darwin

Charles Darwin
book.written_work.author
Grant Allen


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.0yb0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0yb0 ns:influence.influence_node.influenced_by ?x .
?x ns:people.deceased_person.date_of_death ?num .
FILTER (?num < "1896-10-03"^^xsd:dateTime) .
}

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:law.court_jurisdiction_area.courts ns:m.09gbtd0 .
?c ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
}

European Union
law.court_jurisdiction_area.courts
Court of Justice of the European Union


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0yfp)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0yfp ns:influence.influence_node.influenced_by ?x .
?x ns:people.deceased_person.date_of_death "1616-04-23"^^xsd:dateTime .
}

Arthur Miller
influence.influence_node.influenced_by
William Shakespeare


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

Don't Look a Gift Horse in the Mouth (a.k.a. Gift Horse)


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.government ns:m.0gy6lgd .
?c ns:base.locations.countries.continent ?x .
}

Government of the Republic of Seychelles


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0jzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jzc ns:language.human_language.countries_spoken_in ?x .
?x ns:fictional_universe.fictional_setting.fictional_characters_born_here ns:m.06f_q7 .
}


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:law.court.judges ?k .
?k ns:law.judicial_tenure.title ns:m.012w3 .
?c ns:government.governmental_body.offices_positions ?x .
}

Associate Justice of the Supreme Court of the United States


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0bmh4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bmh4 ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.04ztj .
?x ns:kg.object_profile.prominent_type ns:film.actor .
}


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


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

United Kingdom
location.country.languages_spoken
Esperanto Language

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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.06y57)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06y57 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:time.recurring_event.date_of_first_occurance "1971-09-05"^^xsd:dateTime .
}


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0jzc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0jzc ns:language.human_language.countries_spoken_in ?x .
?x ns:military.military_combatant.casualties ?c .
?c ns:military.casualties.military_conflict ns:m.03vc6 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.02bpjk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02bpjk ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:book.periodical_publisher.periodicals_published ?c .
?c ns:book.periodical_publisher_period.periodical ns:m.05616m6 .
}

Louisiana State University
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0xbm)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0xbm ns:sports.sports_award_winner.awards ?y .
?y ns:sports.sports_award.season ?x .
?y ns:sports.sports_award.award ns:m.02_p0 .
?x ns:sports.sports_championship_event.championship ns:m.02_p0 .
}


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


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


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


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

Egypt
location.country.languages_spoken
Arabic Language

Egypt
location.country.languages_spoken
Sa'idi Arabic

Egypt
location.country.languages_spoken
Arabic, Sudanese Spoken Language

Egypt
location.country.languages_spoken
Egyptian Arabic

Egypt
location.country.languages_spoken
Domari Language

Egypt
location.country.languages_spoken
Modern Standard Arabic

Egypt
location.country.languages_spoken
Bedawi Arabic

Egypt
location.country.languages_spoken
Siwi Language

Egypt
location.country.languages_spoken
Nobiin Language


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

Star Wars Episode III: Revenge of the Sith


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

Ottoman Empire
location.country.currency_formerly_used
Akçe

Ottoman Empire
location.location.containedby
Near East


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


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

The Lord of the Rings: The Fellowship of the Ring


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

Mexico
location.country.languages_spoken
Purépecha language

United States of America
common.topic.notable_types
Country


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

Islam
religion.religion.founding_figures
Muhammad in Islam

Islam
religion.religion.texts
Fajr prayer

Islam
religion.religion.texts
Sahih al-Bukhari

Islam
religion.religion.texts
Al-Baqara 255

Islam
religion.religion.texts
Sword Verse


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.01pr9kj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01pr9kj ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
?x ns:tv.tv_program.number_of_seasons ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0411sjw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0411sjw ns:tv.tv_character.appeared_in_tv_program ?y .
?y ns:tv.regular_tv_appearance.seasons ?x .
?x ns:tv.tv_series_season.thetvdb_id "33133" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:media_common.dedicatee.dedications ?k .
?k ns:media_common.dedication.dedicated_by ns:m.0813l .
?c ns:people.person.profession ?x .
}

Augustus
people.person.profession
Roman emperor


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

Germany
location.location.contains
Weeze Airport

Weeze Airport
aviation.airport.hub_for
V Bird


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


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

Roy Lichtenstein
influence.influence_node.influenced_by
Robert Rauschenberg

Robert Rauschenberg
influence.influence_node.influenced_by
Clyfford Still


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0yb0)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0yb0 ns:influence.influence_node.influenced_by ?x .
?x ns:book.author.works_written ns:m.027ghtv .
}

Antoni Gaudí
influence.influence_node.influenced_by
William Morris

William Morris
book.author.works_written
The Story of the Glittering Plain


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

Texas
location.location.time_zones
Central Time Zone

Boonville Township, Cooper County, Missouri


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

Egypt
location.location.partially_contains
Gebel Elba

Egypt
location.country.languages_spoken
Arabic Language

Egypt
location.country.languages_spoken
Sa'idi Arabic

Egypt
location.country.languages_spoken
Arabic, Sudanese Spoken Language

Egypt
location.country.languages_spoken
Egyptian Arabic

Egypt
location.country.languages_spoken
Domari Language

Egypt
location.country.languages_spoken
Modern Standard Arabic

Egypt
location.country.languages_spoken
Bedawi Arabic

Egypt
location.country.languages_spoken
Siwi Language

Egypt
location.country.languages_spoken
Nobiin Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_location.featured_in_films ns:m.03rhlt .
?c ns:location.location.time_zones ?x .
}

Hawaii
film.film_location.featured_in_films
Blue Hawaii

Hawaii
location.location.time_zones
Hawaii-Aleutian Time Zone


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01f62)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01f62 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:geography.mountain.prominence "696.0" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01727v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01727v ns:music.musical_group.member ?y .
?y ns:music.group_membership.member ?x .
?x ns:film.film_story_contributor.film_story_credits ns:m.0crztvy .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.052bw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.052bw ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.structure.opened ?num .
FILTER (?num < "2002-07-05"^^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.place_with_neighborhoods.neighborhoods ns:m.02kkt0 .
?c ns:base.biblioness.bibs_location.state ?x .
}


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

Mongolia
location.country.languages_spoken
Kazakh Language

Mongolia
location.country.form_of_government
Parliamentary republic

Mongolia
location.country.form_of_government
Semi-presidential system


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

Scream 4
film.film.film_set_decoration_by
Helen Britten


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.place_with_neighborhoods.neighborhoods ns:m.0488t_r .
?c ns:travel.travel_destination.how_to_get_here ?y .
?y ns:travel.transportation.transport_terminus ?x .
?y ns:travel.transportation.mode_of_transportation ns:m.07jdr .
?x ns:location.location.containedby ?c .
}

San Francisco 4th and King Street Station


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x,?y
WHERE {
FILTER (?x != ns:m.03_y2f)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_y2f ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
?x ns:sports.sports_team.founded ?num .
FILTER (?num < "1905-03-10"^^xsd:dateTime) .
}


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

Knowing
film.film.produced_by
Alex Proyas


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

Who is rich? He that rejoices in his portion.

Benjamin Franklin
people.person.profession
Librarian

Benjamin Franklin
people.person.profession
Inventor

Benjamin Franklin
people.person.profession
Musician

Benjamin Franklin
people.person.profession
Writer

Benjamin Franklin
people.person.profession
Politician

Benjamin Franklin
people.person.profession
Scientist

Benjamin Franklin
people.person.profession
Diplomat

Benjamin Franklin
people.person.profession
Political activist

Benjamin Franklin
people.person.profession
Author

Benjamin Franklin
people.person.profession
Printer

Benjamin Franklin
people.person.profession
Statesman

Benjamin Franklin
people.person.profession
Satirist


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:fictional_universe.fictional_character.children ns:m.046vzp2 .
?c ns:tv.tv_character.appeared_in_tv_program ?y .
?y ns:tv.regular_tv_appearance.seasons ?x .
}


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


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

Native Americans in the United States
film.film_subject.films
No More Smoke Signals

Native Americans in the United States
people.ethnicity.languages_spoken
English Language

Native Americans in the United States
people.ethnicity.languages_spoken
French

Native Americans in the United States
people.ethnicity.languages_spoken
Spanish Language

Native Americans in the United States
people.ethnicity.languages_spoken
American 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:common.topic.image ns:m.041zky3 .
?c ns:visual_art.visual_artist.art_forms ?x .
}

Salvador Domingo Felipe Jacinto Dalí i Domènech

Self-portrait — by  teenage Dalí in 1921

Self-portrait — by  teenage Dalí in 1921


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

Michigan Wolverines football
sports.school_sports_team.school
University of Michigan


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.06y57)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06y57 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:time.recurring_event.date_of_first_occurance ?num .
}
ORDER BY DESC(?num) LIMIT 1


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.02xry)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02xry ns:travel.travel_destination.tourist_attractions ?x .
?x ns:protected_sites.protected_site.annual_visitors ?c .
?c ns:measurement_unit.dated_integer.number "64122" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:tv.tv_program.theme_song ns:m.047f7s9 .
?c ns:tv.tv_program.regular_cast ?y .
?y ns:tv.regular_tv_appearance.actor ?x .
?y ns:tv.regular_tv_appearance.character ns:m.069qj0 .
}

Theme from The Dukes of Hazzard (Good Ol' Boys)


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0d9jr)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d9jr ns:travel.travel_destination.tourist_attractions ?x .
?x ns:architecture.building.floors "6" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0bmh4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bmh4 ns:people.person.spouse_s ?y .
?y ns:people.marriage.spouse ?x .
?y ns:people.marriage.type_of_union ns:m.04ztj .
?x ns:government.politician.government_positions_held ?c .
?c ns:government.government_position_held.governmental_body ns:m.07t58 .
}


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:common.topic.image ns:m.0g_mxtd .
?c ns:book.book_subject.works ?x .
?x ns:common.topic.notable_types ns:m.03jz7ls .
}

Looking at the World through Michael Jackson's Left Eye (Part 2)

Countdown of 10 Amazing Moments from the Year 2011: No. 6 Sonny Rollins

Harlem Renaissance
common.topic.image
New Negro Movement


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

Finland
location.country.languages_spoken
Finnish Language

Finland
location.country.languages_spoken
Swedish Language

Finland
location.country.languages_spoken
Saami, North Language

Finland
location.country.languages_spoken
Saami, Inari Language


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.06hrk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06hrk ns:organization.organization_founder.organizations_founded ?x .
?x ns:organization.organization.companies_acquired ?c .
?c ns:business.acquisition.company_acquired ns:m.013x0b .
}


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

Hogwarts School of Witchcraft and Wizardry


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


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

Shawnee Mission West High School
common.topic.notable_types
School


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.085gk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.085gk ns:influence.influence_node.influenced_by ?x .
?x ns:event.public_speaker.speeches_or_presentations ?c .
?c ns:event.speech_or_presentation.speech_topic ns:m.02rc5 .
}

Walt Whitman
influence.influence_node.influenced_by
Abraham Lincoln


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0157m)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0157m ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:fictional_universe.school_in_fiction.students_graduates ns:m.025fh .
}

University of Oxford
common.topic.notable_types
College/University


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.085gk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.085gk ns:influence.influence_node.influenced_by ?x .
?x ns:media_common.dedicatee.dedications ?c .
?c ns:media_common.dedication.dedicated_by ns:m.07t31 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0160w)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0160w ns:location.country.languages_spoken ?x .
?x ns:fictional_universe.fictional_language.found_in_fictional_universe ns:m.02s3gw .
}

Bahamas
location.country.languages_spoken
English Language


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

United States Senate election in Tennessee, 2008


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

Star Wars Episode III: Revenge of the Sith

Classic FM: Star Wars Suite and Other Great Film Music


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

The Last Song
film.film.story_by
Nicholas Sparks


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

Sweden
location.country.second_level_divisions
Skara Municipality

Sweden
location.country.currency_used
Swedish krona


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

William Shatner
people.person.place_of_birth
Côte Saint-Luc


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

Egypt
location.country.languages_spoken
Arabic Language

Egypt
location.country.languages_spoken
Sa'idi Arabic

Egypt
location.country.languages_spoken
Arabic, Sudanese Spoken Language

Egypt
location.country.languages_spoken
Egyptian Arabic

Egypt
location.country.languages_spoken
Domari Language

Egypt
location.country.languages_spoken
Modern Standard Arabic

Egypt
location.country.languages_spoken
Bedawi Arabic

Egypt
location.country.languages_spoken
Siwi Language

Egypt
location.country.languages_spoken
Nobiin Language


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

Minnesota Vikings
sports.sports_team.location
Minneapolis


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01pr9kj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01pr9kj ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
?x ns:kg.object_profile.prominent_type ns:award.award_winning_work .
}


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

Andy Warhol
influence.influence_node.influenced_by
Marcel Duchamp

Marcel Duchamp
people.deceased_person.place_of_death
Neuilly-sur-Seine


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0_6t_z8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0_6t_z8 ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:royalty.kingdom.rulers ns:m.012rkn .
}

Portugal
royalty.kingdom.rulers
Philip III of Spain


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01pr9kj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01pr9kj ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
?x ns:tv.tv_program.tvrage_id "25864" .
}


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

Tunisia
location.location.people_born_here
Jeanne Favret-Saada

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

Tunisia
location.country.currency_used
Tunisian dinar


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

Fiji
location.country.form_of_government
Parliamentary republic

Parliamentary republic
government.government.government_for
Dominica


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

William Shakespeare
music.lyricist.lyrics_written
The Poor Soul Sat Sighing


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0264yjz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0264yjz ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
?x ns:award.award_nominee.award_nominations ?c .
?c ns:award.award_nomination.award ns:m.0d999y .
}

Laureus World Sports Award for Team of the Year


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

John F. Kennedy
film.film_subject.films
An American Affair

John F. Kennedy
people.deceased_person.place_of_death
Dallas


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.06xxc)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06xxc ns:people.person.nationality ?x .
?x ns:location.statistical_region.places_exported_to ?c .
?c ns:location.imports_and_exports.exported_to ns:m.016zwt .
}

Samuel Pepys
people.person.nationality
China


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

Limp Bizkit: Kick Some @$$: Unauthorized

Fred Durst
people.person.profession
Businessperson

Fred Durst
people.person.profession
Actor

Fred Durst
people.person.profession
Film director

Fred Durst
people.person.profession
Guitarist

Fred Durst
people.person.profession
Musician

Fred Durst
people.person.profession
Singer

Fred Durst
people.person.profession
Songwriter

Fred Durst
people.person.profession
Rapper


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

Texas
location.location.time_zones
Central Time Zone

San Juan del Río Municipality, Querétaro


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01y603)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01y603 ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:fictional_universe.school_in_fiction.students_graduates ns:m.0127f0xc .
}


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

Egypt
location.location.partially_contains
Gebel Elba

Egypt
location.country.form_of_government
Semi-presidential system

Egypt
location.country.form_of_government
Provisional government


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:media_common.dedicator.dedications ?k .
?k ns:media_common.dedication.work_dedicated ns:m.01b0b7 .
?c ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?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.academic.advisees ns:m.04hnf4 .
?c ns:people.person.profession ?x .
}

Galileo Galilei
education.academic.advisees
Vincenzo Viviani

Galileo Galilei
people.person.profession
Astronomer

Galileo Galilei
people.person.profession
Scientist

Galileo Galilei
people.person.profession
Mathematician

Galileo Galilei
people.person.profession
Physicist

Galileo Galilei
people.person.profession
Astrologer


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

Zambezi
geography.body_of_water.bridges
Chirundu Bridge


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

Canada
sports.sports_team_location.teams
Canada men's national soccer 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:music.lyricist.lyrics_written ns:m.0zm3ntv .
?c ns:people.person.profession ?x .
}

Fred Durst
music.lyricist.lyrics_written
Stinkfinger

Fred Durst
people.person.profession
Businessperson

Fred Durst
people.person.profession
Actor

Fred Durst
people.person.profession
Film director

Fred Durst
people.person.profession
Guitarist

Fred Durst
people.person.profession
Musician

Fred Durst
people.person.profession
Singer

Fred Durst
people.person.profession
Songwriter

Fred Durst
people.person.profession
Rapper


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:book.periodical_publisher.periodicals_published ?k .
?k ns:book.periodical_publisher_period.periodical ns:m.06yklm .
?c ns:location.location.containedby ?x .
?x ns:common.topic.notable_types ns:m.0kpys4 .
}

Harvard College
location.location.containedby
Massachusetts

Massachusetts
common.topic.notable_types
US State


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.governmental_jurisdiction.official_symbols ?k .
?k ns:location.location_symbol_relationship.symbol ns:m.025_lbp .
?c ns:location.country.currency_used ?x .
}

Puerto Rico
location.country.currency_used
United States Dollar


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

Russia
location.country.languages_spoken
Chechen Language

Russia
location.country.form_of_government
Semi-presidential system

Russia
location.country.form_of_government
Federal republic

Russia
location.country.form_of_government
Constitutional republic


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x
WHERE {
FILTER (?x != ns:m.06y57)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06y57 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:exhibitions.exhibition_venue.exhibitions_at_this_venue ?c .
?c ns:exhibitions.exhibition_run.opened_on ?num .
}
ORDER BY DESC(?num) LIMIT 1


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

Independent Spirit Award for Best Documentary Feature


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

North Korea
common.topic.notable_types
Country


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

Federal republic
government.form_of_government.countries
Bosnia and Herzegovina


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.03yk4pb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03yk4pb ns:people.person.places_lived ?y .
?y ns:people.place_lived.location ?x .
?x ns:fictional_universe.fictional_setting.characters_that_have_lived_here ns:m.02pvcx3 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:law.court.judges ?k .
?k ns:law.judicial_tenure.judge ns:m.01hksb .
?c ns:government.governmental_body.offices_positions ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0_6t_z8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0_6t_z8 ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:royalty.kingdom.rulers ns:m.01301f .
}

Hungary
royalty.kingdom.rulers
Joseph II, Holy Roman Emperor


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:visual_art.visual_artist.art_series ns:m.0gmgj0b .
?c ns:visual_art.visual_artist.associated_periods_or_movements ?x .
}

Vincent van Gogh
visual_art.visual_artist.art_series
Hospital in Arles


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:periodicals.newspaper_circulation_area.newspapers ns:m.04gpyh_ .
?c ns:travel.travel_destination.tourist_attractions ?x .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0_6t_z8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0_6t_z8 ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:event.speech_topic.speeches_or_presentations_on_this_topic ?c .
?c ns:event.speech_or_presentation.speaker_s ns:m.08ngt5v .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0d060g)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d060g ns:sports.sports_team_location.teams ?x .
?x ns:business.sponsored_recipient.sponsorship ?c .
?c ns:business.sponsorship.sponsored_by ns:m.0154cw .
}

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

Canada
sports.sports_team_location.teams
Canadian National Women's Hockey 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.second_level_divisions ns:m.0w1g9nm .
?c ns:base.locations.countries.continent ?x .
}

Denmark
location.country.second_level_divisions
Læsø Municipality


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

Stillwater
location.hud_county_place.county
Washington County


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0bdxs5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bdxs5 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.genre ?c .
?c ns:type.object.name "Animation"@en .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0_6t_z8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0_6t_z8 ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:location.statistical_region.co2_emissions_per_capita ?c .
?c ns:measurement_unit.dated_metric_ton.number "0.928578" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0127mr)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0127mr ns:time.event.locations ?x .
?x ns:location.statistical_region.co2_emissions_total ?c .
?c ns:location.co2_emission.emissions "0.058956782" .
}

Battle of Shiloh
time.event.locations
Hardin County


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.07gvx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.07gvx ns:religion.religion.texts ?x .
?x ns:book.book.genre ns:m.037mh8 .
}

Taoism
religion.religion.texts
Tao Te Ching


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0j1qb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0j1qb ns:location.location.containedby ?x .
?x ns:government.governmental_jurisdiction.official_symbols ?c .
?c ns:location.location_symbol_relationship.symbol ns:m.01k6wv .
}

Illinois River
location.location.containedby
Illinois


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


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

Rihanna
music.featured_artist.recordings
Love the Way You Lie


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.05csx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05csx ns:geography.river.basin_countries ?x .
?x ns:location.country.calling_code ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1

Niger River
geography.river.basin_countries
Nigeria


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0yfp)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0yfp ns:influence.influence_node.influenced_by ?x .
?x ns:theater.theatrical_lyricist.play_lyrics_written ns:m.01w0fm .
}

Arthur Miller
influence.influence_node.influenced_by
William Shakespeare


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x,?y
WHERE {
FILTER (?x != ns:m.01xvb)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01xvb ns:sports.professional_sports_team.draft_picks ?y .
?y ns:sports.sports_league_draft_pick.player ?x .
?x ns:american_football.football_player.passing ?c .
?c ns:american_football.player_passing_statistics.completions ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1


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


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

Audrey Hepburn
people.deceased_person.cause_of_death
Appendix cancer


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0bpd5z)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bpd5z ns:book.author.works_written ?x .
?x ns:book.book.genre ns:m.0dwly .
?x ns:book.book.genre ns:m.014dfn .
}

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

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

Gregor and the Code of Claw
book.book.genre
Speculative fiction

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

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

Gregor and the Prophecy of Bane
book.book.genre
Speculative fiction


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:event.public_speaker.speeches_or_presentations ?k .
?k ns:event.speech_or_presentation.event ns:m.010r041_ .
?c ns:people.person.nationality ?x .
}

70th anniversary of D-Day and the Battle of Normandy

Barack Obama
people.person.nationality
United States of America


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:tv.tv_program.multipart_episodes ns:m.0961jxx .
?c ns:tv.tv_program.regular_cast ?y .
?y ns:tv.regular_tv_appearance.actor ?x .
?y ns:tv.regular_tv_appearance.character ns:m.0hp05 .
}

Star Trek: The Next Generation
tv.tv_program.multipart_episodes
Unification


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

I accept reality and dare not question it.

Walt Whitman
influence.influence_node.influenced_by
Ralph Waldo Emerson

Walt Whitman
influence.influence_node.influenced_by
Georg Wilhelm Friedrich Hegel

Walt Whitman
influence.influence_node.influenced_by
Abraham Lincoln

Walt Whitman
influence.influence_node.influenced_by
Edgar Allan Poe

Walt Whitman
influence.influence_node.influenced_by
Oscar Wilde

Walt Whitman
influence.influence_node.influenced_by
Walter Scott

Walt Whitman
influence.influence_node.influenced_by
Henry David Thoreau


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

Hungary
location.country.official_language
Hungarian language


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


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

    ns:m.09b69 ns:location.location.contains ?y1 .  # Eastern Europe
    ?y1 ns:common.topic.notable_types ns:m.01mp .   # Country
    ?y1 ns:location.statistical_region.religions ?y2 .
    ?y2 ns:location.religion_percentage.religion ?x .?x ns:book.book_subject.works ns:m.010r883v .
}

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

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

Judaism
book.book_subject.works
Somewhere a Master


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

The Runaway Troupe of the Cartesian Theater


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01lwx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01lwx ns:book.book_subject.works ?x .
?x ns:book.book.genre ns:m.01hmnh .
}

Charles Darwin
book.book_subject.works
Charles Darwin in Cyberspace

Charles Darwin in Cyberspace
book.book.genre
Fantasy


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.0g8lsf)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0g8lsf ns:location.location.containedby ?x .
?x ns:government.governmental_jurisdiction.official_symbols ?c .
?c ns:location.location_symbol_relationship.Kind_of_symbol ns:m.01yrt2 .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.02676m4)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02676m4 ns:film.film_series.films_in_series ?x .
?x ns:film.film.music ns:m.03f7k6m .
}

Harry Potter and the Order of the Phoenix

Harry Potter
film.film_series.films_in_series
Harry Potter and the Half-Blood Prince

Harry Potter and the Half-Blood Prince
film.film.music
Nicholas Hooper


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.01pr9kj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01pr9kj ns:tv.tv_actor.starring_roles ?y .
?y ns:tv.regular_tv_appearance.series ?x .
?x ns:media_common.netflix_title.netflix_genres ns:m.07c52 .
}


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

Belgium
location.country.official_language
Dutch Language

Belgium
location.country.official_language
German Language


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

North Korea
common.topic.notable_types
Country


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

Cristiano Ronaldo
film.film_subject.films
Ronaldo: Tested to the Limit


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

William Shakespeare
influence.influence_node.influenced_by
Thomas More


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?x
WHERE {
FILTER (?x != ns:m.01lwx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01lwx ns:book.book_subject.works ?x .
?x ns:book.written_work.date_of_first_publication ?num .
}
ORDER BY DESC(?num) LIMIT 1

Charles Darwin
book.book_subject.works
Celebrating Evolution the Web Way


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

Sex and the City 2
film.film.story_by
Candace Bushnell


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:business.sponsored_recipient.sponsorship ?k .
?k ns:business.sponsorship.sponsored_by ns:m.0bx5v4 .
?c ns:people.person.place_of_birth ?x .
}

Shawn Johnson
people.person.place_of_birth
Des Moines


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


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

Justin Bieber
music.lyricist.lyrics_written
All Around The World

Justin Bieber
people.person.nationality
Canada


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:media_common.dedicatee.dedications ?k .
?k ns:media_common.dedication.dedicated_by ns:m.0bvzp .
?c ns:people.deceased_person.place_of_death ?x .
?x ns:common.topic.notable_types ns:m.01m9 .
}

John F. Kennedy
people.deceased_person.place_of_death
Dallas


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

Animation
media_common.media_genre.child_genres
Cartoon pornography


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x
WHERE {
FILTER (?x != ns:m.0f2r6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0f2r6 ns:travel.travel_destination.tourist_attractions ?x .
?x ns:protected_sites.protected_site.annual_visitors ?c .
?c ns:measurement_unit.dated_integer.number ?num .
FILTER (xsd:integer(?num) > 1012563) .
}


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


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

Ukraine
location.country.currency_used
Ukrainian hryvnia


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

Gettysburg College
common.topic.notable_types
College/University


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.02bwjv)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02bwjv ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:film.film.genre ?c .
?c ns:type.object.name "Animated cartoon"@en .
}

Yin Yang Yo! The Movie
film.film.genre
Animated cartoon

Animated cartoon
type.object.name
"Animated cartoon"@en


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.03_dj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03_dj ns:people.person.profession ?x .
?x ns:religion.religious_leadership_title.leaders ?c .
?c ns:religion.religious_organization_leadership.end_date "1805"^^xsd:dateTime .
}

Jonathan Swift
people.person.profession
Priest


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.location.partially_contains ns:m.035g2r .
?c ns:base.biblioness.bibs_location.country ?x .
}

Alaska
location.location.partially_contains
Koyukuk River

Alaska
base.biblioness.bibs_location.country
United States of America


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:book.author.book_editions_published ns:m.040v_ty .
?c ns:people.person.profession ?x .
}

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

Benjamin Franklin
people.person.profession
Librarian

Benjamin Franklin
people.person.profession
Inventor

Benjamin Franklin
people.person.profession
Musician

Benjamin Franklin
people.person.profession
Writer

Benjamin Franklin
people.person.profession
Politician

Benjamin Franklin
people.person.profession
Scientist

Benjamin Franklin
people.person.profession
Diplomat

Benjamin Franklin
people.person.profession
Political activist

Benjamin Franklin
people.person.profession
Author

Benjamin Franklin
people.person.profession
Printer

Benjamin Franklin
people.person.profession
Statesman

Benjamin Franklin
people.person.profession
Satirist


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.0bdlj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bdlj ns:music.group_member.instruments_played ?x .
?x ns:music.genre.albums ns:m.012kc501 .
}

Duke Ellington
music.group_member.instruments_played
Piano

Piano
music.genre.albums
Butterfly Rapture


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.political_district.elections ns:m.051xf3x .
?c ns:base.biblioness.bibs_location.country ?x .
}

United States Senate election in Alaska, 2010

Alaska
base.biblioness.bibs_location.country
United States of America


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


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

Liv Tyler
music.featured_artist.recordings
The Houses of Healing

The Lord of the Rings: The Fellowship of the Ring


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

Andy Warhol
influence.influence_node.influenced_by
Man Ray


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.film_subject.films ns:m.0dj5rq7 .
?c ns:sports.drafted_athlete.drafted ?y .
?y ns:sports.sports_league_draft_pick.draft ?x .
}

Michael Jordan
film.film_subject.films
Jordan Rides the Bus


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


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

Roy Lichtenstein
influence.influence_node.influenced_by
Jasper Johns


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

Hannah Montana: The Movie
film.film.film_art_direction_by
Elliott Glick


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01509d)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01509d ns:book.author.works_written ?x .
?x ns:book.book.genre ns:m.014dfn .
}

Acts of Light: The World of Emily Dickinson


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

New York Yankees
sports.sports_team.location
The Bronx

New York Yankees
sports.sports_team.championships
1923 World Series


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:event.public_speaker.speeches_or_presentations ?k .
?k ns:event.speech_or_presentation.speech_topic ns:m.02mg6f .
?c ns:government.us_president.vice_president ?x .
}

Barack Obama
government.us_president.vice_president
Joe Biden


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?num,?c,?x
WHERE {
FILTER (?x != ns:m.085gk)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.085gk ns:influence.influence_node.influenced_by ?x .
?x ns:government.politician.party ?c .
?c ns:government.political_party_tenure.from ?num .
}
ORDER BY DESC(?num) LIMIT 1

Walt Whitman
influence.influence_node.influenced_by
Abraham Lincoln


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01lwx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01lwx ns:book.book_subject.works ?x .
?x ns:book.written_work.date_of_first_publication "1972"^^xsd:dateTime .
}

Charles Darwin
book.book_subject.works
Darwin and His Great Discovery


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0bdxs5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0bdxs5 ns:film.actor.film ?y .
?y ns:film.performance.film ?x .
?x ns:award.award_nominated_work.award_nominations ?c .
?c ns:award.award_nomination.notes_description "The entire cast"@en .
}


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x,?y
WHERE {
FILTER (?x != ns:m.0411sjw)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0411sjw ns:tv.tv_character.appeared_in_tv_program ?y .
?y ns:tv.regular_tv_appearance.seasons ?x .
?x ns:tv.tv_series_season.to "2008-11-23"^^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:government.political_district.elections ns:m.02wvr4b .
?c ns:base.biblioness.bibs_location.country ?x .
}

United States Senate election in Alaska, 2008


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


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

San Francisco 4th and King Street Station


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.09_xn)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.09_xn ns:visual_art.visual_artist.art_forms ?x .
?x ns:interests.hobby.people_with_this_hobby ns:m.011xcz45 .
}

Salvador Domingo Felipe Jacinto Dalí i Domènech

Photography
interests.hobby.people_with_this_hobby
Walid BERRAZEG


#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
    {
      SELECT ?x (COUNT(?x) as ?count)
      WHERE {
          ns:m.02_p0 ns:sports.sports_award_type.winners ?y .
          ?y ns:sports.sports_award.award_winner ?x .
      }
    }
    {
      SELECT (MAX(?count) AS ?maxCount)
      WHERE {
        SELECT ?x (COUNT(?x) as ?count)
        WHERE {
          ns:m.02_p0 ns:sports.sports_award_type.winners ?y .
          ?y ns:sports.sports_award.award_winner ?x .
        }
      }
    }
    FILTER (?maxCount = ?count)?x ns:soccer.football_team.borrowed_players ?c .
?c ns:soccer.football_player_loan.player ns:m.01g562 .
}


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

Bob Dylan
music.lyricist.lyrics_written
If Not for You


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


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

Barack Obama
people.person.place_of_birth
Honolulu


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

The Hunger Games
film.film.genre
Thriller

The Hunger Games: Catching Fire
film.film.genre
Thriller

The Expendables 2
film.film.genre
Thriller


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?x
WHERE {
FILTER (?x != ns:m.01509d)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01509d ns:book.author.works_written ?x .
?x ns:book.written_work.date_of_first_publication "1961"^^xsd:dateTime .
}

Emily Dickinson
book.author.works_written
Final harvest


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

Camp Rock 2: The Final Jam
film.film.executive_produced_by
Alan Sacks

Camp Rock
film.film.executive_produced_by
Alan Sacks


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


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


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.06bnz)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06bnz ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:religion.religious_leadership_jurisdiction.leader ?c .
?c ns:religion.religious_organization_leadership.start_date "2000-11-06"^^xsd:dateTime .
}


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

Phineas and Ferb the Movie: Across the 2nd Dimension

Holly Hobbie and Friends: Christmas Wishes

Holly Hobbie and Friends: Surprise Party

The Little Engine That Could
film.film.genre
Animation

Animation
media_common.media_genre.child_genres
Stop motion

Garfield: The Movie
film.film.genre
Animation


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x
WHERE {
FILTER (?x != ns:m.09472)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.09472 ns:location.country.form_of_government ?x .
?x ns:government.form_of_government.countries ?c .
?c ns:location.location.people_born_here ns:g.122wbmv4 .
}

Monarchy
government.form_of_government.countries
Kingdom of Portugal

Kingdom of Portugal
location.location.people_born_here
Antão Martins Homem


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

You cannot simultaneously prevent and prepare for war.

Albert Einstein
people.person.profession
Teacher

Albert Einstein
people.person.profession
Writer

Albert Einstein
people.person.profession
Scientist

Albert Einstein
people.person.profession
Philosopher

Albert Einstein
people.person.profession
Mathematician

Albert Einstein
people.person.profession
Physicist

Albert Einstein
people.person.profession
Author

Albert Einstein
people.person.profession
Theoretical Physicist


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


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

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


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

Giza Necropolis
location.location.containedby
Giza


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

Vice Premier of the People's Republic of China

China
location.country.official_language
Standard Chinese


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:fictional_universe.fictional_setting.characters_that_have_lived_here ns:m.0swpwrq .
?c ns:travel.travel_destination.how_to_get_here ?y .
?y ns:travel.transportation.transport_terminus ?x .
?y ns:travel.transportation.mode_of_transportation ns:m.07jdr .
?x ns:location.location.containedby ?c .
}

San Francisco 4th and King Street Station


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?y
WHERE {
FILTER (?x != ns:m.0_6t_z8)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0_6t_z8 ns:organization.membership_organization.members ?y .
?y ns:organization.organization_membership.member ?x .
?x ns:location.statistical_region.size_of_armed_forces ?c .
?c ns:measurement_unit.dated_integer.number "10000" .
}


PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT ?c,?x,?k,?y
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:award.award_nominee.award_nominations ?k .
?k ns:award.award_nomination.nominated_for ns:m.0_sxcq3 .
?c 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) })
}


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