Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Schema.cs
2
4{
8 public class Schema : IOntology
9 {
13 public Schema()
14 {
15 }
16
20 public string OntologyNamespace => Namespace;
21
25 public string OntologyPrefix => "schema";
26
30 public bool ShowByDefault => false;
31
37 public Grade Supports(string Uri)
38 {
39 return Uri.StartsWith(Namespace) ? Grade.Ok : Grade.NotAtAll;
40 }
41
45 public const string Namespace = "http://schema.org/";
46 }
47}
string OntologyNamespace
Ontology namespace.
Definition: Schema.cs:20
Grade Supports(string Uri)
If the interface understands objects such as Uri .
Definition: Schema.cs:37
bool ShowByDefault
If the ontology should be shown by default in query interfaces.
Definition: Schema.cs:30
const string Namespace
http://schema.org/
Definition: Schema.cs:45
string OntologyPrefix
Well-known ontology prefix.
Definition: Schema.cs:25
Interface for semantic ontologies.
Definition: IOntology.cs:9
Grade
Grade enumeration
Definition: Grade.cs:7