#-------------------------------------------------------
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
  { akt-date:1993 rdf:type rdfs:Class
    OPTIONAL
      { akt-date:1993 rdf:type rdf:Property }
  }
#-------------------------------------------------------
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
  { akt:Article-Reference rdf:type rdfs:Class
    OPTIONAL
      { akt:Article-Reference rdf:type rdf:Property }
  }
#-------------------------------------------------------
PREFIX  intervals: <http://reference.data.gov.uk/def/intervals/>
PREFIX  dbpedia-owl: <http://dbpedia.org/ontology/>
PREFIX  time: <http://www.w3.org/2006/time#>

ASK
WHERE
  {   { ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?o
        FILTER ( ( ( ( ( ( ?o = time:TemporalEntity ) || ( ?o = time:Instant ) ) || ( ?o = time:Interval ) ) || ( ?o = dbpedia-owl:TimePeriod ) ) || ( ?o = time:DateTimeInterval ) ) || ( ?o = intervals:CalendarInterval ) )
      }
    UNION
      { ?x ?p ?o
        FILTER ( ( ( ( ( ?p = time:duration ) || ( ?p = time:hasBeginning ) ) || ( ?p = time:inDateTime ) ) || ( ?p = time:hasDateTimeDescription ) ) || ( ?p = time:hasEnd ) )
      }
  }
#-------------------------------------------------------
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" }
#-------------------------------------------------------
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
  { ?author akt:full-name "Takeo Kanade" }
#-------------------------------------------------------
ASK
WHERE
  { ?Drug <http://purl.org/dc/terms/subject> <http://dbpedia.org/resource/Category:Beta_blockers> }
#-------------------------------------------------------
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>
PREFIX  dce:  <http://purl.org/dc/elements/1.1/>
PREFIX  gml:  <http://www.opengis.net/gml>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  geom: <http://geovocab.org/geometry#>
PREFIX  ssn:  <http://purl.oclc.org/NET/ssnx/ssn#>
PREFIX  geo:  <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX  qb:   <http://purl.org/linked-data/cube#>
PREFIX  dcterms: <http://purl.org/dc/terms/>
PREFIX  scovo: <http://purl.org/NET/scovo#>
PREFIX  event: <http://purl.org/NET/c4dm/event.owl#>
PREFIX  spatial: <http://geovocab.org/spatial#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>
PREFIX  admingeo: <http://data.ordnancesurvey.co.uk/ontology/admingeo>
PREFIX  dbpedia-owl: <http://dbpedia.org/ontology/>
PREFIX  org:  <http://www.w3.org/ns/org#>
PREFIX  georss: <http://www.georss.org/georss/>
PREFIX  gn:   <http://www.geonames.org/ontology#>
PREFIX  vcard: <http://www.w3.org/2006/vcard/ns#>
PREFIX  places: <http://purl.org/ontology/places#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  time: <http://www.w3.org/2006/time#>
PREFIX  vs:   <http://www.w3.org/2003/06/sw-vocab-status/ns#>

ASK
WHERE
  {   { ?x rdf:type ?o
        FILTER ( ( ( ( ( ( ( ?o = dbpedia-owl:Place ) || ( ?o = gml:_Feature ) ) || ( ?o = geo:SpatialFeature ) ) || ( ?o = gn:Feature ) ) || ( ?o = admingeo:CivilAdministrativeArea ) ) || ( ?o = spatial:Feature ) ) || ( ?o = vcard:Location ) )
      }
    UNION
      { ?x ?p ?o
        FILTER ( ( ( ( ( ?p = geo:lat ) || ( ?p = geo:long ) ) || ( ?p = georss:point ) ) || ( ?p = geo:geometry ) ) || geom:geometry )
      }
  }
#-------------------------------------------------------
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 "Scott Shenker" }
#-------------------------------------------------------
PREFIX  owl:  <http://www.w3.org/2002/07/owl#>

ASK
WHERE
  { ?s ?o owl:Thing }
#-------------------------------------------------------
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
  { ?artigo akt:has-author ?autor }
#-------------------------------------------------------
PREFIX  skos: <http://www.w3.org/2004/02/skos/core>

ASK
WHERE
  {   { ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?o
        FILTER ( ( ( ?o = skos:Concept ) || ( ?o = skos:ConceptScheme ) ) || ( ?o = skos:Collection ) )
      }
    UNION
      { ?x ?p ?o
        FILTER ( ( ( ( ?p = skos:featureCode ) || ( ?p = skos:altLabel ) ) || ( ?p = skos:prefLabel ) ) || ( ?p = skos:relatedMatch ) )
      }
  }
#-------------------------------------------------------
ASK
WHERE
  { ?s ?p ?o }
#-------------------------------------------------------
PREFIX  dbpedia-owl: <http://dbpedia.org/ontology/>
PREFIX  vcard: <http://www.w3.org/2006/vcard/ns#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>

ASK
WHERE
  { ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?o
    FILTER ( ( ( ?o = foaf:Person ) || ( ?o = dbpedia-owl:Person ) ) || ( ?o = vcard:Individual ) )
  }
