# Sponger cartridge ontology

@prefix schema:  <http://schema.org/> .
@prefix xhv:     <http://www.w3.org/1999/xhtml/vocab#> .
@prefix cvocab:  <http://open-services.net/ns/core#> .
@prefix cc:      <http://creativecommons.org/ns#> .
@prefix dc:      <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@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 skos:    <http://www.w3.org/2004/02/skos/core#> .
@prefix wdrs:    <http://www.w3.org/2007/05/powder-s#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix cartr:   <http://www.openlinksw.com/ontology/cartridges#> .

<http://www.openlinksw.com/ontology/cartridges#>
  a owl:Ontology ;
  rdfs:label """OpenLink Sponger Cartridges Ontology"""^^xsd:string ;
  rdfs:comment """Ontology that defines entity and relation types used to describe Sponger Cartridges.
  Examples include cartridges collections, data source apis etc."""@en ;
  wdrs:describedby <http://www.openlinksw.com/ontology/cartridges> ;
  dcterms:created "2014-05-18T13:00:00-05:00"^^xsd:dateTime ;
  dcterms:modified "2015-03-20T13:38:00-05:00"^^xsd:dateTime ;
  schema:creator <http://www.openlinksw.com/dataspace/organization/openlink#this> ;
  owl:versionInfo "1.0.0"^^xsd:string ;
  owl:imports <http://www.w3.org/1999/02/22-rdf-syntax-ns#> , <http://purl.org/dc/terms/> ;
  <http://open.vocab.org/terms/defines>
    cartr:Cartridge ,
    cartr:CartridgeCollection ,
    cartr:CartridgeCollectionRelatedResource  ,
    cartr:CartridgeOption ,
    cartr:DataSource ,
    cartr:DataSourceApi ,
    cartr:DataSourceRelatedResource  ,
    cartr:ExtractorCartridge ,
    cartr:MetaCartridge ,
    cartr:apiDocumentationURL ,
    cartr:apiName ,
    cartr:apisUsed ,
    cartr:cartridgeCategory ,
    cartr:cartridgeDetailedDescription ,
    cartr:cartridgeDocumentationURL ,
    cartr:cartridgeHasOption ,
    cartr:cartridgeName ,
    cartr:cartridgeRequiresApiKey ,
    cartr:cartridgeSampleInputURL ,
    cartr:cartridgeShortDescription ,
    cartr:cartridgeStatus ,
    cartr:cartridgeTag ,
    cartr:cartridgeUsesOAuth ,
    cartr:dataSourceHomePage ,
    cartr:dataSourceName ,
    cartr:descriptorValid ,
    cartr:developerForumURL,
    cartr:metaCartridgeType ,
    cartr:optionDescription ,
    cartr:optionName ,
    cartr:relatedDataSourceResources ,
    cartr:relatedSpongerResources ,
    cartr:usesDataSource ;
  schema:about
    cartr:Cartridge ,
    cartr:CartridgeCollection ,
    cartr:CartridgeCollectionRelatedResource  ,
    cartr:CartridgeOption ,
    cartr:DataSource ,
    cartr:DataSourceApi ,
    cartr:DataSourceRelatedResource  ,
    cartr:ExtractorCartridge ,
    cartr:MetaCartridge ,
    cartr:apiDocumentationURL ,
    cartr:apiName ,
    cartr:apisUsed ,
    cartr:cartridgeCategory ,
    cartr:cartridgeDetailedDescription ,
    cartr:cartridgeDocumentationURL ,
    cartr:cartridgeHasOption ,
    cartr:cartridgeName ,
    cartr:cartridgeRequiresApiKey ,
    cartr:cartridgeSampleInputURL ,
    cartr:cartridgeShortDescription ,
    cartr:cartridgeStatus ,
    cartr:cartridgeTag ,
    cartr:cartridgeUsesOAuth ,
    cartr:dataSourceHomePage ,
    cartr:dataSourceName ,
    cartr:descriptorValid ,
    cartr:developerForumURL,
    cartr:metaCartridgeType ,
    cartr:optionDescription ,
    cartr:optionName ,
    cartr:relatedDataSourceResources ,
    cartr:relatedSpongerResources ,
    cartr:usesDataSource .

<http://open.vocab.org/terms/defines> owl:inverseOf <http://www.w3.org/2007/05/powder-s#describedby> .

