Convert text file data into RDF format through the Python

marsh shashwatup9k at gmail.com
Sat Apr 29 13:06:12 EDT 2017


Hi, 

I would like to ask how can I convert text file data into RDF fromat. data look like this: 
# sent_id = weblog-juancole.com_juancole_20051126063000_ENG_20051126_063000-0001
# text = Al-Zaman : American forces killed Shaikh Abdullah al-Ani, the preacher at the mosque in the town of Qaim, near the Syrian border.
1	Al	Al	PROPN	NNP	Number=Sing	0	root	_	SpaceAfter=No
2	-	-	PUNCT	HYPH	_	1	punct	_	SpaceAfter=No
3	Zaman	Zaman	PROPN	NNP	Number=Sing	1	flat	_	_
4	:	:	PUNCT	:	_	1	punct	_	_
5	American	american	ADJ	JJ	Degree=Pos	6	amod	_	_

please suggest me



More information about the Python-list mailing list