#-------------------------------------------------------
PREFIX  dbpedia-owl: <http://dbpedia.org/ontology/>
PREFIX  org:  <http://www.w3.org/ns/org#>
PREFIX  foaf: <http://xmlns.com/foaf/0.1/>

ASK
WHERE
  { ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?o
    FILTER ( ( ( ( ?o = org:Organization ) || ( ?o = org:OrganizationalUnit ) ) || ( ?o = foaf:Organization ) ) || ( ?o = dbpedia-owl:Organisation ) )
  }
#-------------------------------------------------------
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
  { ?artigo akt:article-of-journal ?journal }
#-------------------------------------------------------
ASK
WHERE
  { FILTER ( 2 NOT IN () ) }
#-------------------------------------------------------
ASK
WHERE
  { ?sub ?pred ?obj }
#-------------------------------------------------------
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
  { 2012 rdf:type rdfs:Class
    OPTIONAL
      { 2012 rdf:type rdf:Property }
  }
#-------------------------------------------------------
ASK
WHERE
  { ?s <http://nonsensical.com/8> <http://nonsensical.com/9> }
#-------------------------------------------------------
ASK
WHERE
  { <http://nonsensical.com/10> ?p ?o }
#-------------------------------------------------------
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
  { ?artigo akt:has-date akt-date:2013 }
#-------------------------------------------------------
ASK
WHERE
  { <http://nonsensical.com/6> ?p <http://nonsensical.com/7> }
#-------------------------------------------------------
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
  { ?artigo akt:has-web-address ?web }
#-------------------------------------------------------
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
  { akt:Journal rdf:type rdfs:Class
    OPTIONAL
      { akt:Journal rdf:type rdf:Property }
  }
#-------------------------------------------------------
ASK
WHERE
  { ?s ?p <http://nonsensical.com/12> }
#-------------------------------------------------------
PREFIX  dbpedia-owl: <http://dbpedia.org/ontology/>
PREFIX  event: <http://purl.org/NET/c4dm/event.owl#>
PREFIX  lode: <http://linkedevents.org/ontology/>

ASK
WHERE
  { ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?o
    FILTER ( ( ( ?o = lode:Event ) || ( ?o = event:Event ) ) || ( ?o = dbpedia-owl:Event ) )
  }
#-------------------------------------------------------
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
  { ?journal akt:has-title ?titulo }
#-------------------------------------------------------
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
  { 2012 ?p ?o
    OPTIONAL
      { ?s ?p 2012 }
  }
#-------------------------------------------------------
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
  { akt-date:2000 rdf:type rdfs:Class
    OPTIONAL
      { akt-date:2000 rdf:type rdf:Property }
  }
#-------------------------------------------------------
ASK
WHERE
  { <http://nonsensical.com/4> <http://nonsensical.com/5> ?o }
#-------------------------------------------------------
PREFIX  qb:   <http://purl.org/linked-data/cube#>

ASK
WHERE
  { ?x ?p ?o
    FILTER ( ( ?o = qb:Observation ) || ( ?o = qb:Dataset ) )
  }
#-------------------------------------------------------
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 "Alon Y Halevy" }
#-------------------------------------------------------
ASK
WHERE
  { ?S ?p ?o }
#-------------------------------------------------------
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
  { ?artigo akt:article-of-journal ?conferencia }
#-------------------------------------------------------
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
  { akt:Journal ?p ?o
    OPTIONAL
      { ?s ?p akt:Journal }
  }
#-------------------------------------------------------
ASK
WHERE
  { <http://nonsensical.com/1> <http://nonsensical.com/2> <http://nonsensical.com/3> }
#-------------------------------------------------------
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
  { akt-date:2013 rdf:type rdfs:Class
    OPTIONAL
      { akt-date:2013 rdf:type rdf:Property }
  }
#-------------------------------------------------------
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
  { ?journal rdf:type ?var }
#-------------------------------------------------------
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
  { akt-date:1993 ?p ?o
    OPTIONAL
      { ?s ?p akt-date:1993 }
  }
#-------------------------------------------------------
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
  { ?conferencia akt:has-title "Workshop on Deductive Databases, JICSLP" }
#-------------------------------------------------------
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
  { akt-date:2000 ?p ?o
    OPTIONAL
      { ?s ?p akt-date:2000 }
  }
#-------------------------------------------------------
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
  { akt-date:2006 rdf:type rdfs:Class
    OPTIONAL
      { akt-date:2006 rdf:type rdf:Property }
  }
#-------------------------------------------------------
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/>

ASK
WHERE
  { ?conference rdf:type swc:ConferenceEvent }
#-------------------------------------------------------
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
  { ?artigo akt:has-date akt-date:2000 }
#-------------------------------------------------------
ASK
WHERE
  {  }
#-------------------------------------------------------
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
  { ?artigo akt:has-author ?author }
#-------------------------------------------------------
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
  { ?publicacao akt:has-title ?titulo }
#-------------------------------------------------------
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
  { akt-date:2006 ?p ?o
    OPTIONAL
      { ?s ?p akt-date:2006 }
  }
#-------------------------------------------------------
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
  { akt-date:2013 ?p ?o
    OPTIONAL
      { ?s ?p akt-date:2013 }
  }
#-------------------------------------------------------
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
  { ?artigo akt:has-title ?titulo }
