# MFO Ontology

## MFO Ontology Classes

### mfo:FeedMessage

Represents feed entry on top of Nepomuk Messaging Ontology's message. May have enclosures attached and certain settings that allow deviation from feed channel's setup

`Superclasses` :

  mfo:FeedElement, nmo:Message,

`Subclasses` :

  --

`In domain of` :

  mfo:enclosureList, mfo:downloadedTime,

`In range of` :

  --

#### Note:

This class notifies about changes

### mfo:FeedChannel

Represents feed channel transfer, typically a download of RSS or ATOM. It is also a communication channel of Nepomuk Messaging Ontology so that feed sources could be treated as message sources

`Superclasses` :

  mfo:FeedElement, nmo:CommunicationChannel,

`Subclasses` :

  --

`In domain of` :

  mfo:type, mfo:action, mfo:totalCount, mfo:unreadCount, mfo:updatedTime, mfo:image,

`In range of` :

  --

#### Note:

This class notifies about changes

### mfo:Enclosure

Represents an enclosure of a feed message

`Superclasses` :

  mfo:FeedElement,

`Subclasses` :

  --

`In domain of` :

  mfo:optional, mfo:localLink, mfo:remoteLink,

`In range of` :

  mfo:enclosureList,

### mfo:FeedSettings

Represents settings applied to a feed channel or a feed entry. How often it is updated, through which connection type it is delivered, when data expires and so on

`Superclasses` :

  rdfs:Resource,

`Subclasses` :

  --

`In domain of` :

  mfo:maxSize, mfo:downloadFlag, mfo:downloadPath, mfo:expiryInterval, mfo:updateInterval,

`In range of` :

  mfo:feedSettings,

### mfo:FeedElement

Superclass for all elements related with feeds, to provide common configuration options

`Superclasses` :

  nie:InformationElement,

`Subclasses` :

  mfo:Enclosure, mfo:FeedMessage, mfo:FeedChannel,

`In domain of` :

  mfo:feedSettings,

`In range of` :

  --

### mfo:Action

class with a restricted set of actions

`Superclasses` :

  rdfs:Resource,

`Subclasses` :

  --

`In domain of` :

  --

`In range of` :

  mfo:action,

`Predefined instances` :

  mfo:refresh-now,

### mfo:FeedType

class with a restricted set of feed types

`Superclasses` :

  rdfs:Resource,

`Subclasses` :

  --

`In domain of` :

  mfo:name,

`In range of` :

  mfo:type,

## MFO Ontology Properties

### mfo:image

`Type` :

  --

`Domain` :

  mfo:FeedChannel,

`Range` :

  xsd:string,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:maxSize

Maximum size of enclosure that can be downloaded. Interpreted as KBs

`Type` :

  --

`Domain` :

  mfo:FeedSettings,

`Range` :

  xsd:integer,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:remoteLink

Used to store remote URL of enclosure

`Type` :

  --

`Domain` :

  mfo:Enclosure,

`Range` :

  nfo:RemoteDataObject,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:enclosureList

A list of enclosures

`Type` :

  --

`Domain` :

  mfo:FeedMessage,

`Range` :

  mfo:Enclosure,

`Superproperties` :

  --

`Subproperties` :

  --

### mfo:totalCount

Total messages count within a channel

`Type` :

  --

`Domain` :

  mfo:FeedChannel,

`Range` :

  xsd:integer,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:updatedTime

Captures the updated date and time when the channel is updated

`Type` :

  --

`Domain` :

  mfo:FeedChannel,

`Range` :

  xsd:dateTime,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:name

Feed format name like rss-atom,flickr,facebook

`Type` :

  --

`Domain` :

  mfo:FeedType,

`Range` :

  xsd:string,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:action

Captures the current action for the channel: Refresh Now

`Type` :

  --

`Domain` :

  mfo:FeedChannel,

`Range` :

  mfo:Action,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:updateInterval

Update interval for a feed channel to get updated or refreshed. Interpreted as minutes

`Type` :

  --

`Domain` :

  mfo:FeedSettings,

`Range` :

  xsd:integer,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:localLink

Downloaded copy of the enclosure

`Type` :

  --

`Domain` :

  mfo:Enclosure,

`Range` :

  nfo:FileDataObject,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:type

Feeds format type which is mapped to plugin used in engine: flickr,rss-atom

`Type` :

  --

`Domain` :

  mfo:FeedChannel,

`Range` :

  mfo:FeedType,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:downloadedTime

Captures the time stamp when message was downloaded

`Type` :

  --

`Domain` :

  mfo:FeedMessage,

`Range` :

  xsd:dateTime,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:feedSettings

Settings

`Type` :

  --

`Domain` :

  mfo:FeedElement,

`Range` :

  mfo:FeedSettings,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:expiryInterval

Expiry interval for feed channel, it tells time that a message in a channel can live. Interpreted as minutes

`Type` :

  --

`Domain` :

  mfo:FeedSettings,

`Range` :

  xsd:integer,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:downloadPath

Download path for enclosures in a message

`Type` :

  --

`Domain` :

  mfo:FeedSettings,

`Range` :

  xsd:string,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:unreadCount

Unread messages count within a channel

`Type` :

  --

`Domain` :

  mfo:FeedChannel,

`Range` :

  xsd:integer,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:downloadFlag

To indicate whether enclosures will be downloaded or not

`Type` :

  --

`Domain` :

  mfo:FeedSettings,

`Range` :

  xsd:boolean,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1

### mfo:optional

The enclosure is mandatory to download or only optional

`Type` :

  --

`Domain` :

  mfo:Enclosure,

`Range` :

  xsd:boolean,

`Superproperties` :

  --

`Subproperties` :

  --

`Cardinality` :

  1