#
# An OpenLink ontology for DBPedia Spotlight
#
#

@prefix schema:  <http://schema.org/> .
@prefix xhv:    <http://www.w3.org/1999/xhtml/vocab#> .
@prefix skos:   <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix cvocab: <http://open-services.net/ns/core#> .
@prefix cc:     <http://creativecommons.org/ns#> .
@prefix dbps:   <http://www.openlinksw.com/schemas/dbpedia-spotlight#> .
@prefix foaf:   <http://xmlns.com/foaf/0.1/> .
@prefix gr:     <http://purl.org/goodrelations/v1#> .
@prefix opl:    <http://www.openlinksw.com/schema/attribution#> .
@prefix owl:    <http://www.w3.org/2002/07/owl#> .
@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sioc:   <http://rdfs.org/sioc/ns#> .
@prefix wdrs:   <http://www.w3.org/2007/05/powder-s#> .
@prefix xsd:    <http://www.w3.org/2001/XMLSchema#> .

<http://www.openlinksw.com/schemas/dbpedia-spotlight#>
  a owl:Ontology ;
  schema:name "OpenLink DBpedia Spotlight Ontology" ;
  schema:comment """Ontology that defines entity and relation types used to describe DBpedia Spotlight.
  Examples include URIs, scores etc."""@en  ;
  owl:imports <http://www.w3.org/1999/02/22-rdf-syntax-ns#> , <http://purl.org/dc/terms/> ;
  schema:creator <http://www.openlinksw.com/#this> ;
  schema:dateCreated "2013-05-18T13:00:00-05:00"^^xsd:dateTime ;
  schema:dateModified "2015-04-22T13:38:00-05:00"^^xsd:dateTime ;
  schema:creator <http://www.openlinksw.com/#this> ;
  wdrs:describedby <http://www.openlinksw.com/schemas/dbpedia-spotlight> ;
  owl:versionInfo "1.0.0"^^xsd:string ;
  <http://open.vocab.org/terms/defines>
    dbps:AnyURI ,
    dbps:similarityScore ,
    dbps:percentageOfSecondRank ,
    dbps:link ,
    dbps:occurrenceLocation ;
  schema:about
    dbps:AnyURI ,
    dbps:similarityScore ,
    dbps:percentageOfSecondRank ,
    dbps:link ,
    dbps:occurrenceLocation .


<http://www.openlinksw.com/DAV/data/turtle/cartridge_ontologies/dbpedia-spotlight.ttl>
  a foaf:Document ;
  schema:name "OpenLink DBpedia Spotlight Ontology Description Document (Turtle)" ;
  cc:License <http://creativecommons.org/licenses/by-sa/3.0/> ;
  schema:creator <http://www.openlinksw.com/#this> ;
  schema:comment """This is a turtle document that uses Linked Data oriented content to describe an OpenLink ontology for DBpedia Spotlight"""@en  ;
  foaf:primaryTopic <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
  xhv:canonical <http://www.openlinksw.com/schemas/dbpedia-spotlight> ;
  xhv:describes <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
  schema:about <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
  dcterms:subject <http://www.openlinksw.com/schemas/dbpedia-spotlight#> .

<http://www.openlinksw.com/data/turtle/cartridge_ontologies/dbpedia-spotlight.ttl>
  a foaf:Document ;
  schema:name "OpenLink DBpedia Spotlight Ontology Description Document (Turtle)" ;
  cc:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
  schema:creator <http://www.openlinksw.com/#this> ;
  schema:comment """This is a turtle document that uses Linked Data oriented content to describe an OpenLink ontology for DBpedia Spotlight"""@en  ;
  foaf:primaryTopic <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
  xhv:canonical <http://www.openlinksw.com/schemas/dbpedia-spotlight> ;
  xhv:describes <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
  schema:about <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
  dcterms:subject <http://www.openlinksw.com/schemas/dbpedia-spotlight#> .


<http://www.openlinksw.com/schemas/dbpedia-spotlight>
  a foaf:Document ;
  schema:name """OpenLink DBpedia Spotlight Ontology Description Document"""^^xsd:string ;
  cc:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
  schema:creator <http://www.openlinksw.com/#this> ;
  schema:comment """This is a document that uses Linked Data oriented content to describe OpenLink DBpedia Spotlight Ontology."""@en  ;
  dcterms:subject <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
  foaf:primaryTopic <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
  foaf:topic
    dbps:AnyURI ,
    dbps:similarityScore ,
    dbps:percentageOfSecondRank ,
    dbps:link ,
    dbps:occurrenceLocation ;
  schema:about
    dbps:AnyURI ,
    dbps:similarityScore ,
    dbps:percentageOfSecondRank ,
    dbps:link ,
    dbps:occurrenceLocation .

#
# Classes
#

dbps:AnyURI
	a owl:Class ;
	rdfs:isDefinedBy <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
	rdfs:label "Resource URI" ;
	rdfs:comment """A resource URI generated by DBPedia Spotlight"""@en  .

#
# properties
#

dbps:similarityScore
	a owl:DatatypeProperty , rdf:Property ;
	rdfs:isDefinedBy <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
	skos:altLabel "similarity score" ;
	rdfs:label "similarityScore" ;
	rdfs:domain dbps:AnyURI ;
	rdfs:range xsd:float .

dbps:percentageOfSecondRank
	a owl:DatatypeProperty , rdf:Property ;
	rdfs:isDefinedBy <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
	rdfs:label "percentageOfSecondRank" ;
	skos:altLabel "percentage of second rank" ;
	rdfs:domain dbps:AnyURI ;
	rdfs:range xsd:float .

dbps:link
	a owl:DatatypeProperty , rdf:Property ;
	rdfs:isDefinedBy <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
	rdfs:label "link" ;
	skos:altLabel "DBPedia resource link" ;
	rdfs:domain opl:NamedEntity ;
	rdfs:range rdfs:Resource ;
  rdfs:equivalentProperty sioc:link .

dbps:occurrenceLocation
	a owl:DatatypeProperty , rdf:Property ;
	rdfs:isDefinedBy <http://www.openlinksw.com/schemas/dbpedia-spotlight#> ;
	rdfs:label "occurrenceLocation" ;
	skos:altLabel "occurrence location offset" ;
	rdfs:range xsd:string ;
	rdfs:domain opl:NamedEntity .

