I am trying to convert a csv file into RDF N-triples using RDFLib in python. It seems that subject must be an IRI/blank node and also Predicate must be an IRI. For example,
<http://example.org/show/218> <http://www.w3.org/2000/01/rdf-schema#label> "That Seventies Show" .
I have only static string literal data in csv file and I don't have any IRI. For example,
subject: "Name" predicate: "Id" Object="Location"
.
updated the csv format as below,
Name | Id | Location |
---|---|---|
Jon | 34 | Texas |
Michael | 42 | California |
So, is it possible to use only string literal for subject and predicate ? or How to build the IRI for my data?