<http://www.openlinksw.com/DAV/data/turtle/cartridges.ttl>
  a foaf:Document , schema:TechArticle ;
  rdfs:label """OpenLink Sponger Cartridges Ontology Description Document (Turtle)"""^^xsd:string ;
  cc:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
  schema:creator <http://www.openlinksw.com/dataspace/organization/openlink#this> ;
  rdfs:comment """This is a turtle document that uses Linked Data oriented content to describe an OpenLink ontology for Sponger Cartridges."""@en ;
  foaf:primaryTopic <http://www.openlinksw.com/ontology/cartridges#> ;
  dcterms:created "2014-05-18T13:00:00-05:00"^^xsd:dateTime ;
  dcterms:modified "2015-03-20T13:38:00-05:00"^^xsd:dateTime ;
  xhv:canonical <http://www.openlinksw.com/ontology/cartridges> ;
  xhv:describes <http://www.openlinksw.com/ontology/cartridges#> ;
  schema:about <http://www.openlinksw.com/ontology/cartridges#> ;
  dcterms:subject <http://www.openlinksw.com/ontology/cartridges#> .

<http://www.openlinksw.com/data/turtle/cartridges.ttl>
  a foaf:Document , schema:TechArticle ;
  rdfs:label """OpenLink Sponger Cartridges Ontology Description Document (Turtle)"""^^xsd:string ;
  cc:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
  schema:creator <http://www.openlinksw.com/dataspace/organization/openlink#this> ;
  rdfs:comment """This is a turtle document that uses Linked Data oriented content to describe the OpenLink Sponger Cartridge ontology."""@en ;
  foaf:primaryTopic <http://www.openlinksw.com/ontology/cartridges#> ;
  dcterms:created "2014-05-18T13:00:00-05:00"^^xsd:dateTime ;
  dcterms:modified "2015-03-20T13:38:00-05:00"^^xsd:dateTime ;
  xhv:canonical <http://www.openlinksw.com/ontology/cartridges> ;
  xhv:describes <http://www.openlinksw.com/ontology/cartridges#> ;
  schema:about <http://www.openlinksw.com/ontology/cartridges#> ;
  dcterms:subject <http://www.openlinksw.com/ontology/cartridges#> .

<http://www.openlinksw.com/ontology/cartridges>
  a foaf:Document , schema:TechArticle ;
  rdfs:label """OpenLink Sponger Cartridges Ontology Description Document"""^^xsd:string ;
  cc:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
  schema:creator <http://www.openlinksw.com/dataspace/organization/openlink#this> ;
  rdfs:comment """This is a document that uses Linked Data oriented content to describe OpenLink Sponger Cartridges Ontology."""@en ;
  dcterms:subject <http://www.openlinksw.com/ontology/cartridges#> ;
  dcterms:created "2014-05-18T13:00:00-05:00"^^xsd:dateTime ;
  dcterms:modified "2015-03-20T13:38:00-05:00"^^xsd:dateTime ;
  foaf:primaryTopic <http://www.openlinksw.com/ontology/cartridges#> ;
  foaf:topic
    cartr:Cartridge ,
    cartr:CartridgeCollection ,
    cartr:CartridgeCollectionRelatedResource  ,
    cartr:CartridgeOption ,
    cartr:DataSource ,
    cartr:DataSourceApi ,
    cartr:DataSourceRelatedResource  ,
    cartr:ExtractorCartridge ,
    cartr:MetaCartridge ,
    cartr:apiDocumentationURL ,
    cartr:apiName ,
    cartr:apisUsed ,
    cartr:cartridgeCategory ,
    cartr:cartridgeDetailedDescription ,
    cartr:cartridgeDocumentationURL ,
    cartr:cartridgeHasOption ,
    cartr:cartridgeName ,
    cartr:cartridgeRequiresApiKey ,
    cartr:cartridgeSampleInputURL ,
    cartr:cartridgeShortDescription ,
    cartr:cartridgeStatus ,
    cartr:cartridgeTag ,
    cartr:cartridgeUsesOAuth ,
    cartr:dataSourceHomePage ,
    cartr:dataSourceName ,
    cartr:descriptorValid ,
    cartr:developerForumURL,
    cartr:metaCartridgeType ,
    cartr:optionDescription ,
    cartr:optionName ,
    cartr:relatedDataSourceResources ,
    cartr:relatedSpongerResources ,
    cartr:usesDataSource .

# <-------------- Classes --------------> #

cartr:CartridgeCollection
  a owl:Class ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "CartridgeCollection" ;
  skos:altLabel "Cartridge Collection"^^xsd:string ;
  rdfs:subClassOf skos:Collection ;
  rdfs:comment "A catalogue of Virtuoso Sponger extractor or meta cartridges"@en .

cartr:Cartridge
  a owl:Class ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  skos:altLabel "Cartridge"^^xsd:string ;
  rdfs:label "Cartridge" ;
  rdfs:comment "A Virtuoso Sponger extractor or meta cartridge"@en .

cartr:CartridgeOption
  a owl:Class ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "CartridgeOption" ;
  skos:altLabel "Cartridge Option"^^xsd:string ;
  rdfs:comment """A cartridge configuration option controlling aspects of a cartridge's behaviour"""@en .

