Warning:
This wiki has been archived and is now read-only.

Builtins XMLLiteral

From RIF
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