@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix opltw: <http://www.openlinksw.com/schemas/twitter#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dt: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix ns7: <http://creativecommons.org/ns#> .
@prefix schema: <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
@prefix ns11: <http://www.openlinksw.com/schemas/> .
@prefix ns12: <http://www.openlinksw.com/#> .
@prefix wdrs: <http://www.w3.org/2007/05/powder-s#> .
@prefix openvocab: <http://open.vocab.org/terms/> .
@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix virtrdfmec: <http://www.openlinksw.com/schemas/virtrdf-meta-entity-class#> .

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

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

ns11:twitter
    ns7:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
    dcterms:subject <http://www.openlinksw.com/schemas/twitter#> ;
    schema:comment "This is a document that uses Linked Data oriented content to describe OpenLink Twitter Ontology."@en ;
    schema:creator ns12:this ;
    schema:name "OpenLink Twitter Ontology Description Document"^^dt:string ;
    a foaf:Document ;
    foaf:primaryTopic <http://www.openlinksw.com/schemas/twitter#> ;
    foaf:topic opltw:Application, opltw:Card, opltw:Object, opltw:PhotoCard, opltw:PlayerCard, opltw:SummaryCard, opltw:Tweet, opltw:User, opltw:appLink, opltw:favoritesCount, opltw:followedBy, opltw:followersCount, opltw:follows, opltw:followsCount, opltw:friendsCount, opltw:hasCard, opltw:hasFavorite, opltw:id, opltw:madeTweet, opltw:publicProfileURL, opltw:screenName, opltw:statusesCount, opltw:via .

<http://www.openlinksw.com/schemas/twitter#>
    openvocab:defines opltw:Application, opltw:Card, opltw:Object, opltw:PhotoCard, opltw:PlayerCard, opltw:SummaryCard, opltw:Tweet, opltw:User, opltw:appLink, opltw:favoritesCount, opltw:followedBy, opltw:followersCount, opltw:follows, opltw:followsCount, opltw:friendsCount, opltw:hasCard, opltw:hasFavorite, opltw:id, opltw:madeTweet, opltw:publicProfileURL, opltw:screenName, opltw:statusesCount, opltw:via ;
    dcterms:title "OpenLink Twitter Ontology" ;
    schema:about opltw:Application, opltw:Card, opltw:Object, opltw:PhotoCard, opltw:PlayerCard, opltw:SummaryCard, opltw:Tweet, opltw:User, opltw:appLink, opltw:favoritesCount, opltw:followedBy, opltw:followersCount, opltw:follows, opltw:followsCount, opltw:friendsCount, opltw:hasCard, opltw:hasFavorite, opltw:id, opltw:madeTweet, opltw:publicProfileURL, opltw:screenName, opltw:statusesCount, opltw:via ;
    schema:comment """Ontology that defines entity and relation types used to describe Twitter.
  Examples include tweets, cards, users etc."""@en ;
    schema:creator ns12:this ;
    schema:dateCreated "2013-05-18T13:00:00-05:00"^^dt:dateTime ;
    schema:dateModified "2015-04-22T13:38:00-05:00"^^dt:dateTime ;
    schema:name "OpenLink Twitter Ontology" ;
    a owl:Ontology ;
    owl:imports <http://purl.org/dc/terms/>, <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
    owl:versionInfo "1.0.0"^^dt:string ;
    wdrs:describedby ns11:twitter .

opltw:Application
    a owl:Class ;
    rdfs:comment "Application used to generate tweets"@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "Twitter application" ;
    rdfs:subClassOf opltw:Object .

opltw:Card
    a owl:Class ;
    rdfs:comment "Meta-class for all kinds of Twitter card resources found on a webpage"@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "Twitter Card" ;
    rdfs:subClassOf opltw:Object .

opltw:Object
    a owl:Class ;
    rdfs:comment "A base class representing all Twitter objects"@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "Twitter object" .

opltw:PhotoCard
    a owl:Class ;
    rdfs:comment "A photo card for a Twitter resource found on a webpage"@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "Twitter Photo Card" ;
    rdfs:subClassOf opltw:Card .

