Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function getting null values #6

Closed
amohoste opened this issue Aug 7, 2018 · 1 comment
Closed

Function getting null values #6

amohoste opened this issue Aug 7, 2018 · 1 comment

Comments

@amohoste
Copy link

amohoste commented Aug 7, 2018

When I try to use my function createAddress, it only gets null values making it return "null null null" as a result.

Commands used:
yarrrml -i file.yaml > rml.txt
java -jar ./rmlmapper-0.1.6.jar -m ./rml.txt -o ./out -f ./functions/functions.ttl

Files:
issue.zip

@amohoste amohoste closed this as completed Aug 8, 2018
@amohoste
Copy link
Author

amohoste commented Aug 8, 2018

This was my fault, you apparently have to use the value of fno:predicate of your functions.ttl file in your RML to identify the parameters. I was using the regular identifier of the parameter.

Example:

myfun:valueParam4 a fno:Parameter ;
  fno:name "input value 4" ;
  rdfs:label "input value 4" ;
  fno:type xsd:string ;
  fno:predicate myfun:valueParameter4 .

I was using myfun:valueParam4 instead of myfun:valueParameter4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant