Skip to content

Commit

Permalink
Initial working copy
Browse files Browse the repository at this point in the history
  • Loading branch information
david-habgood committed Mar 4, 2022
1 parent 88093e9 commit 9e7e661
Show file tree
Hide file tree
Showing 9 changed files with 1,190 additions and 84 deletions.
7 changes: 4 additions & 3 deletions conversion/geosparql_benchmark_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
pass
geom_wkt.append(val)

geom_dggs = lambda_convert(geom_ids, geom_wkt, "wkt", 10)
level = 7
geom_dggs = lambda_convert(geom_ids, geom_wkt, "wkt", level)

geom_dggs_no_crs = {
k: v.lstrip("<https://w3id.org/dggs/auspix> ") for k, v in geom_dggs.items()
Expand All @@ -33,5 +34,5 @@
for geom_id, dggs_geom in geom_dggs_no_crs.items():
g.add((URIRef(geom_id), GEO.asDGGS, Literal(dggs_geom)))

g.serialize("output/dataset_dffs.rdf", format="xml")
g.serialize("output/dataset_dffs.ttl", format="turtle")
g.serialize(f"output/dataset_dggs_level_{level}.rdf", format="xml")
g.serialize(f"output/dataset_dggs_level_{level}.ttl", format="turtle")
Binary file added dggs-jar/current/combinatoricslib3-3.3.3.jar
Binary file not shown.
Binary file added dggs-jar/current/complete3.jar
Binary file not shown.
80 changes: 40 additions & 40 deletions output/dataset_dffs.rdf → output/dataset_dggs_level_10.rdf

Large diffs are not rendered by default.

81 changes: 40 additions & 41 deletions output/dataset_dffs.ttl → output/dataset_dggs_level_10.ttl

Large diffs are not rendered by default.

554 changes: 554 additions & 0 deletions output/dataset_dggs_level_7.rdf

Large diffs are not rendered by default.

Loading

0 comments on commit 9e7e661

Please sign in to comment.