cartr:ExtractorCartridge
  a owl:Class ;
  rdfs:subclassOf cartr:Cartridge ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "Virtuoso Sponger extractor cartridge" ;
  rdfs:comment """Middleware that performs Entity Extraction and Linked Open Data Cloud lookup services against a variety of data sources
                en route to generating and saving 5-Star Linked Open Data to persistent storage."""@en ;
  is schema:about of <http://linkeddata.uriburner.com/sponger_architecture.vsp#how_it_works> ,
                     <http://linkeddata.uriburner.com/> ,
                     <http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSponger#ExtractorCartridges> ;
  is schema:mentions of <http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSponger/> .

cartr:MetaCartridge
  a owl:Class ;
  rdfs:subclassOf cartr:Cartridge ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "Virtuoso Sponger meta cartridge" ;
  skos:altLabel "Meta Cartridge"^^xsd:string ;
  rdfs:comment """Middleware that augments the Extract, Transform, and Load services of an Extractor Cartridge via a variety of
                linked open data cloud lookups & receonciliations, entity extraction, and natural language processing services
                en route to richer 5-Star Linked Open Data that's ultimately saved to persistent storage."""@en ;
  is schema:about of <http://linkeddata.uriburner.com/sponger_architecture.vsp#how_it_works> ,
                     <http://linkeddata.uriburner.com/> ,
                     <http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSponger#Meta%20Cartridges> ;
  is schema:mentions of <http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSponger/> .

cartr:DataSource
  a owl:Class ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "DataSource" ;
  skos:altLabel "Data Source"^^xsd:string ;
  rdfs:comment "A Web service used by a cartridge"@en .

cartr:DataSourceApi
  a owl:Class ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "DataSourceApi" ;
  skos:altLabel "Data Source Api"^^xsd:string ;
  rdfs:comment "An external API used by a cartridge"@en .

cartr:DataSourceRelatedResource
  a owl:Class ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "DataSourceRelatedResource" ;
  skos:altLabel "Data Source Related Resource"^^xsd:string ;
  rdfs:comment "Related information relevant to the cartridge configuration or implementation"@en .

cartr:CartridgeCollectionRelatedResource
  a owl:Class ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "CartridgeCollectionRelatedResource" ;
  skos:altLabel "Cartridge Collection Related Resource"^^xsd:string ;
  rdfs:comment "Related information about the Sponger or Sponger cartridges"@en .


# <-------------- Cartridge Properties --------------> #

cartr:descriptorValid
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "descriptorValid" ;
  skos:altLabel "descriptor valid"^^xsd:string ;
  rdfs:comment "Property that specifies if the cartridge description is complete and valid"@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range xsd:boolean .

cartr:cartridgeTag
  a owl:DatatypeProperty ;
  a owl:InverseFunctionalProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeTag" ;
  skos:altLabel "cartridge tag"^^xsd:string ;
  rdfs:comment """The cartridge's unique tag / short identifier"""@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range xsd:string .

cartr:cartridgeName
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeName" ;
  skos:altLabel "cartridge name"^^xsd:string ;
  rdfs:comment """The cartridge's name"""@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range xsd:string .

cartr:cartridgeStatus
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeStatus" ;
  skos:altLabel "cartridge status"^^xsd:string ;
  rdfs:comment """The cartridge's status. e.g. current | deprecated"""@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range xsd:string .

cartr:cartridgeShortDescription
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeShortDescription" ;
  skos:altLabel """cartridge short description"""^^xsd:string ;
  rdfs:comment "A brief description of the cartridge"@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range xsd:string .

cartr:usesDataSource
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "usesDataSource" ;
  skos:altLabel """cartridge uses data source"""^^xsd:string ;
  rdfs:comment """The data source (web service) used by the cartridge"""@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range cartr:DataSource .

cartr:cartridgeCategory
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeCategory" ;
  skos:altLabel "cartridge category"^^xsd:string ;
  rdfs:comment "The broad application domain the cartridge belongs to"@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range xsd:string .

cartr:cartridgeDetailedDescription
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeDetailedDescription" ;
  skos:altLabel "cartridge detailed description"^^xsd:string ;
  rdfs:comment "A detailed description of the cartridge"@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range xsd:string .

cartr:cartridgeDocumentationURL
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeDocumentationURL" ;
  skos:altLabel "cartridge documentation url"^^xsd:string ;
  rdfs:comment "A link to cartridge configuration and implementation notes"@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range rdfs:Resource .

cartr:cartridgeRequiresApiKey
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeRequiresApiKey" ;
  skos:altLabel "cartridge required api key"^^xsd:string ;
  rdfs:comment "Indicates if the cartridge requires an API key from the Web Service API it uses"@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range xsd:boolean .

