[ 
https://issues.apache.org/jira/browse/MARMOTTA-625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15127993#comment-15127993
 ] 

ASF GitHub Bot commented on MARMOTTA-625:
-----------------------------------------

GitHub user wikier opened a pull request:

    https://github.com/apache/marmotta/pull/16

    MARMOTTA-625: remove default locale for literals generated by the reasoner

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/marmotta MARMOTTA-625

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/marmotta/pull/16.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16
    
----
commit 7e0c567d34c6ca2442744e3145dc0a68deba09d5
Author: Sergio Fernández <[email protected]>
Date:   2016-01-31T08:40:42Z

    MARMOTTA-625: applied patch provided by Alan Robson

commit 437a61088caaddaa7d641346dea008933d713f47
Author: Sergio Fernández <[email protected]>
Date:   2016-01-31T09:23:04Z

    MARMOTTA-625: fixed tests

commit 7fdc700c2bca2398b4fe86fe86cebf7b197a6837
Author: Sergio Fernández <[email protected]>
Date:   2016-01-31T09:23:55Z

    MARMOTTA-625: added more basic parsing tests

----


> Reasoner adds language tag to literals
> --------------------------------------
>
>                 Key: MARMOTTA-625
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-625
>             Project: Marmotta
>          Issue Type: Bug
>          Components: KiWi Triple Store
>    Affects Versions: 3.3.0
>            Reporter: Alan Robson
>            Assignee: Sebastian Schaffert
>            Priority: Minor
>         Attachments: MARMOTTA-625_3.3.0.diff
>
>
> 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:
> {code}($s $p "Hello") -> ($s $p "There"){code}
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to