Splitting .ttl or .nt file - Spark Scala
问题 I'm new to scala and I need to read line by line a ttl file and split on particular delimiter and extract values to put in respective columns in dataframe. < http://website/Jimmy_Carter> <http://web/name> "James Earl Carter, Jr."@ko . < http://website/Jimmy_Car> <http://web/country> <http://website/United_States> . < http://website/Jimmy_Car> <http://web/birthPlace> <http://web/Georgia_(US)> . I want to have this output +-------------------------------+---------------------------+------------