Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
RdfSchema.cs
1using System;
3
5{
9 public class RdfSchema : IOntology
10 {
14 public RdfSchema()
15 {
16 }
17
21 public string OntologyNamespace => Namespace;
22
26 public string OntologyPrefix => "rdfs";
27
31 public bool ShowByDefault => true;
32
38 public Grade Supports(string Uri)
39 {
40 return Uri.StartsWith(Namespace) ? Grade.Ok : Grade.NotAtAll;
41 }
42
46 public const string Namespace = "http://www.w3.org/2000/01/rdf-schema#";
47
51 public static readonly Uri label = new Uri(Namespace + "label");
52
56 public static readonly Uri comment = new Uri(Namespace + "comment");
57 }
58}
string OntologyPrefix
Well-known ontology prefix.
Definition: RdfSchema.cs:26
static readonly Uri comment
http://www.w3.org/2000/01/rdf-schema#comment
Definition: RdfSchema.cs:56
bool ShowByDefault
If the ontology should be shown by default in query interfaces.
Definition: RdfSchema.cs:31
static readonly Uri label
http://www.w3.org/2000/01/rdf-schema#label
Definition: RdfSchema.cs:51
const string Namespace
http://www.w3.org/2000/01/rdf-schema#
Definition: RdfSchema.cs:46
Grade Supports(string Uri)
If the interface understands objects such as Uri .
Definition: RdfSchema.cs:38
string OntologyNamespace
Ontology namespace.
Definition: RdfSchema.cs:21
Interface for semantic ontologies.
Definition: IOntology.cs:9
Grade
Grade enumeration
Definition: Grade.cs:7