Skip to content

Commit

Permalink
Corrected transformation of Symbol into String.
Browse files Browse the repository at this point in the history
  • Loading branch information
balhoff committed Mar 21, 2016
1 parent ad1a256 commit 99bd2d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ trait SWRLArgs {

val iriPrefix = "urn:swrl#"

def toArgument(arg: Symbol): SWRLVariable = factory.getSWRLVariable(IRI.create(s"$iriPrefix${arg.toString}"))
def toArgument(arg: Symbol): SWRLVariable = factory.getSWRLVariable(IRI.create(s"$iriPrefix${arg.name}"))

}

Expand Down

0 comments on commit 99bd2d3

Please sign in to comment.