#-------------------------------------------------------
SELECT DISTINCT  ?property ?hasValue
WHERE
  { <http://data.semanticweb.org/conference/eswc/2014/author> ?property ?hasValue }
ORDER BY ?hasValue
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT  *
WHERE
  { ?p rdf:type ?type
    FILTER EXISTS {?p owl:sameAs ?same }
  }
LIMIT   100
#-------------------------------------------------------
ASK
WHERE
  { ?sub ?pred ?obj }
#-------------------------------------------------------
SELECT  (count(?p) AS ?no) ?p
WHERE
  { ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
    ?s ?p ?o
    FILTER isLiteral(?o)
  }
GROUP BY ?p
#-------------------------------------------------------
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>

SELECT DISTINCT  ?person_uri ?person_name
WHERE
  { ?person_uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> foaf:Person
      { ?person_uri skos:prefLabel ?person_name }
    UNION
      { ?person_uri foaf:name ?person_name
        OPTIONAL
          { ?person_uri skos:prefLabel ?prefLabel }
        FILTER ( ! bound(?prefLabel) )
      }
    FILTER regex(str(?person_uri), "^http://data.semanticweb.org")
  }
ORDER BY ?person_uri
#-------------------------------------------------------
SELECT  (count(?p) AS ?no) ?p
WHERE
  { ?s ?p ?o .
    ?o <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ruleml.org/ontology#TrackPaper>
  }
GROUP BY ?p
#-------------------------------------------------------
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT  *
WHERE
  { ?s ?p ?o }
LIMIT   3000
#-------------------------------------------------------
PREFIX  swrc: <http://swrc.ontoware.org/ontology#>

SELECT DISTINCT  ?paper
WHERE
  { ?paper <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> swrc:InProceedings }
#-------------------------------------------------------
CONSTRUCT 
  { ?v159 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.vis.uni-stuttgart.de/haagfn/temp/r> .
    ?v159 <http://www.vis.uni-stuttgart.de/haagfn/temp/label> ?v160 .}
WHERE
  { { SELECT DISTINCT  ?v159
      WHERE
        { FILTER regex(str(?v159), "lohmann", "i") }
      OFFSET  0
      LIMIT   20
    }
    OPTIONAL
      { ?v159 (<http://www.w3.org/2000/01/rdf-schema#label>|<http://www.w3.org/2004/02/skos/core#prefLabel>)|<http://purl.org/dc/elements/1.1/title> ?v160 }
  }
#-------------------------------------------------------
PREFIX  geo:  <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX  swrc: <http://swrc.ontoware.org/ontology#>
PREFIX  ical: <http://www.w3.org/2002/12/cal/ical#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  swrc-ext: <http://www.cs.vu.nl/~mcaklein/onto/swrc_ext/2005/05#>
PREFIX  dcterms: <http://purl.org/dc/terms/>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  swc:  <http://data.semanticweb.org/ns/swc/ontology#>
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>

SELECT DISTINCT  ?s ?p ?o
WHERE
  { ?s ?p ?o }
#-------------------------------------------------------
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT  *
WHERE
  { ?s rdf:type ?o }
ORDER BY ASC(?s)
LIMIT   100
#-------------------------------------------------------
PREFIX  bibo: <http://purl.org/ontology/bibo/>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>

SELECT DISTINCT  ?pred ?author_url ?author_name
WHERE
  { <http://data.semanticweb.org/conference/iswc/2010/paper/512> bibo:authorList ?authorList .
    ?authorList ?pred ?author_url .
    ?author_url foaf:name ?author_name
  }
ORDER BY ?pred
#-------------------------------------------------------
DESCRIBE <http://data.semanticweb.org/conference/lrec/2008/papers/207>
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>

SELECT DISTINCT  ?name ?homepage ?mbox_sha1sum ?page ?sameAs ?seeAlso
WHERE
  { <http://data.semanticweb.org/person/asuncion-gomez-perez> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> foaf:Person
      { <http://data.semanticweb.org/person/asuncion-gomez-perez> foaf:name ?name }
    UNION
      { <http://data.semanticweb.org/person/asuncion-gomez-perez> rdfs:label ?name }
    OPTIONAL
      { <http://data.semanticweb.org/person/asuncion-gomez-perez> foaf:mbox_sha1sum ?mbox_sha1sum }
    OPTIONAL
      { <http://data.semanticweb.org/person/asuncion-gomez-perez> foaf:homepage ?homepage }
    OPTIONAL
      { <http://data.semanticweb.org/person/asuncion-gomez-perez> foaf:page ?page }
    OPTIONAL
      { <http://data.semanticweb.org/person/asuncion-gomez-perez> owl:sameAs ?sameAs }
    OPTIONAL
      { <http://data.semanticweb.org/person/asuncion-gomez-perez> rdfs:seeAlso ?seeAlso }
  }
#-------------------------------------------------------
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>

SELECT DISTINCT  ?property ?hasValue ?isValueOf
WHERE
  {   { <http://data.semanticweb.org/person/mathieu-daquin> ?property ?hasValue }
    UNION
      { ?isValueOf ?property <http://data.semanticweb.org/person/mathieu-daquin> }
  }
