Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Foaf.cs
2
4{
8 public class Foaf : IOntology
9 {
13 public Foaf()
14 {
15 }
16
20 public string OntologyNamespace => Namespace;
21
25 public string OntologyPrefix => "foaf";
26
30 public bool ShowByDefault => true;
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://xmlns.com/foaf/0.1/";
46 }
47}
FOAF (Friend of a Friend)
Definition: Foaf.cs:9
const string Namespace
http://xmlns.com/foaf/0.1/
Definition: Foaf.cs:45
Foaf()
FOAF (Friend of a Friend)
Definition: Foaf.cs:13
string OntologyPrefix
Well-known ontology prefix.
Definition: Foaf.cs:25
bool ShowByDefault
If the ontology should be shown by default in query interfaces.
Definition: Foaf.cs:30
Grade Supports(string Uri)
If the interface understands objects such as Uri .
Definition: Foaf.cs:37
string OntologyNamespace
Ontology namespace.
Definition: Foaf.cs:20
Interface for semantic ontologies.
Definition: IOntology.cs:9
Grade
Grade enumeration
Definition: Grade.cs:7