#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?author ?p1 ?o .
    ?s ?p2 ?author .}
WHERE
  { { SELECT DISTINCT  ?author
      WHERE
        { ?author foaf:made ?paper }
      GROUP BY ?author
      HAVING ( count(?paper) = 1 )
    }
    ?author ?p1 ?o .
    ?s ?p2 ?author
  }
#-------------------------------------------------------
PREFIX  :     <http://example.org/>

CONSTRUCT 
  { ?s ?p ?o .}
WHERE
  { ?s ?p ?o }
LIMIT   100
#-------------------------------------------------------
PREFIX  swrc: <http://swrc.ontoware.org/ontology#>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  conf: <http://www.conf.org/ontology#>
PREFIX  geo:  <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX  ical: <http://www.w3.org/2002/12/cal/ical#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  swrc-ext: <http://www.cs.vu.nl/~mcaklein/onto/swrc_ext/2005/05#>
PREFIX  dcterms: <http://purl.org/dc/terms/>
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/>

CONSTRUCT 
  { ?con conf:conference ?doc .
    ?con rdf:type conf:Conference .
    ?doc rdf:type foaf:Document .}
WHERE
  { ?con swc:isPartOf ?doc .
    ?con rdf:type swrc:InProceedings .
    ?doc rdf:type swrc:Proceedings
  }
#-------------------------------------------------------
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  akt:  <http://www.aktors.org/ontology/portal#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  akt-date: <http://www.aktors.org/ontology/date#>

ASK
WHERE
  { ?autor akt:full-name "Takeo Kanade" }
#-------------------------------------------------------
CONSTRUCT 
  { ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .}
WHERE
  { ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
    ?s <http://www.w3.org/2002/07/owl#sameAs> ?sa
  }
#-------------------------------------------------------
PREFIX  dcterms: <http://purl.org/dc/terms/>
PREFIX  swrc: <http://swrc.ontoware.org/ontology#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  dc:   <http://purl.org/dc/elements/1.1/>

CONSTRUCT 
  { ?x rdf:type foaf:Document .
    ?x dc:title ?title .
    ?x dcterms:abstract ?abstract .
    ?x dc:date ?year .}
WHERE
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title .
    ?x swrc:abstract ?abstract .
    ?x swrc:year ?year
  }
#-------------------------------------------------------
PREFIX  swrc: <http://swrc.ontoware.org/ontology#>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  conf: <http://www.conf.org/ontology#>
PREFIX  geo:  <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX  ical: <http://www.w3.org/2002/12/cal/ical#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  swrc-ext: <http://www.cs.vu.nl/~mcaklein/onto/swrc_ext/2005/05#>
PREFIX  dcterms: <http://purl.org/dc/terms/>
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/>

CONSTRUCT 
  { ?con conf:conference ?doc .}
WHERE
  { ?con swc:isPartOf ?doc }
#-------------------------------------------------------
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

CONSTRUCT 
  { ?x rdf:type ?v .}
WHERE
  { ?x rdf:type ?o
    OPTIONAL
      { ?o rdf:type ?v }
  }
LIMIT   100
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x rdf:type foaf:Document .
    ?x dc:title ?title .
    ?x dcterms:abstract ?abstract .
    ?x dc:date ?year .
    ?x dc:creator ?creator .}
WHERE
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title
    OPTIONAL
      { ?x swrc:abstract ?abstract }
    ?x swrc:year ?year .
    ?x dc:creator ?creator
  }
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x dc:title ?title .
    ?x swrc:abstract ?abstract .}
WHERE
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title .
    ?x swrc:abstract ?abstract
  }
LIMIT   2
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x foaf:Document swrc:InProceedings .
    ?x dc:title ?title .
    ?x dcterms:abstract ?abstract .
    ?x dc:date ?year .}
WHERE
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title .
    ?x swrc:abstract ?abstract .
    ?x swrc:year ?year
  }
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x rdf:type foaf:Document .
    ?x dc:title ?title .
    ?x dcterms:abstract ?abstract .
    ?x dc:date ?year .
    ?x dc:creator ?creator .}
