Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Sep 9, 2022
1 parent 8cf2a4f commit 1fad111
Show file tree
Hide file tree
Showing 8 changed files with 1,700 additions and 1,697 deletions.
3 changes: 3 additions & 0 deletions conversionScripts/webAnnoToTTLConverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
withcharoccs=False
withglyphs=False
compreftypes={"PCA":"http://purl.org/meshsparql#PCAReference"}
wedgetypevalues={"a":"cunei:PaleoCode_A","b":"cunei:PaleoCode_B","c":"cunei:PaleoCode_C","d":"cunei:PaleoCode_D","e":"cunei:PaleoCode_E","f":"cunei:PaleoCode_F","w":"cunei:PaleoCode_W"}

def coptoRDF(fw,crsnamespace,indid,opaswkt,induid):
induuid=induid.replace("#","")
Expand Down Expand Up @@ -240,6 +241,8 @@ def csToRDF(fw,crsnamespace,indid,crsaswkt):
res.write("<"+str(indid)+"_body_wedgetype> oa:motivatedBy oa:classifying .\n")
res.write("<"+str(indid)+"_body_wedgetype> oa:purpose oa:tagging .\n")
res.write("<"+str(indid)+"_body_wedgetype> rdfs:label \"Annotation Body: Wedge Type "+str(wedgetype)+"\"@en .\n")
if wedgetype in wedgetypevalues:
res.write("<"+str(namespaceitems)+str(tabname)+"_"+str(tabletside)+"_line"+str(lineindex)+"_char"+str(charindex)+"_wedge"+str(wedgeindex)+"_glyph> rdf:type "+str(wedgetypevalues[wedgetype])+" .\n")
res.write("<"+str(indid)+"_body_wedgetype> rdf:value \""+str(wedgetype)+"\"^^xsd:string .\n")
if columnindex!=None and columnindex!="":
res.write("<"+str(indid)+"> oa:hasBody <"+str(indid)+"_body_columnindex> .\n")
Expand Down
202 changes: 101 additions & 101 deletions examples/HS1174/ttl/HS1174_back.png.ttl

Large diffs are not rendered by default.

562 changes: 281 additions & 281 deletions examples/HS1174/ttl/HS1174_front.png.ttl

Large diffs are not rendered by default.

178 changes: 89 additions & 89 deletions examples/HT073195/ttl/HT073195_front.png.ttl

Large diffs are not rendered by default.

356 changes: 178 additions & 178 deletions examples/O147/ttl/O147_back.png.ttl

Large diffs are not rendered by default.

252 changes: 126 additions & 126 deletions examples/O147/ttl/O147_front.png.ttl

Large diffs are not rendered by default.

708 changes: 354 additions & 354 deletions examples/TCH92/ttl/TCH92_back.png.ttl

Large diffs are not rendered by default.

1,136 changes: 568 additions & 568 deletions examples/TCH92/ttl/TCH92_front.png.ttl

Large diffs are not rendered by default.

0 comments on commit 1fad111

Please sign in to comment.