vaimee / SEPA

Get notifications about changes in your SPARQL endpoint.
26 stars 10 forks source link

Forced binding doesn't use the default type #49

Closed relu91 closed 5 years ago

relu91 commented 5 years ago

Describe the bug When you bind a SPARQL variable to a value in Java API, the APIs ignores the default type stated in JSAP and uses xsd:string.

To Reproduce Steps to reproduce the behavior:

  1. Create a JSAP with one update and one forcedBinding with type xsd:decimal
  2. Set the forced binding using the one argument constructor of RDFTermLiteral
  3. execute the update
  4. check the data type of the value inserted in the DB.

Expected behavior The dataType should xsd:decimal instead xsd:string

System information(please complete the following information):

lroffia commented 5 years ago

Fixed...hopefully ;-)