opltw:PlayerCard
    a owl:Class ;
    rdfs:comment "A media player card for a Twitter resource found on a webpage"@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "Twitter Media Player Card" ;
    rdfs:subClassOf opltw:Card .

opltw:SummaryCard
    a owl:Class ;
    rdfs:comment "A summary card for a Twitter resource found on a webpage"@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "Twitter Summary Card" ;
    rdfs:subClassOf opltw:Card .

opltw:Tweet
    a owl:Class ;
    rdfs:comment "Tweets are the atomic building blocks of Twitter, 140-character status updates with additional associated metadata"@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "Tweet" ;
    rdfs:subClassOf opltw:Object .

opltw:User
    a owl:Class ;
    rdfs:comment "A Twitter User"@en ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "Twitter User" ;
    rdfs:subClassOf sioc:UserAccount, opltw:Object, virtrdfmec:Person, foaf:Agent .

opltw:appLink
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "Resource for the agent used to post the tweet"@en ;
    rdfs:domain opltw:Application ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "appLink" ;
    rdfs:range dt:anyURI ;
    skos:altLabel "application link" .

opltw:favoritesCount
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "The number of tweets (statuses) tagged by this user as being a favorite"@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "favoritesCount" ;
    rdfs:range dt:integer ;
    skos:altLabel "favorites count" .

opltw:followedBy
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "A user following this Twitter User"@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "followedBy" ;
    rdfs:range opltw:User ;
    skos:altLabel "followed by" .

opltw:followersCount
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "The number of followers a Twitter User has"@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "followersCount" ;
    rdfs:range dt:integer ;
    skos:altLabel "followers count" .

opltw:follows
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "A user followed by this Twitter User"@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "follows" ;
    rdfs:range opltw:User ;
    skos:altLabel "follows" .

opltw:followsCount
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "The number of users followed by this Twitter User "@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "followsCount" ;
    rdfs:range dt:integer ;
    skos:altLabel "follows count" .

opltw:friendsCount
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "The number of friend who follow this Twitter User. Friendship is a computed relationship type that symmetric in nature (i.e, reciprocal)"@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "friendsCount" ;
    rdfs:range dt:integer ;
    skos:altLabel "friends count" .

opltw:hasCard
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "Link to a Twitter card summarizing the current resource"@en ;
    rdfs:domain dt:anyURI ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "hasCard" ;
    rdfs:range opltw:Card ;
    skos:altLabel "twitter card" .

opltw:hasFavorite
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "Identifies a tweet marked as being amongst a user's favorites"@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "hasFavorite" ;
    rdfs:range opltw:Tweet ;
    skos:altLabel "favorite" .

opltw:id
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "A Twitter object ID"@en ;
    rdfs:domain opltw:Object ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "id" ;
    rdfs:range dt:string ;
    skos:altLabel "id" .

opltw:madeTweet
    a rdf:Property, owl:ObjectProperty ;
    rdfs:comment "A tweet created by this Twitter User"@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "madeTweet" ;
    rdfs:range opltw:Tweet ;
    skos:altLabel "made tweet" .

opltw:publicProfileURL
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "URL to a Twitter User's public profile / home page"@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "publicProfileURL" ;
    rdfs:range dt:anyURI ;
    skos:altLabel "twitter profile url" .

opltw:screenName
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "Twitter account name"@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "screenName" ;
    rdfs:range dt:string ;
    skos:altLabel "screen name" .

opltw:statusesCount
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "The number of tweets (statuses) posted by this user"@en ;
    rdfs:domain opltw:User ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "statusesCount" ;
    rdfs:range dt:integer ;
    skos:altLabel "statuses count" .

opltw:via
    a rdf:Property, owl:DatatypeProperty ;
    rdfs:comment "Agent used for posting the tweet"@en ;
    rdfs:domain opltw:Tweet ;
    rdfs:isDefinedBy <http://www.openlinksw.com/schemas/twitter#> ;
    rdfs:label "via" ;
    rdfs:range opltw:Application ;
    skos:altLabel "via" .

