Ontologies / log
SWAP Logic Ontology
Original text (English), from: LOV catalogueAn historical ontology used by the cwm command-line tool back in the very early days of the semantic web (~ 2000- 2003 ?)
- Namespace IRI
- http://www.w3.org/2000/10/swap/log#
- Type
- Vocabulary
- Field
- Semantic web core
- Version
- Not verified
- Licence statement
- License not verified
- Standard or contact
- Not registered
- Definition file check
- File parsed · Nov 30, 2026 UTC
- Collected from
- Linked Open Vocabularies (LOV)
- Also listed in
- Bioregistry
At a glance
Derived from the parsed definition file, not written by an editor.
- Classes
- 7
- Properties
- 20
- Triples in file
- 86
- Connections
- 4
- Papers and standards
- 0
Counted as stated directly in the definition file, within its own namespace, without imports or inference. The file also declares 0 terms from other namespaces.
Central classes
The classes with the most subclass and property links.
What it lets you say
Properties read as domain, property, range.
- FormulaconclusionFormula
- Formulan3 stringString
- Stringparses toFormula
- ListconjunctionFormula
Class graph
Select a class to read its original definition and the properties attached to it. Drag to move, scroll to zoom.
subclass of (child to parent)property (domain to range)
All 7 classes
| Term | Original definition |
|---|---|
| Formula log:Formula | Not registered |
| String log:String | Not registered |
| List log:List | Not registered |
| N3Document log:N3Document | A document which, which parsed as Notation3 as defined in general by http://www.w3.org/DesignIssues/Notation3.html and this schema, conveys the intent of the author by the semantics defined on those specifications, and the semantics defined by the specifications of any other identifiers used in the document. |
| Other log:Other | Not registered |
| Chaff log:Chaff | Any statement mentioning anything in this class is considered boring and purged by the cwm --purge option. This is a convenience, and does not have any value when published as a general fact on the web. |
| Truth log:Truth | Something which is true: believe it as you would believe this. Understood natively by cwm in that it will execute rules in a formula declared a Truth within a formula it is already taking rules from. |
All 20 properties
| Term | Original definition |
|---|---|
| rawUri log:rawUri | This allows one to look at the actual string of the URI which identifies this, for anything, even a blank node or a formula. This peeks into the internal workings of cwm, and so is not normally used. Use log:uri instead. |
| implies log:implies | Logical implication. This is the relation between the antecedent (subject) and conclusion (object) of a rule. The application of a rule to a knowledge-base is as follows. For every substitution which, applied to the antecedent, gives a formula which is a subset of the knowledge-base, then the result of applying that sa |
| output string log:outputString | The subject is a key and the object is a string, where the strings are to be output in the order of the keys. See cwm --strings in cwm --help. |
| n3 string log:n3String | The subject formula, expressed as N3, gives this string. |
| includes log:includes | The subject formula includes the object formula. Formula A includes formula B if there exists some substitution which when applied to B creates a formula B' such that for every statement in B' is also in A, every variable universally (or existentially) quantified in B' is quantified in the same way in A. Variable subst |
| definitive service log:definitiveService | When service S is the definitiveService for property P, any statement X P Y is true iff and only if a query to S returns that it is. The protocol for the service S depends on the scheme. For mysql protocol, the URI of the service is like sql://user:password@host.domain/database/. For example, there may be a definitive |
| parses to log:parsedAsN3 | The subject string, parsed as N3, gives this formula. |
| rawType log:rawType | This is a low-level language type, one of log:Formula, log:Literal, log:List, log:Set or log:Other. Example: log:semanticsOrError returns either a formula or a string, and you can check which using log:rawType. |
| conclusion log:conclusion | All possible conclusions which can be drawn from a formula. The object of this function, a formula, is the set of conclusions which can be drawn from the subject formula, by successively applying any rules it contains to the data it contains. This is equivalent to cwm's "--think" command line function. It does use buil |
| notIncludes log:notIncludes | The object formula is NOT a subset of subject. True iff log:includes is false. The converse of log:includes. (Understood natively by cwm. The subject formula may contain variables. (In cwm, variables must of course end up getting bound before the log:include test can be done, or an infinite result set would result) Rel |
| definitive document log:definitiveDocument | When document D is the definitiveDocument for property P, any statement X P Y is true iff and only if the semantics of document D include that statement. For example, there may be a definitive document for the zipcode of airports by airport code, and so on. This is useful to let a reasoner know that it can extend its q |
| semantics or error message log:semanticsOrError | This connects a document and either the formula it parses to, or an error message explaining what went wrong with trying. See log:semantics. (Cwm knows how to go get a document and parse it in order to evaluate this.) |
| dtlit log:dtlit | Takes a list of a string and a URI and creates a datatyped literal. For example, { ("2005-03-30T11:00:00" :tz) log:dtlit ?X } => { ?X a :Answer } . will produce "2005-03-30T11:00:00"^^:tz a :Answer . |
| notEqualTo log:notEqualTo | Equality in this sense is actually the same URI. A cwm built-in logical operator. |
| content log:content | This connects a document and a string that represents it. (Cwm knows how to go get a document in order to evaluate this.) Note that the content-type of the information is not given and so must be known or guessed. |
| conjunction log:conjunction | "A function to merge formulae: logical AND. The subject is a list of formulae. The object, which can be generated, is a formula containing a copy of each of the formulae in the list on the left. A cwm built-in function. |
| equalTo log:equalTo | True if the subject and object are the same RDF node (symbol or literal). Do not confuse with owl:sameAs. A cwm built-in logical operator, RDF graph level. |
| racine log:racine | For anything identified by a URI with a fragid, this is the thing identified by the same URI without a hash or fragid. For anything else, it is itself. |
| uri log:uri | This allows one to look at the actual string of the URI which identifies this. (Cwm can get the URI of a resource or get the resource from the URI.) This is a level breaker, breaking the rule of not looking inside a URI. Use (eg with string:match) to replace RDF's old "aboutEach" functionality. Use to implement the URI |
| semantics log:semantics | The log:semantics of a document is the formula. achieved by parsing representation of the document. For a document in Notation3, log:semantics is the log:parsedAsN3 of the log:contents of the document. For a document in RDF/XML, it is parsed according to the RDF/XML specification to yield an RDF formula (a subclass of |
Connections
Relations stated in a definition file or an official registry. Each row shows where the statement comes from.
What this ontology builds on 2
What builds on this ontology 2
Ontology with a stated relationPaper or standardRepositorySimilarity candidate (computed)
Show the evidence table (4 rows)
| Direction | Ontology | Relation | Evidence |
|---|---|---|---|
| This → other | The RDF Concepts Vocabulary | reuses terms (2 terms) | definition file type, Property |
| This → other | Works, licences, derivatives and dependencies | reuses terms (1 term) | definition file Work |
| Other → this | Solid terms | reuses terms (1 term) | definition file Formula |
| Other → this | Atom Syndication Ontology | reuses terms (1 term) | definition file forAll |
Similarity candidates
Candidates are ranked by shared words in descriptions and term labels. They are a starting point for your own check, not a statement of equivalence, compatibility or official relation.
Similar ontologies
- 0.11Compare
- 0.11Compare
- 0.10Compare
- 0.10Compare
- 0.10Compare
- 0.10Compare
- VoID Vocabulary of Interlinked Datasetsvoid
Shared words: uri, look, document, subject, subset · Repository0.09Compare - 0.09Compare
Similar papers and standards
- 0.07
- 0.06
- 0.06
Papers and standards
No paper or standard is linked yet. A missing paper is not a defect: an official specification can serve as evidence.
Files and repository
| File | Format | Location |
|---|---|---|
| LOV archived version | Turtle | https://lov.linkeddata.es/dataset/lov/vocabs/log/versions/2000-10-01.n3 |
| Repository | — | https://github.com/linkeddata/swap |
Check record
- Fetch fileDone
- Parse RDFDone
- Extract termsDone
A parsed file means it could be read. It does not vouch for logical consistency or modelling quality.
- Definition file check
- File parsed
- Checked at
- Nov 30, 2026 UTC
- Format
- Turtle
- Parser
- n3
- Size
- 12,121 B
- SHA-256
- 7b28091793f69c5b90f61be5682d29c2cfc1189582d42671b6a6b4f038ea8d31
- Note
- This is the latest version archived by LOV, not a file fetched from the publisher.