 | |
Network
configuration
with RDF | | |
Rules for configuration data
Rules for inferring configuration data.
-
The rule used here are interpreted using the Cwm program written by Tim Berners-Lee [1].
-
Below is an example of a simple inference rule. This rule applies the access policy for a user
to any host that they are declared to use:
{ ?user a foaf:Person ;
foaf:name ?userName
;
user:usesHost ?userHost ;
user:accessType ?userAccess .
?userHost a user:HostSystem .
}
log:implies
{ ?userHost
user:accessType ?userAccess .
} .
There are many more semantic rules. The full rules file used is at:
http://www.ninebynine.org/SWAD-E/Scenario-HomeNetwork/ConfigRules.n3
[1]
http://www.w3.org/2000/10/swap/doc/cwm
|