Class RdfSpecsHelper
Helper class with useful constants relating to the RDF Specification.
Inherited Members
Namespace: VDS.RDF.Parsing
Assembly: dotNetRdf.dll
Syntax
public class RdfSpecsHelper
Fields
| Edit this page View SourceRdfDirection
URI for rdf:direction.
Declaration
public const string RdfDirection = "http://www.w3.org/1999/02/22-rdf-syntax-ns#direction"
Field Value
Type | Description |
---|---|
string |
RdfJson
URI for JSON literal datatype.
Declaration
public const string RdfJson = "http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON"
Field Value
Type | Description |
---|---|
string |
RdfLangString
URI for rdf:langString the implicit type of language specified literals.
Declaration
public const string RdfLangString = "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"
Field Value
Type | Description |
---|---|
string |
RdfLanguage
URI for rdf:language.
Declaration
public const string RdfLanguage = "http://www.w3.org/1999/02/22-rdf-syntax-ns#language"
Field Value
Type | Description |
---|---|
string |
RdfList
URI for rdf:List.
Declaration
public const string RdfList = "http://www.w3.org/1999/02/22-rdf-syntax-ns#List"
Field Value
Type | Description |
---|---|
string |
RdfListFirst
URI for rdf:first.
Declaration
public const string RdfListFirst = "http://www.w3.org/1999/02/22-rdf-syntax-ns#first"
Field Value
Type | Description |
---|---|
string |
RdfListNil
URI for rdf:nil.
Declaration
public const string RdfListNil = "http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"
Field Value
Type | Description |
---|---|
string |
RdfListRest
URI for rdf:rest.
Declaration
public const string RdfListRest = "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"
Field Value
Type | Description |
---|---|
string |
RdfObject
URI for rdf:object.
Declaration
public const string RdfObject = "http://www.w3.org/1999/02/22-rdf-syntax-ns#object"
Field Value
Type | Description |
---|---|
string |
RdfPredicate
URI for rdf:predicate.
Declaration
public const string RdfPredicate = "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate"
Field Value
Type | Description |
---|---|
string |
RdfStatement
URI for rdf:Statement.
Declaration
public const string RdfStatement = "http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"
Field Value
Type | Description |
---|---|
string |
RdfSubject
URI for rdf:subject.
Declaration
public const string RdfSubject = "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject"
Field Value
Type | Description |
---|---|
string |
RdfType
URI for rdf:type.
Declaration
public const string RdfType = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
Field Value
Type | Description |
---|---|
string |
RdfValue
URI for rdf:value.
Declaration
public const string RdfValue = "http://www.w3.org/1999/02/22-rdf-syntax-ns#value"
Field Value
Type | Description |
---|---|
string |
RdfXmlLiteral
URI for rdf:XMLLiteral.
Declaration
public const string RdfXmlLiteral = "http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"
Field Value
Type | Description |
---|---|
string |
ValidLangSpecifiersPattern
Pattern for Valid Language Specifiers.
Declaration
public const string ValidLangSpecifiersPattern = "^@?[A-Za-z]+(\\-[A-Za-z0-9]+)*$"
Field Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceIsValidLangSpecifier(string)
Determines whether a given String is a valid Language Specifier.
Declaration
public static bool IsValidLangSpecifier(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value | String to test. |
Returns
Type | Description |
---|---|
bool |