cartr:cartridgeUsesOAuth
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeUsesOAuth" ;
  skos:altLabel "cartridge uses oauth"^^xsd:string ;
  rdfs:comment "Indicates if the cartridge uses OAuth"@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range xsd:boolean .

cartr:cartridgeHasOption
  a owl:ObjectProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeHasOption" ;
  skos:altLabel "cartridge option"^^xsd:string ;
  rdfs:comment """A cartridge configuration option for controlling aspects of a cartridge's behaviour"""@en ;
  rdfs:domain cartr:Cartridge ;
  rdfs:range cartr:CartridgeOption .

cartr:cartridgeSampleInputURL
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "cartridgeSampleInputURL" ;
  skos:altLabel "cartridge sample input url"^^xsd:string ;
  rdfs:comment "A sample URL indicating a URL pattern recognized by the cartridge and usable as an input URL for sponging"@en ;
  rdfs:domain cartr:ExtractorCartridge ;
  rdfs:range rdfs:Resource .

cartr:optionName
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "optionName" ;
  skos:altLabel "option name"^^xsd:string ;
  rdfs:comment """An option's name. The name is the key part of an option key/value pair"""@en ;
  rdfs:domain cartr:CartridgeOption ;
  rdfs:range xsd:string .

cartr:optionDescription
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "optionDescription" ;
  skos:altLabel "option description"^^xsd:string ;
  rdfs:comment """A description of a cartridge configuration option"""@en ;
  rdfs:domain cartr:CartridgeOption ;
  rdfs:range xsd:string .

cartr:dataSourceName
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "dataSourceName" ;
  skos:altLabel "data source name"^^xsd:string ;
  rdfs:comment "The name of the Web service used by the cartridge as a data source"@en ;
  rdfs:domain cartr:DataSource ;
  rdfs:range xsd:string .

cartr:dataSourceHomePage
  a owl:DatatypeProperty ;
  skos:altLabel "data source home page"^^xsd:string ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "dataSourceHomePage" ;
  rdfs:comment """A link to data source's / web service's home page"""@en ;
  rdfs:domain cartr:DataSource ;
  rdfs:range rdfs:Resource .

cartr:developerForumURL
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "developerForumURL" ;
  skos:altLabel "developer forum url"^^xsd:string ;
  rdfs:comment """A link to data source's / web service's Developers' forum"""@en ;
  rdfs:domain cartr:DataSource ;
  rdfs:range rdfs:Resource .

cartr:metaCartridgeType
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "meta cartridge type" ;
  skos:altLabel "meta cartridge type"^^xsd:string ;
  rdfs:comment """The type of meta cartridge. The Sponger supports several different types of meta cartridge.
    Some act as preprocessors for other meta cartridges further down the meta cartridge pipeline.
    e.g. NLP meta cartridges may perform named entity extraction to identify certain classes of entities
    (people, places, organizations etc) which can be used by other meta cartridges as starting points to
    look up additional information about these entities.
    """@en ;
  rdfs:domain cartr:MetaCartridge ;
  rdfs:range xsd:string .

cartr:apiDocumentationURL
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "apiDocumentationURL" ;
  skos:altLabel "api documentation url"^^xsd:string ;
  rdfs:comment "A link to documentation for the Web service used by the cartridge"@en ;
  rdfs:domain cartr:DataSourceApi ;
  rdfs:range rdfs:Resource .

cartr:apiName
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "apiName" ;
  skos:altLabel "api name"^^xsd:string ;
  rdfs:comment "The name of the Web service API used by the cartridge"@en ;
  rdfs:domain cartr:DataSourceApi ;
  rdfs:range xsd:string .

cartr:apisUsed
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "apisUsed" ;
  skos:altLabel "used api"^^xsd:string ;
  rdfs:comment """The data source / web service APIs used by the cartridge"""@en ;
  rdfs:domain cartr:DataSource ;
  rdfs:range cartr:DataSourceApi .

cartr:relatedDataSourceResources
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "relatedDataSourceResources" ;
  skos:altLabel "related data source resource"^^xsd:string ;
  rdfs:comment "Related information relevant to the cartridge configuration or implementation"@en ;
  rdfs:domain cartr:DataSource ;
  rdfs:range cartr:DataSourceRelatedResource .

cartr:relatedSpongerResources
  a owl:DatatypeProperty ;
  rdfs:isDefinedBy <http://www.openlinksw.com/ontology/cartridges#> ;
  rdfs:label "relatedSpongerResources" ;
  skos:altLabel "related sponger resource"^^xsd:string ;
  rdfs:comment "Related Sponger information and resources"@en ;
  rdfs:domain cartr:CartridgeCollection ;
  rdfs:range cartr:CartridgeCollectionRelatedResource .

