How to map literals in virtual graph SMS format

While creating a virtual graph from a my sql database table, I want to map one name column in the table as a literal value . How to write that mapping?

Hi Avishek,

If I've interpreted your question correctly, this is as simple as referencing the source column name as a variable in the mapping target, eg:

FROM SQL {
  select x
}
TO {
  ?subj :x ?x
}

Hope this helps,
Jess

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.