Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-625

Reasoner adds language tag to literals

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0
    • KiWi Triple Store
    • None

    Description

      Hi - I've been trying to get the Kiwi reasoner to work with rules where the body section contains a string literal. It was suggested that I raise a jira ticket to report this as a possible bug.

      For example:

      ($s $p "Hello") -> ($s $p "There")

      The literal "Hello" will match any triple that has an object that is set to "Hello"@en but not if the triple has an un-tagged literal value of just "Hello".

      When it infers/produces triples with a string literal as the object it will add the language decoration too, so the above would infer "There"@en.

      How can I turn off the language attribute please?
      How can I match other types of literal objects; e.g., numbers or other ^^XML types?

      Many thanks

      Alan

      Reasoner
      Module ID marmotta-reasoner-kiwi
      Version 3.3.0
      Build Date Fri, 16 Oct 2015 19:48:44 UTC
      Build Revision 0
      Revision ID git:3a7684
      Build OS Linux 3.10.0-123.6.3.el7.x86_64/amd64

      Attachments

        1. MARMOTTA-625_3.3.0.diff
          4 kB
          Alan Robson

        Activity

          People

            wastl Sebastian Schaffert
            Alanr Alan Robson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: