#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbowl: <http://dbpedia.org/ontology/>
PREFIX  dbprop: <http://dbpedia.org/property/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?name ?person
WHERE
  { ?person rdf:type foaf:Person .
    ?person rdf:type dbowl:Artist .
    ?person foaf:name ?name
    FILTER regex(str(?name), "Robbie Williams")
  }
LIMIT   10
#-------------------------------------------------------
SELECT DISTINCT  ?field
WHERE
  { ?s <http://dbpedia.org/property/field> ?field }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  geo:  <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  vcard: <http://www.w3.org/2001/vcard-rdf/3.0#>
PREFIX  dcterms: <http://purl.org/dc/terms/>
PREFIX  sioc: <http://rdfs.org/sioc/ns#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  co:   <http://www.geonames.org/countries/#>
PREFIX  category: <http://dbpedia.org/resource/Category:>
PREFIX  time: <http://pervasive.semanticweb.org/ont/2004/06/time#>
PREFIX  p:    <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  swrc: <http://swrc.ontoware.org/ontology#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  rss:  <http://purl.org/rss/1.0/>
PREFIX  cyc:  <http://www.cyc.com/2004/06/04/cyc#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?label ?property ?hasValue ?itemlabel
WHERE
  { <http://dbpedia.org/resource/Dauphin%2C_Manitoba> ?property ?hasValue
    OPTIONAL
      { ?hasValue rdfs:label ?itemlabel }
    OPTIONAL
      { ?property rdfs:label ?label }
    FILTER ( ( ( langMatches(lang(?label), "en") || ( ! langMatches(lang(?label), "*") ) ) && ( langMatches(lang(?hasValue), "en") || ( ! langMatches(lang(?hasValue), "*") ) ) ) && ( langMatches(lang(?itemlabel), "en") || ( ! langMatches(lang(?itemlabel), "*") ) ) )
  }
#-------------------------------------------------------
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbont: <http://dbpedia.org/ontology/>
PREFIX  dbp:  <http://dbpedia.org/property/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT  ?link ?name
WHERE
  {   { ?link rdf:type dbont:MusicalArtist }
    UNION
      { ?link rdf:type dbont:band }
    ?link foaf:name ?name
    FILTER regex(?name, "anastacia", "i")
  }
#-------------------------------------------------------
SELECT  ?x ?abstract ?address
WHERE
  { ?x <http://dbpedia.org/ontology/abstract> ?abstract .
    ?x <http://dbpedia.org/ontology/address> ?address
    FILTER ( regex(?abstract, "a", "i") && regex(?address, "a", "i") )
  }
LIMIT   100
#-------------------------------------------------------
SELECT DISTINCT  ?b
WHERE
  { ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Place> .
    ?x <http://www.georss.org/georss/point> ?z .
    ?x ?b ?c
  }
ORDER BY ?b
#-------------------------------------------------------
SELECT DISTINCT  ?subject ?predicate ?object
WHERE
  {   { <http://dbpedia.org/resource/The_adventures_of_Oliver_Twist> ?predicate ?object }
    UNION
      { ?subject ?predicate <http://dbpedia.org/resource/The_adventures_of_Oliver_Twist> }
    FILTER ( ( lang(?object) = "en" ) || ( lang(?object) = "" ) )
  }
ORDER BY ?predicate ?subject
OFFSET  0
LIMIT   200
#-------------------------------------------------------
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?film ?x ?y
WHERE
  { ?film skos:subject <http://dbpedia.org/resource/Category:American_films> .
    ?film ?x ?y
  }
#-------------------------------------------------------
SELECT DISTINCT  ?subject ?predicate ?object
WHERE
  {   { <http://dbpedia.org/resource/Fantasy> ?predicate ?object }
    UNION
      { ?subject ?predicate <http://dbpedia.org/resource/Fantasy> }
    FILTER ( ( lang(?object) = "en" ) || ( lang(?object) = "" ) )
  }
ORDER BY ?predicate ?subject
OFFSET  0
LIMIT   200
#-------------------------------------------------------
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>

DESCRIBE ?person
WHERE
  { ?person <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> foaf:Person }
OFFSET  0
LIMIT   10
#-------------------------------------------------------
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  dbo:  <http://dbpedia.org/ontology/>
PREFIX  dbp:  <http://dbpedia.org/property/>

SELECT DISTINCT  ?s ?p ?o
WHERE
  {   { { ?s ?p ?o }
        FILTER ( ( ( ?s = :Virginia_Wolf ) && regex(?p, "(http://dbpedia.org/property/|http://dbpedia.org/ontology/)") ) && regex(?o, "http://dbpedia.org/resource/") )
      }
    UNION
      { { ?s ?p ?o }
        FILTER ( ( ( ?o = :Virginia_Wolf ) && regex(?p, "(http://dbpedia.org/property/|http://dbpedia.org/ontology/)") ) && regex(?s, "http://dbpedia.org/resource/") )
      }
  }
ORDER BY ?s ?p ?o
LIMIT   16
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbp:  <http://dbpedia.org/property/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?resource ?uri ?wtitle ?comment ?image
WHERE
  { {   { ?resource foaf:page <http://en.wikipedia.org/wiki/Sellafield> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/AMEC> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Construction> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Page> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Position_(team_sports)> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Engineering> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Liquid_(The_Rasmus_song)> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Scouting> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Hell_of_a_Tester> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Scout_Leader> }
    }
    ?resource foaf:page ?uri .
    ?resource rdfs:label ?wtitle
    FILTER langMatches(lang(?wtitle), "en")
    OPTIONAL
      { ?resource rdfs:comment ?comment
        FILTER langMatches(lang(?comment), "en")
      }
    OPTIONAL
      { ?resource foaf:depiction ?image }
  }
#-------------------------------------------------------
SELECT  *
WHERE
  { ?sub ?o ?p }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?result_instance ?result_label
WHERE
  { { { ?result_instance rdf:type <http://dbpedia.org/ontology/Person> } }
    { ?result_instance rdfs:label ?result_label }
  }
ORDER BY ?result_label
LIMIT   20
#-------------------------------------------------------
SELECT  ?bx ?b
WHERE
  {   {   { <http://dbpedia.org/resource/Category:911> <http://www.w3.org/2004/02/skos/core#broader> ?b }
        UNION
          { <http://dbpedia.org/resource/911> <http://www.w3.org/2004/02/skos/core#subject> ?sub .
            ?sub <http://www.w3.org/2004/02/skos/core#broader> ?b
          }
      }
    UNION
      { {   { <http://dbpedia.org/resource/Category:911> <http://www.w3.org/2004/02/skos/core#broader> ?bx .
              ?bx <http://www.w3.org/2004/02/skos/core#broader> ?b
            }
          UNION
            { <http://dbpedia.org/resource/911> <http://www.w3.org/2004/02/skos/core#subject> ?sub .
              ?sub <http://www.w3.org/2004/02/skos/core#broader> ?bx .
              ?bx <http://www.w3.org/2004/02/skos/core#broader> ?b
            }
        }
      }
    UNION
      {   { <http://dbpedia.org/resource/Category:911> <http://www.w3.org/2004/02/skos/core#broader> ?bx .
            ?b <http://www.w3.org/2004/02/skos/core#broader> ?bx
          }
        UNION
          { <http://dbpedia.org/resource/911> <http://www.w3.org/2004/02/skos/core#subject> ?sub .
            ?sub <http://www.w3.org/2004/02/skos/core#broader> ?bx .
            ?b <http://www.w3.org/2004/02/skos/core#broader> ?bx
          }
      }
  }
#-------------------------------------------------------
PREFIX  db:   <http://dbpedia.org/ontology/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  property: <http://dbpedia.org/property/>

SELECT  *
WHERE
  { ?musician <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> db:MusicalArtist .
    ?musician db:activeYearsStartYear ?activeyearsstartyear .
    ?musician db:associatedBand ?associatedband .
    ?musician db:birthPlace ?birthplace .
    ?musician db:genre ?genre .
    ?musician db:recordLabel ?recordlable .
    ?musician property:voiceType ?voicetype .
    ?artist property:artist ?musician .
    ?starring db:starring ?musician .
    ?voice db:voice ?musician .
    ?writer db:writer ?musician
  }
LIMIT   10
#-------------------------------------------------------
PREFIX  dbprop: <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/ontology/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?compound
WHERE
  { ?compound rdf:type dbpedia:ChemicalCompound }
ORDER BY ?compound
OFFSET  0
LIMIT   1000
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbo:  <http://dbpedia.org/ontology/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?cat ?sub ?abstract
WHERE
  { ?cat skos:broader <http://dbpedia.org/resource/Category:Palaces_in_France> .
    ?sub dbo:abstract ?abstract .
    ?sub skos:subject ?cat
    {   { ?m dbpedia2:museum ?sub }
      UNION
        { ?sub rdf:type dbo:Place }
    }
    FILTER ( lang(?abstract) = "en" )
  }
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  category: <http://dbpedia.org/resource/Category:>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbo:  <http://dbpedia.org/ontology/>
PREFIX  resource: <http://dbpedia.org/resource/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  property: <http://dbpedia.org/property/>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT  ?id
WHERE
  { ?id skos:subject ?usr
    { ?usr skos:broader category:Rivers_of_the_United_States_by_state }
  }
ORDER BY ?id
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT  ?concept
WHERE
  { ?s rdf:type ?concept }
LIMIT   10
#-------------------------------------------------------
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>

SELECT  ?name ?email
WHERE
  { ?person foaf:name ?name
    OPTIONAL
      { ?person foaf:mbox ?email }
  }
ORDER BY ?name
OFFSET  10
LIMIT   10
#-------------------------------------------------------
SELECT  ?s
WHERE
  { ?s ?p ?o }
GROUP BY ?s
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  *
WHERE
  {   { :Graphics rdfs:comment ?abstract
        FILTER ( lang(?abstract) = "en" )
      }
    UNION
      { :Graphics foaf:depiction ?depiction }
    UNION
      { :Graphics foaf:homepage ?homepage }
  }
#-------------------------------------------------------
SELECT  ?nx ?n
WHERE
  {   {   { ?n <http://www.w3.org/2004/02/skos/core#broader> <http://dbpedia.org/resource/Category:Porsche> }
        UNION
          { <http://dbpedia.org/resource/Porsche> <http://www.w3.org/2004/02/skos/core#subject> ?sub .
            ?n <http://www.w3.org/2004/02/skos/core#broader> ?sub
          }
      }
    UNION
      {   { ?nx <http://www.w3.org/2004/02/skos/core#broader> <http://dbpedia.org/resource/Category:Porsche> .
            ?n <http://www.w3.org/2004/02/skos/core#broader> ?nx
          }
        UNION
          { <http://dbpedia.org/resource/Porsche> <http://www.w3.org/2004/02/skos/core#subject> ?sub .
            ?nx <http://www.w3.org/2004/02/skos/core#broader> ?sub .
            ?n <http://www.w3.org/2004/02/skos/core#broader> ?nx
          }
      }
  }
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbprop: <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/ontology/>

SELECT DISTINCT  ?artist ?artistName ?movie ?title ?originalTitle ?nationality ?nationality2 ?releaseDate ?summary ?studioName ?duration ?url ?website
WHERE
  { ?artist <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> dbpedia:Artist .
    ?artist rdfs:label ?artistName .
    ?movie <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> dbpedia:Film .
    ?movie dbpedia:director ?artist
    OPTIONAL
      { ?movie rdfs:label ?originalTitle
        FILTER ( lang(?originalTitle) = "en" )
      }
    OPTIONAL
      { ?movie dbprop:title ?title
        FILTER ( lang(?title) = "en" )
      }
    OPTIONAL
      { ?movie dbpedia:director ?director .
        ?director rdfs:label ?directorName
        FILTER ( lang(?directorName) = "en" )
      }
    OPTIONAL
      { ?movie dbprop:country ?country .
        ?country rdfs:label ?nationality
        FILTER ( lang(?nationality) = "en" )
      }
    OPTIONAL
      { ?movie dbprop:country ?nationality2
        FILTER ( lang(?nationality2) = "en" )
      }
    OPTIONAL
      { ?movie dbpedia:releaseDate ?releaseDate }
    OPTIONAL
      { ?movie dbpedia:abstract ?summary
        FILTER ( lang(?summary) = "fr" )
      }
    OPTIONAL
      { ?movie dbprop:distributor ?studio .
        ?studio rdfs:label ?studioName
        FILTER ( lang(?studioName) = "en" )
      }
    OPTIONAL
      { ?movie <http://dbpedia.org/ontology/Work/runtime> ?duration }
    OPTIONAL
      { ?movie foaf:homepage ?url }
    OPTIONAL
      { ?movie foaf:page ?website }
    FILTER regex(?artistName, "david fincher", "i")
    FILTER ( lang(?artistName) = "en" )
  }
#-------------------------------------------------------
PREFIX  dbpp: <http://dbpedia.org/property/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?item ?type
WHERE
  {   { ?item dbpp:series <http://dbpedia.org/resource/Burn_Notice> .
        ?item rdf:type <http://dbpedia.org/ontology/TelevisionEpisode> .
        ?item rdf:type ?type
      }
    UNION
      { ?item dbpp:series ?brand .
        ?brand dbpp:redirect <http://dbpedia.org/resource/Burn_Notice> .
        ?item rdf:type <http://dbpedia.org/ontology/TelevisionEpisode> .
        ?item rdf:type ?type
      }
  }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT  ?property
WHERE
  { _:b0 ?property _:b1 }
ORDER BY ?property
LIMIT   10
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbprop: <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/ontology/>

SELECT DISTINCT  ?movie ?title ?originalTitle ?nationality ?nationality2 ?releaseDate ?summary ?studioName ?duration ?url ?website ?directorName
WHERE
  { ?movie <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> dbpedia:Film .
    ?movie foaf:name ?title
    OPTIONAL
      { ?movie rdfs:label ?originalTitle }
    OPTIONAL
      { ?movie dbprop:country ?country .
        ?country rdfs:label ?nationality
        FILTER ( lang(?nationality) = "en" )
      }
    OPTIONAL
      { ?movie dbprop:country ?nationality2
        FILTER ( lang(?nationality2) = "en" )
      }
    OPTIONAL
      { ?movie dbpedia:releaseDate ?releaseDate }
    OPTIONAL
      { ?movie dbpedia:abstract ?summary
        FILTER ( lang(?summary) = "fr" )
      }
    OPTIONAL
      { ?movie dbprop:distributor ?studio .
        ?studio rdfs:label ?studioName
        FILTER ( lang(?studioName) = "en" )
      }
    OPTIONAL
      { ?movie <http://dbpedia.org/ontology/Work/runtime> ?duration }
    OPTIONAL
      { ?movie foaf:homepage ?url }
    OPTIONAL
      { ?movie foaf:page ?website }
    OPTIONAL
      { ?movie dbpedia:director ?director }
    OPTIONAL
      { ?director rdfs:label ?directorName
        FILTER ( lang(?directorName) = "en" )
      }
    FILTER regex(?title, "I, Robot", "i")
    FILTER regex(?directorName, "Alex Proyas", "i")
    FILTER ( lang(?originalTitle) = "en" )
  }
#-------------------------------------------------------
SELECT  ?result_instance ?result_label
WHERE
  { { { ?result_instance <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Film> } }
    { ?result_instance <http://www.w3.org/2000/01/rdf-schema#label> ?result_label
      FILTER ( lang(?result_label) = "en" )
    }
  }
ORDER BY ?result_label
LIMIT   20
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbp:  <http://dbpedia.org/property/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?resource ?uri ?wtitle ?comment ?image
WHERE
  { { { ?resource foaf:page <http://en.wikipedia.org/wiki/Telecommunication> } }
    ?resource foaf:page ?uri .
    ?resource rdfs:label ?wtitle
    FILTER langMatches(lang(?wtitle), "en")
    OPTIONAL
      { ?resource rdfs:comment ?comment
        FILTER langMatches(lang(?comment), "en")
      }
    OPTIONAL
      { ?resource foaf:depiction ?image }
  }
#-------------------------------------------------------
SELECT DISTINCT  ?subject ?predicate ?object
WHERE
  {   { <http://dbpedia.org/resource/Charles_Dickens> ?predicate ?object }
    UNION
      { ?subject ?predicate <http://dbpedia.org/resource/Charles_Dickens> }
    FILTER ( ( lang(?object) = "en" ) || ( lang(?object) = "" ) )
  }
ORDER BY ?predicate ?subject
OFFSET  200
LIMIT   200
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT  ?scientist
WHERE
  { ?s foaf:page ?scientist }
LIMIT   1000
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbprop: <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/ontology/>

SELECT DISTINCT  ?artist ?artistName
WHERE
  { ?artist <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> dbpedia:Artist .
    ?artist rdfs:label ?artistName
      { OPTIONAL
          { ?artist dbprop:occupation ?occupation
            FILTER ( regex(?occupation, "director", "i") || regex(?occupation, "actress", "i") )
          }
      }
    UNION
      { OPTIONAL
          { ?artist dbpedia:occupation ?occupation
            FILTER ( ?occupation = <http://dbpedia.org/resource/Film_director> )
          }
      }
    FILTER regex(?artistName, "paz vega", "i")
    FILTER ( lang(?artistName) = "en" )
  }
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbprop: <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/ontology/>

SELECT DISTINCT  ?film ?title ?originalTitle ?directorName ?nationality ?nationality2 ?releaseDate ?summary ?studioName ?duration ?url ?website
WHERE
  { ?film <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> dbpedia:Film .
    ?film foaf:name ?title
    OPTIONAL
      { ?film rdfs:label ?originalTitle }
    OPTIONAL
      { ?film dbpedia:director ?director .
        ?director rdfs:label ?directorName
        FILTER ( lang(?directorName) = "en" )
      }
    OPTIONAL
      { ?film dbprop:country ?country .
        ?country rdfs:label ?nationality
        FILTER ( lang(?nationality) = "en" )
      }
    OPTIONAL
      { ?film dbprop:country ?nationality2
        FILTER ( lang(?nationality2) = "en" )
      }
    OPTIONAL
      { ?film dbpedia:releaseDate ?releaseDate }
    OPTIONAL
      { ?film dbpedia:abstract ?summary
        FILTER ( lang(?summary) = "fr" )
      }
    OPTIONAL
      { ?film dbprop:distributor ?studio .
        ?studio rdfs:label ?studioName
        FILTER ( lang(?studioName) = "en" )
      }
    OPTIONAL
      { ?film <http://dbpedia.org/ontology/Work/runtime> ?duration }
    OPTIONAL
      { ?film foaf:homepage ?url }
    OPTIONAL
      { ?film foaf:page ?website }
    FILTER regex(?title, "landru$", "i")
    FILTER ( lang(?originalTitle) = "en" )
  }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  *
WHERE
  {   { :Religulous rdfs:comment ?abstract
        FILTER ( lang(?abstract) = "en" )
      }
    UNION
      { :Religulous foaf:depiction ?depiction }
    UNION
      { :Religulous foaf:homepage ?homepage }
  }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  space: <http://purl.org/net/schemas/space/>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?name
WHERE
  { ?spacecraft foaf:name ?name
    OPTIONAL
      { ?spacecraft foaf:depiction ?image }
  }
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbprop: <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/ontology/>

SELECT DISTINCT  ?artist ?artistName ?occupation ?shortDescription ?birthdate
WHERE
  { ?artist <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> dbpedia:Artist .
    ?artist rdfs:label ?artistName
    OPTIONAL
      { ?artist dbpedia:birthDate ?birthdate }
    OPTIONAL
      { ?artist dbprop:occupation ?occupation
        FILTER isLiteral(?occupation)
      }
    OPTIONAL
      { ?artist dbprop:shortDescription ?shortDescription }
    FILTER regex(?artistName, "coen", "i")
    FILTER ( lang(?artistName) = "en" )
  }
#-------------------------------------------------------
CONSTRUCT 
  { <http://dbpedia.org/resource/Hercule_Poirot> ?p ?o .}
WHERE
  { <http://dbpedia.org/resource/Hercule_Poirot> ?p ?o
    FILTER ( ( ( ( ( ( ( ( ( ( lang(?o) = "de" ) || ( lang(?o) = "zh" ) ) || ( lang(?o) = "pt" ) ) || ( lang(?o) = "fr" ) ) || ( lang(?o) = "en" ) ) || ( lang(?o) = "ru" ) ) || ( lang(?o) = "es" ) ) || ( lang(?o) = "ja" ) ) || ( lang(?o) = "" ) ) || isURI(?o) )
  }
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>

SELECT DISTINCT  ?title ?description ?sameas
WHERE
  { <http://dbpedia.org/resource/Newsnight_Scotland> foaf:name ?title .
    <http://dbpedia.org/resource/Newsnight_Scotland> rdfs:comment ?description
    FILTER ( lang(?description) = "en" )
    OPTIONAL
      {   { ?sameas owl:sameAs <http://dbpedia.org/resource/Newsnight_Scotland> }
        UNION
          { <http://dbpedia.org/resource/Newsnight_Scotland> owl:sameAs ?sameas }
      }
  }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpo: <http://dbpedia.org/ontology/>
PREFIX  dbpp: <http://dbpedia.org/property/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT  ?name ?artist
WHERE
  { ?artist rdf:type dbpo:MusicalArtist .
    ?artist dbpedia2:name ?name
  }
OFFSET  10
LIMIT   10
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?n ?h
WHERE
  { ?x foaf:name ?n .
    ?x foaf:homepage ?h
    FILTER regex(str(?h), "org")
  }
#-------------------------------------------------------
PREFIX  db:   <http://dbpedia.org/ontology/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  property: <http://dbpedia.org/property/>

SELECT  *
WHERE
  { ?musician <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> db:MusicalArtist .
    ?musician db:activeYearsStartYear ?activeyearsstartyear .
    ?musician db:associatedBand ?associatedband .
    ?musician db:birthPlace ?birthplace .
    ?musician db:genre ?genre .
    ?musician db:recordLabel ?recordlable .
    ?musician property:voiceType ?voicetype .
    ?artist property:artist ?musician .
    ?starring db:starring ?musician .
    ?voice db:voice ?musician .
    ?writer db:writer ?musician
  }
LIMIT   100
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?label
WHERE
  { ?subject rdf:type <http://dbpedia.org/ontology/Film> .
    ?subject rdfs:label ?label
    FILTER ( lang(?label) = "en" )
  }
ORDER BY DESC(?released)
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia-owl: <http://dbpedia.org/ontology/>
PREFIX  p:    <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/resource/>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT  ?cat ?label
WHERE
  { ?cat skos:broader <http://dbpedia.org/resource/Category:Mickey_Mouse_films> .
    ?cat rdfs:label ?label
    FILTER ( lang(?label) = "en" )
  }
#-------------------------------------------------------
PREFIX  dbpp: <http://dbpedia.org/property/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?item ?type
WHERE
  {   { ?item dbpp:series <http://dbpedia.org/resource/How_I_Met_Your_Mother> .
        ?item rdf:type <http://dbpedia.org/ontology/TelevisionEpisode> .
        ?item rdf:type ?type
      }
    UNION
      { ?item dbpp:series ?brand .
        ?brand dbpp:redirect <http://dbpedia.org/resource/How_I_Met_Your_Mother> .
        ?item rdf:type <http://dbpedia.org/ontology/TelevisionEpisode> .
        ?item rdf:type ?type
      }
  }
#-------------------------------------------------------
PREFIX  dbpp: <http://dbpedia.org/property/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?item ?type
WHERE
  {   { ?item dbpp:series <http://dbpedia.org/resource/Degrassi:_The_Next_Generation> .
        ?item rdf:type <http://dbpedia.org/ontology/TelevisionEpisode> .
        ?item rdf:type ?type
      }
    UNION
      { ?item dbpp:series ?brand .
        ?brand dbpp:redirect <http://dbpedia.org/resource/Degrassi:_The_Next_Generation> .
        ?item rdf:type <http://dbpedia.org/ontology/TelevisionEpisode> .
        ?item rdf:type ?type
      }
  }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT  ?player ?name
WHERE
  { ?s foaf:page ?player .
    ?s foaf:name ?name .
    ?s rdf:type <http://dbpedia.org/ontology/SoccerPlayer> .
    ?s dbpedia2:position ?position .
    ?s dbpedia2:clubs ?club .
    ?club <http://dbpedia.org/ontology/capacity> ?cap .
    ?s <http://dbpedia.org/ontology/birthPlace> ?place .
    ?place ?population ?pop
    OPTIONAL
      { ?s <http://dbpedia.org/ontology/number> ?tricot }
    FILTER ( ?population IN (dbpedia2:populationEstimate, dbpedia2:populationCensus, dbpedia2:statPop) )
    FILTER ( xsd:int(?pop) > 10000000 )
    FILTER ( xsd:int(?cap) < 40000 )
    FILTER regex(?name, "^s.*t.*", "i")
    FILTER ( ( ( ?position = "Goalkeeper"@en ) || ( ?position = <http://dbpedia.org/resource/Goalkeeper_%28association_football%29> ) ) || ( ?position = <http://dbpedia.org/resource/Goalkeeper_%28football%29> ) )
  }
LIMIT   1000
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?Person
WHERE
  { ?launch foaf:name ?date }
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbprop: <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/ontology/>

SELECT DISTINCT  ?artist ?artistName ?occupation ?occupation2
WHERE
  { ?artist <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> dbpedia:Person .
    ?artist rdfs:label ?artistName
    OPTIONAL
      { ?artist dbprop:occupation ?occupation
        FILTER regex(?occupation, "director", "i")
      }
    OPTIONAL
      { ?artist dbpedia:occupation ?occupation2 }
    FILTER regex(?artistName, "coen$", "i")
    FILTER ( lang(?artistName) = "en" )
  }
#-------------------------------------------------------
PREFIX  dbprop: <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/ontology/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?compound ?inchi
WHERE
  { ?compound rdf:type dbpedia:ChemicalCompound }
ORDER BY ?compound
OFFSET  0
LIMIT   1000
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  *
WHERE
  { ?m rdfs:label ?n }
LIMIT   10
#-------------------------------------------------------
SELECT DISTINCT  ?subject ?predicate ?object
WHERE
  {   { <http://dbpedia.org/resource/Barnaby_Rudge> ?predicate ?object }
    UNION
      { ?subject ?predicate <http://dbpedia.org/resource/Barnaby_Rudge> }
    FILTER ( ( lang(?object) = "en" ) || ( lang(?object) = "" ) )
  }
ORDER BY ?predicate ?subject
OFFSET  0
LIMIT   200
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT  ?name
WHERE
  {   { ?redirect dbpedia2:redirect :Lionel_Messi .
        ?redirect rdfs:label ?name
        FILTER langMatches(lang(?name), "en")
      }
    UNION
      { :Lionel_Messi foaf:name ?name }
  }
#-------------------------------------------------------
SELECT DISTINCT  ?subject ?predicate ?object
WHERE
  {   { <http://dbpedia.org/resource/Damon_Lindelof> ?predicate ?object }
    UNION
      { ?subject ?predicate <http://dbpedia.org/resource/Damon_Lindelof> }
    FILTER ( ( lang(?object) = "en" ) || ( lang(?object) = "" ) )
  }
ORDER BY ?predicate ?subject
OFFSET  0
LIMIT   200
#-------------------------------------------------------
PREFIX  dbpp: <http://dbpedia.org/property/>

SELECT DISTINCT  ?containedIn
WHERE
  {   { <http://dbpedia.org/resource/Magic_Kitchen> dbpp:writer ?containedIn }
    UNION
      { <http://dbpedia.org/resource/Magic_Kitchen> dbpp:executiveProducer ?containedIn }
    UNION
      { <http://dbpedia.org/resource/Magic_Kitchen> dbpp:creator ?containedIn }
    UNION
      { <http://dbpedia.org/resource/Magic_Kitchen> dbpp:starring ?containedIn }
    UNION
      { <http://dbpedia.org/resource/Magic_Kitchen> dbpp:executiveProducer ?containedIn }
    UNION
      { <http://dbpedia.org/resource/Magic_Kitchen> dbpp:guest ?containedIn }
    UNION
      { <http://dbpedia.org/resource/Magic_Kitchen> dbpp:director ?containedIn }
    UNION
      { <http://dbpedia.org/resource/Magic_Kitchen> dbpp:producer ?containedIn }
    UNION
      { <http://dbpedia.org/resource/Magic_Kitchen> dbpp:series ?containedIn }
  }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  *
WHERE
  { ?s1 skos:broader ?s2 .
    ?s3 skos:broader ?s1 .
    ?s4 skos:broader ?s3
  }
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbp:  <http://dbpedia.org/property/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?resource ?uri ?wtitle ?comment ?image
WHERE
  { {   { ?resource foaf:page <http://en.wikipedia.org/wiki/Eternal_Life> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Feeder> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Rights> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Twitter> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Brain> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Life> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Secrecy> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Refrigerator> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/News> }
    }
    ?resource foaf:page ?uri .
    ?resource rdfs:label ?wtitle
    FILTER langMatches(lang(?wtitle), "en")
    OPTIONAL
      { ?resource rdfs:comment ?comment
        FILTER langMatches(lang(?comment), "en")
      }
    OPTIONAL
      { ?resource foaf:depiction ?image }
  }
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbprop: <http://dbpedia.org/property/>
PREFIX  dbpedia: <http://dbpedia.org/ontology/>

SELECT DISTINCT  ?film ?title ?originalTitle ?directorName ?nationality ?nationality2 ?releaseDate ?summary ?studioName ?duration ?url ?website
WHERE
  { ?film <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> dbpedia:Film .
    ?film foaf:name ?title
    OPTIONAL
      { ?film rdfs:label ?originalTitle }
    OPTIONAL
      { ?film dbpedia:director ?director .
        ?director rdfs:label ?directorName
        FILTER ( lang(?directorName) = "en" )
      }
    OPTIONAL
      { ?film dbprop:country ?country .
        ?country rdfs:label ?nationality
        FILTER ( lang(?nationality) = "en" )
      }
    OPTIONAL
      { ?film dbprop:country ?nationality2
        FILTER ( lang(?nationality2) = "en" )
      }
    OPTIONAL
      { ?film dbpedia:releaseDate ?releaseDate }
    OPTIONAL
      { ?film dbpedia:abstract ?summary
        FILTER ( lang(?summary) = "fr" )
      }
    OPTIONAL
      { ?film dbprop:distributor ?studio .
        ?studio rdfs:label ?studioName
        FILTER ( lang(?studioName) = "en" )
      }
    OPTIONAL
      { ?film <http://dbpedia.org/ontology/Work/runtime> ?duration }
    OPTIONAL
      { ?film foaf:homepage ?url }
    OPTIONAL
      { ?film foaf:page ?website }
    FILTER regex(?title, "burn after reading$", "i")
    FILTER ( lang(?originalTitle) = "en" )
  }
#-------------------------------------------------------
SELECT DISTINCT  ?subject ?predicate ?object
WHERE
  {   { <http://dbpedia.org/resource/Charles_Dickens> ?predicate ?object }
    UNION
      { ?subject ?predicate <http://dbpedia.org/resource/Charles_Dickens> }
    FILTER ( ( lang(?object) = "en" ) || ( lang(?object) = "" ) )
  }
ORDER BY ?predicate ?subject
OFFSET  0
LIMIT   200
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbo:  <http://dbpedia.org/ontology/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?descrizione ?sport ?titolo
WHERE
  { ?HistoricBuilding dbo:sport ?sport .
    ?HistoricBuilding dbo:thumbnail ?titolo .
    ?HistoricBuilding dc:description ?descrizione
  }
ORDER BY ?descrizione
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  *
WHERE
  {   { <http://dbpedia.org/resource/Category:Google> rdfs:label ?title
        FILTER langMatches(lang(?title), "EN")
      }
    UNION
      { <http://dbpedia.org/resource/Category:Google> skos:broader ?broader .
        ?broader rdfs:label ?title
        FILTER langMatches(lang(?title), "EN")
      }
    UNION
      { ?narrower skos:broader <http://dbpedia.org/resource/Category:Google> .
        ?narrower rdfs:label ?title
        FILTER langMatches(lang(?title), "EN")
      }
    UNION
      { ?article skos:subject <http://dbpedia.org/resource/Category:Google> .
        ?article rdfs:label ?title
        FILTER langMatches(lang(?title), "EN")
      }
  }
#-------------------------------------------------------
SELECT DISTINCT  ?subject ?predicate ?object
WHERE
  {   { <http://dbpedia.org/resource/Oliver_Twist> ?predicate ?object }
    UNION
      { ?subject ?predicate <http://dbpedia.org/resource/Oliver_Twist> }
    FILTER ( ( lang(?object) = "en" ) || ( lang(?object) = "" ) )
  }
ORDER BY ?predicate ?subject
OFFSET  0
LIMIT   200
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?subject ?label ?released ?abstract
WHERE
  { ?subject dbpedia2:starring :Tom_Cruise .
    ?subject rdfs:comment ?abstract .
    ?subject rdfs:label ?label
    FILTER ( ( lang(?abstract) = "en" ) && ( lang(?label) = "en" ) )
    ?subject <http://dbpedia.org/ontology/releaseDate> ?released
    FILTER ( xsd:date(?released) < "2000-01-01"^^xsd:date )
  }
ORDER BY ?released
LIMIT   20
#-------------------------------------------------------
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  prop: <http://dbpedia.org/property/>

SELECT  ?s ?nome ?nascimento ?lugar
WHERE
  { ?s foaf:name ?nome .
    ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> foaf:Person
    OPTIONAL
      { ?s prop:birthdate ?nascimento }
    OPTIONAL
      { ?s prop:birthplace ?lugar }
    FILTER ( regex(str(?nome), "Mel Gibson", "i") && isLiteral(?nome) )
  }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  dbpedia-owl: <http://dbpedia.org/ontology/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  dbpprop: <http://dbpedia.org/property/>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?actor1 ?actor2 ?pelicula1 ?pelicula2
WHERE
  { ?actor1 rdf:type dbpedia-owl:Actor .
    ?actor2 rdf:type dbpedia-owl:Actor
      { ?actor1 dbpedia-owl:partner ?actor2 }
    UNION
      { ?actor1 dbpedia-owl:spouse ?actor2 }
    ?pelicula1 dbpedia2:starring ?actor1 .
    ?pelicula1 dbpedia2:starring ?actor2 .
    ?pelicula2 dbpedia2:starring ?actor1 .
    ?pelicula2 dbpedia2:starring ?actor2
    FILTER ( ?pelicula1 != ?pelicula2 )
  }
ORDER BY ?actor1
#-------------------------------------------------------
PREFIX  property: <http://dbpedia.org/property/>

SELECT DISTINCT  ?id ?officialName ?populationTotal
WHERE
  { ?id property:settlementType <http://dbpedia.org/resource/City> .
    ?id property:officialName ?officialName .
    ?id property:populationTotal ?populationTotal
  }
#-------------------------------------------------------
SELECT  ?rx ?r
WHERE
  {   { <http://dbpedia.org/resource/Kigali> <http://www.w3.org/2004/02/skos/core#subject> ?r }
    UNION
      { <http://dbpedia.org/resource/Kigali> <http://www.w3.org/2004/02/skos/core#subject> ?rx .
        ?rx <http://www.w3.org/2004/02/skos/core#broader> ?r
      }
    UNION
      { <http://dbpedia.org/resource/Kigali> <http://www.w3.org/2004/02/skos/core#subject> ?rx .
        ?r <http://www.w3.org/2004/02/skos/core#broader> ?rx
      }
  }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?property ?hasValue ?isValueOf
WHERE
  {   { :20th_Century_Fox ?property ?hasValue
        FILTER ( ( ( str(?property) = "http://www.w3.org/2000/01/rdf-schema#label" ) && ( lang(?hasValue) = "en" ) ) || ( ( ( str(?property) != "http://dbpedia.org/ontology/abstract" ) && ( str(?property) != "http://www.w3.org/2000/01/rdf-schema#comment" ) ) && ( str(?property) != "http://www.w3.org/2000/01/rdf-schema#label" ) ) )
      }
    UNION
      { ?isValueOf ?property :20th_Century_Fox
        FILTER ( str(?property) = "http://dbpedia.org/ontology/owner" )
      }
  }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbo:  <http://dbpedia.org/ontology/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  ?name ?birth ?person
WHERE
  { ?person dbpedia2:birthPlace :France .
    ?person dbo:birthDate ?birth .
    ?person foaf:name ?name
    FILTER ( ?birth > "1828-02-08"^^xsd:date )
  }
ORDER BY ?name
#-------------------------------------------------------
SELECT DISTINCT  ?subject ?predicate ?object
WHERE
  {   { <http://dbpedia.org/resource/We_Are_Marshall> ?predicate ?object }
    UNION
      { ?subject ?predicate <http://dbpedia.org/resource/We_Are_Marshall> }
    FILTER ( ( lang(?object) = "en" ) || ( lang(?object) = "" ) )
  }
ORDER BY ?predicate ?subject
OFFSET  0
LIMIT   200
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbo:  <http://dbpedia.org/ontology/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT  ?Name ?Birth ?Death ?BirthPlace ?Field ?Prizes
WHERE
  { ?person rdf:type dbo:Scientist .
    ?person foaf:name ?Name .
    ?person dbo:birthDate ?Birth .
    ?person dbo:deathDate ?Death .
    ?person dbpedia2:birthPlace ?BirthPlace .
    ?person dbpedia2:field ?Field
    OPTIONAL
      { ?person dbpedia2:prizes ?Prizes }
    FILTER ( ?Death < "1950-01-01"^^xsd:date )
  }
ORDER BY ?Name
LIMIT   100
#-------------------------------------------------------
PREFIX  geo:  <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>

SELECT  ?l ?t
WHERE
  { ?l geo:lat ?lat .
    ?l geo:long ?lng .
    ?l <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?t
  }
LIMIT   10
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbp:  <http://dbpedia.org/property/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?resource ?uri ?wtitle ?comment ?image
WHERE
  { {   { ?resource foaf:page <http://en.wikipedia.org/wiki/The_Sound_of_Girls_Aloud> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Silver(I,III)_oxide> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Related> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Comment> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Dog> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Flag> }
    }
    ?resource foaf:page ?uri .
    ?resource rdfs:label ?wtitle
    FILTER langMatches(lang(?wtitle), "en")
    OPTIONAL
      { ?resource rdfs:comment ?comment
        FILTER langMatches(lang(?comment), "en")
      }
    OPTIONAL
      { ?resource foaf:depiction ?image }
  }
#-------------------------------------------------------
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>
PREFIX  :     <http://dbpedia.org/resource/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  dbpedia2: <http://dbpedia.org/property/>
PREFIX  dbpo: <http://dbpedia.org/ontology/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  dbpedia: <http://dbpedia.org/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  *
WHERE
  { ?artist rdf:type dbpo:MusicalArtist .
    ?artist rdfs:label ?name
    FILTER regex(?artist, "White", "i")
    FILTER langMatches(lang(?name), "EN")
  }
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dbp:  <http://dbpedia.org/property/>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT  ?resource ?uri ?wtitle ?comment ?image
WHERE
  { {   { ?resource foaf:page <http://en.wikipedia.org/wiki/Web_search_engine> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Google_search> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Google> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Censorship> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Free_(ISP)> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Calendar> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/People's_Republic_of_China> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/July> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Free_(love)> }
      UNION
        { ?resource foaf:page <http://en.wikipedia.org/wiki/Driver_(video_game)> }
    }
    ?resource foaf:page ?uri .
    ?resource rdfs:label ?wtitle
    FILTER langMatches(lang(?wtitle), "en")
    OPTIONAL
      { ?resource rdfs:comment ?comment
        FILTER langMatches(lang(?comment), "en")
      }
    OPTIONAL
      { ?resource foaf:depiction ?image }
  }
