DIFF Vocabulary

RDF/XML version of this vocabulary. Turtle version of this vocabulary.

Last update:

16 June 2014

Namespace URI:

http://vocab.deri.ie/diff#

Abstract

This vocabulary defines a set of terms for describing changes (diffs) to plain text documents. It can be used for example to model diffs between wiki page revisions.

All terms at a glance

Overview diagram

This vocabulary has been imported from a file.

Classes

Class: diff:Diff

DiffRepresents the "diff" of the change between two versions of a document.

URI:
http://vocab.deri.ie/diff#Diff
Properties include:
diff:comment, diff:addition, diff:objectOfChange, diff:removal, diff:subjectOfChange
Subclasses:
diff:ReferenceDeletion, diff:ReferenceInsertion, diff:ReferenceUpdate, diff:SentenceDeletion, diff:SentenceInsertion, diff:SentenceUpdate

We suggest the use of the "dcterms:hasPart" property to link to the subclasses of this class.

Class: diff:ReferenceDeletion

ReferenceDeletionThis subclass of the "Diff" class specifies the type of one single change in the diff. It defines a deletion of a reference (or a link) in the document.

URI:
http://vocab.deri.ie/diff#ReferenceDeletion
Superclass:
diff:Diff

Class: diff:ReferenceInsertion

ReferenceInsertionThis subclass of the "Diff" class specifies the type of one single change in the diff. It defines an insertion of a reference (or a link) in the document.

URI:
http://vocab.deri.ie/diff#ReferenceInsertion
Superclass:
diff:Diff

Class: diff:ReferenceUpdate

ReferenceUpdateThis subclass of the "Diff" class specifies the type of one single change in the diff. It defines an update of a reference (or a link) in the document.

URI:
http://vocab.deri.ie/diff#ReferenceUpdate
Superclass:
diff:Diff

Class: diff:SentenceDeletion

SentenceDeletionThis subclass of the "Diff" class specifies the type of one single change in the diff. It defines a deletion of a sentence (a text block) in the document.

URI:
http://vocab.deri.ie/diff#SentenceDeletion
Superclass:
diff:Diff

Class: diff:SentenceInsertion

SentenceInsertionThis subclass of the "Diff" class specifies the type of one single change in the diff. It defines an insertion of a sentence (a text block) in the document.

URI:
http://vocab.deri.ie/diff#SentenceInsertion
Superclass:
diff:Diff

Class: diff:SentenceUpdate

SentenceUpdateThis subclass of the "Diff" class specifies the type of one single change in the diff. It defines an update of a sentence (a text block) in the document.

URI:
http://vocab.deri.ie/diff#SentenceUpdate
Superclass:
diff:Diff

Class: diff:TextBlock

TextBlockRepresents a string, a sequence of characters, a block of text, that has been added or removed with the change.

URI:
http://vocab.deri.ie/diff#TextBlock
Properties include:
diff:content, diff:lineNumber
Used with:
diff:addition, diff:removal

Properties

Property: diff:addition

additionProperty used to link one of the "Diff" subclasses to the "TextBlock" added with the change in the "objectOfChange".

URI:
http://vocab.deri.ie/diff#addition
Domain:
diff:Diff
Range:
diff:TextBlock

Property: diff:comment

commentA comment about the change/diff.

URI:
http://vocab.deri.ie/diff#comment
Domain:
diff:Diff
Range:
rdfs:Literal

Property: diff:content

contentThe actual content of the line added or removed.

URI:
http://vocab.deri.ie/diff#content
Domain:
diff:TextBlock
Range:
rdfs:Literal

Property: diff:lineNumber

lineNumberThe position of the line added or removed inside the document.

URI:
http://vocab.deri.ie/diff#lineNumber
Domain:
diff:TextBlock
Range:
xsd:integer

Property: diff:objectOfChange

objectOfChangeProperty used to link the "Diff" object to the next version of the document created by this diff.

URI:
http://vocab.deri.ie/diff#objectOfChange
Domain:
diff:Diff
Range:
rdfs:Resource

Property: diff:removal

removalProperty used to link one of the "Diff" subclasses to the "TextBlock" removed with the change in the "subjectOfChange".

URI:
http://vocab.deri.ie/diff#removal
Domain:
diff:Diff
Range:
diff:TextBlock

Property: diff:subjectOfChange

subjectOfChangeProperty used to link the "Diff" object to the previous version of the document changed by this diff.

URI:
http://vocab.deri.ie/diff#subjectOfChange
Domain:
diff:Diff
Range:
rdfs:Resource