WHERE
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title .
    ?x swrc:abstract ?abstract .
    ?x swrc:year ?year .
    ?x dc:creator ?creator
  }
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?p ?property ?hasValue .}
WHERE
  { { ?p ?property ?hasValue }
    { SELECT  ?p (count(?paper) AS ?count2)
      WHERE
        { ?p rdf:type foaf:Person .
          ?p foaf:made ?paper
        }
      GROUP BY ?p
    }
    { SELECT  ?p (count(?paper) AS ?count)
      WHERE
        { ?p rdf:type foaf:Person .
          ?p foaf:made ?paper
          { SELECT  ?paper
            WHERE
              { ?p rdf:type foaf:Person .
                ?p foaf:made ?paper
              }
            GROUP BY ?paper
            HAVING ( count(?p) = 1 )
          }
        }
      GROUP BY ?p
    }
    FILTER ( ?count = ?count2 )
  }
ORDER BY ( ! bound(?hasValue) ) ?p ?property ?hasValue
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x foaf:Document swrc:InProceedings .
    ?x dc:title ?title .
    ?x dcterms:abstract ?abstract .
    ?x dc:date ?year .}
WHERE
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title .
    ?x swrc:abstract ?abstract .
    ?x swrc:year ?year
  }
LIMIT   2
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title .
    ?x dcterms:abstract ?abstract .
    ?x dc:date ?year .}
WHERE
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title .
    ?x swrc:abstract ?abstract .
    ?x swrc:year ?year
  }
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x rdf:type foaf:Tiago .
    ?x foaf:firstName ?fn .
    ?x foaf:mbox ?mb .}
WHERE
  { ?x rdf:type foaf:Person .
    ?x foaf:firstName ?fn .
    ?x foaf:lastName ?ln .
    ?x foaf:mbox ?mb
  }
#-------------------------------------------------------
PREFIX  swrc: <http://swrc.ontoware.org/ontology#>
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  conf: <http://www.conf.org/ontology#>
PREFIX  geo:  <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX  ical: <http://www.w3.org/2002/12/cal/ical#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  swrc-ext: <http://www.cs.vu.nl/~mcaklein/onto/swrc_ext/2005/05#>
PREFIX  dcterms: <http://purl.org/dc/terms/>
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/>

CONSTRUCT 
  { ?x rdf:type conf:Conference .
    ?x rdfs:label ?title .
    ?x dc:date ?year .}
WHERE
  { ?x rdf:type swrc:Proceedings .
    ?x swrc:booktitle ?title .
    ?x swrc:year ?year
  }
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x dc:title ?title .
    ?x swrc:abstract ?abstract .}
WHERE
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title .
    ?x swrc:abstract ?abstract
  }
LIMIT   100
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x rdf:type foaf:Tiago .
    ?x foaf:PrimeiroName ?fn .
    ?x foaf:email ?mb .}
WHERE
  { ?x rdf:type foaf:Person .
    ?x foaf:firstName ?fn .
    ?x foaf:lastName ?ln .
    ?x foaf:mbox ?mb
  }
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x rdf:type foaf:Document .
    ?x dc:title ?title .
    ?x dcterms:abstract ?abstract .
    ?x dc:date ?year .}
WHERE
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title .
    ?x swrc:abstract ?abstract .
    ?x swrc:year ?year
  }
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x dc:titulo ?title .
    ?x swrc:resumo ?abstract .}
WHERE
  { ?x rdf:type swrc:InProceedings .
    ?x dc:title ?title .
    ?x swrc:abstract ?abstract
  }
LIMIT   2
#-------------------------------------------------------
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/>

CONSTRUCT 
  { ?x rdf:type foaf:Person .
    ?x foaf:name ?name .
    ?x foaf:mbox ?mb .}
WHERE
  { ?x rdf:type foaf:Person .
    ?x foaf:firstName ?firstName .
    ?x foaf:lastName ?lastName .
    ?x foaf:mbox ?mb
    BIND(concat(?firstName, " ", ?lastName) AS ?name)
  }
