3.1.3 RDF literals
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • Two RDF APIs
          • library(semweb/rdf11): The RDF database
            • RDF literals
              • rdf_canonical_literal/2
              • rdf_lexical_form/2
              • rdf_compare/3
Availability::- use_module(library(semweb/rdf11)).
Source[det]rdf_lexical_form(++Literal, -Lexical:compound)
True when Lexical is the lexical form for the literal Literal. Lexical is of one of the forms below. The ntriples serialization is obtained by transforming String into a proper ntriples string using double quotes and escaping where needed and turning Type into a proper IRI reference.

  • String^^Type
  • String@Lang