EOF error in the code

I am trying to create virtual graph, using below code.

PREFIX : <http://api.stardog.com/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX stardog: <tag:stardog:api:>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX  sm: <tag:stardog:api:mapping:>


:Conf{confid} a :Conf ;
           :name "{name}" ;
           sm:map [ sm:table "conferences" ] .

this file is not getting saved with error Expected EOF. .

Please let me know where i am doing wrong

Are you using the CLI or Studio? If the CLI what command are you running? I'll have to check but I'm not sure if Conf{confid} is valid. You might have to do the string concatenation in sql and make it something like :{myconfid}

You may want to consider using SMS2 rather than SMS.

Thanks for your reply .
I am using Studio.
I took reference from https://www.stardog.com/tutorials/data-mappings/
The name of my table is conferences and it has columns as confid and name.

Please provide me more details of SMS2 and SMS.
My requirement is to build ETL , however I am new to RDF and very much familiar to LPG

You can find information on SMS/SMS2 at https://www.stardog.com/docs/#_structured_data_virtual_graphs in the docs.

Can you see if there are any errors or warnings in stardog.log. You may get some better information about what exactly is going on here. Sounds like some parse problem. It could be trying to parse the file as the wrong type sms vs sms2 vs r2rml.