diff --git a/RDFSharp/Model/RDFNamespaceRegister.cs b/RDFSharp/Model/RDFNamespaceRegister.cs index fe33b98e..765d180d 100644 --- a/RDFSharp/Model/RDFNamespaceRegister.cs +++ b/RDFSharp/Model/RDFNamespaceRegister.cs @@ -75,6 +75,8 @@ static RDFNamespaceRegister() new RDFNamespace(RDFVocabulary.RDFS.PREFIX, RDFVocabulary.RDFS.BASE_URI).SetDereferenceUri(new Uri(RDFVocabulary.RDFS.DEREFERENCE_URI)), new RDFNamespace(RDFVocabulary.OWL.PREFIX, RDFVocabulary.OWL.BASE_URI).SetDereferenceUri(new Uri(RDFVocabulary.OWL.DEREFERENCE_URI)), new RDFNamespace(RDFVocabulary.SHACL.PREFIX, RDFVocabulary.SHACL.BASE_URI).SetDereferenceUri(new Uri(RDFVocabulary.SHACL.DEREFERENCE_URI)), + new RDFNamespace(RDFVocabulary.SWRL.PREFIX, RDFVocabulary.SWRL.BASE_URI).SetDereferenceUri(new Uri(RDFVocabulary.SWRL.DEREFERENCE_URI)), + new RDFNamespace(RDFVocabulary.SWRL.SWRLB.PREFIX, RDFVocabulary.SWRL.SWRLB.BASE_URI).SetDereferenceUri(new Uri(RDFVocabulary.SWRL.SWRLB.DEREFERENCE_URI)), new RDFNamespace(RDFVocabulary.XSD.PREFIX, RDFVocabulary.XSD.BASE_URI).SetDereferenceUri(new Uri(RDFVocabulary.XSD.DEREFERENCE_URI)), new RDFNamespace(RDFVocabulary.XML.PREFIX, RDFVocabulary.XML.BASE_URI).SetDereferenceUri(new Uri(RDFVocabulary.XML.DEREFERENCE_URI)), diff --git a/RDFSharp/Model/Vocabularies/SWRL.cs b/RDFSharp/Model/Vocabularies/SWRL.cs new file mode 100644 index 00000000..0625a0ae --- /dev/null +++ b/RDFSharp/Model/Vocabularies/SWRL.cs @@ -0,0 +1,78 @@ +/* + Copyright 2012-2020 Marco De Salvo + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +namespace RDFSharp.Model +{ + /// + /// RDFVocabulary is an helper for handy usage of supported RDF vocabularies. + /// + public static partial class RDFVocabulary + { + #region SWRL + /// + /// SWRL represents the W3C Semantic Web Rule Language vocabulary. + /// + public static class SWRL + { + + #region Properties + /// + /// swrl + /// + public static readonly string PREFIX = "swrl"; + + /// + /// https://www.w3.org/2003/11/swrl + /// + public static readonly string BASE_URI = "https://www.w3.org/2003/11/swrl"; + + /// + /// https://www.w3.org/2003/11/swrl + /// + public static readonly string DEREFERENCE_URI = "https://www.w3.org/2003/11/swrl"; + #endregion + + #region Extended Properties + /// + /// SWRLB represents the W3C Semantic Web Rule Language - BuiltIns vocabulary. + /// + public static class SWRLB + { + + #region Properties + /// + /// swrl + /// + public static readonly string PREFIX = "swrlb"; + + /// + /// https://www.w3.org/2003/11/swrlb + /// + public static readonly string BASE_URI = "https://www.w3.org/2003/11/swrlb"; + + /// + /// https://www.w3.org/2003/11/swrlb + /// + public static readonly string DEREFERENCE_URI = "https://www.w3.org/2003/11/swrlb"; + #endregion + + } + #endregion + + } + #endregion + } +} \ No newline at end of file