Builtins XMLLiteral

From RIF
Revision as of 08:49, 21 April 2010 by Christian de Sainte Marie (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search




Test TypePositiveEntailmentTest
ContributorAxel Polleres
StatusApproved
RecordTelecon 20 April 2010
DialectCore
PurposeTest built-in predicates for RDF XMLLiteral datatype
DescriptionNote that the lexical space only allows for canonical XML, so use of "<br />"^^rdf:XMLLiteral is a RIF syntax error.
SeeAlso
SpecRefhttp://www.w3.org/2005/rules/wiki/DTB
Premises
Presentation SyntaxDocument( Prefix(xs <http://www.w3.org/2001/XMLSchema#>) Prefix(rdf <http://www.w3.org/1999/02/22-rdf-syntax-ns#>) Prefix(ex <http://example.org/example#>) Prefix(pred <http://www.w3.org/2007/rif-builtin-predicate#>) Group ( ex:ok() :- And ( External( pred:is-literal-XMLLiteral ( "<br></br>"^^rdf:XMLLiteral ) ) External( pred:is-literal-not-XMLLiteral ( "1"^^xs:integer ) ) External( pred:is-literal-XMLLiteral ( External ( rdf:XMLLiteral( "<br></br>"^^xs:string ) ) ) ) ) ) )
XMLview RIF/XML
Conclusion
Presentation Syntaxex:ok()
XMLview RIF/XML