Skip to content

Commit 7c16791

Browse files
committed
fix generated triples format
1 parent 004e56b commit 7c16791

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
grep '<http://schema.org/about>' $1 |grep '.*\.wikipedia\.org\/wiki' | awk '{
2-
print $3,"<http://www.w3.org/2002/07/owl#sameAs>",$1
2+
print $3,"<http://www.w3.org/2002/07/owl#sameAs>",$1,"."
33
}' |sed s/'.wikipedia.org\/wiki'/'.dbpedia.org\/resource'/ > languagelinks.nt
44

55

scripts/src/main/bash/languageSpecificLinksGenerator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ match ($3 , /<http:\/\/(.*).dbpedia.org\/resource\/.*>/ ,m)
55
{
66
gsub("-","_",m[1])
77
system("touch ./llinkfiles/interlanguage_links_same_as_" m[1] ".ttl")
8-
print $1,$2,$3 >> "./llinkfiles/interlanguage_links_same_as_" m[1] ".ttl"
8+
print $1,$2,$3,"." >> "./llinkfiles/interlanguage_links_same_as_" m[1] ".ttl"
99
}
1010
}'

0 commit comments

Comments
 (0)