aboutsummaryrefslogtreecommitdiff
path: root/trygvis/eda/digikey
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-12-27 22:24:37 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2016-12-27 22:24:37 +0100
commit9bf18900c05547a40bb3c3a7a819a137e81dae92 (patch)
treeacd7047e5650091854a19da838108dd8570591e1 /trygvis/eda/digikey
parent67013ae17af0436b930dce450a813239be969601 (diff)
downloadeda-rdf-9bf18900c05547a40bb3c3a7a819a137e81dae92.tar.gz
eda-rdf-9bf18900c05547a40bb3c3a7a819a137e81dae92.tar.bz2
eda-rdf-9bf18900c05547a40bb3c3a7a819a137e81dae92.tar.xz
eda-rdf-9bf18900c05547a40bb3c3a7a819a137e81dae92.zip
o Adding a 'db-stats' application for summarizing the contents of the database.
o Starting on make-bom. Extremely slow when using rdflib (~8 minutes), jena is very fast (~50 ms).
Diffstat (limited to 'trygvis/eda/digikey')
-rw-r--r--trygvis/eda/digikey/rdf.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/trygvis/eda/digikey/rdf.py b/trygvis/eda/digikey/rdf.py
index 5f1dede..7a21275 100644
--- a/trygvis/eda/digikey/rdf.py
+++ b/trygvis/eda/digikey/rdf.py
@@ -1,7 +1,7 @@
-from rdflib import Namespace
+import rdflib
-DIGIKEY = Namespace("https://trygvis.io/purl/digikey#")
-DIGIKEY_ATTRIBUTE_TYPE = Namespace("https://trygvis.io/purl/digikey-attribute-type#")
-DIGIKEY_ATTRIBUTE_VALUE = Namespace("https://trygvis.io/purl/digikey-attribute-value#")
-DIGIKEY_PART = Namespace("https://trygvis.io/purl/digikey-part#")
-DIGIKEY_PRODUCT_CATEGORY = Namespace("https://trygvis.io/purl/digikey-product-category#")
+DIGIKEY = rdflib.Namespace("https://trygvis.io/purl/digikey#")
+DIGIKEY_ATTRIBUTE_TYPE = rdflib.Namespace("https://trygvis.io/purl/digikey-attribute-type#")
+DIGIKEY_ATTRIBUTE_VALUE = rdflib.Namespace("https://trygvis.io/purl/digikey-attribute-value#")
+DIGIKEY_PART = rdflib.Namespace("https://trygvis.io/purl/digikey-part#")
+DIGIKEY_PRODUCT_CATEGORY = rdflib.Namespace("https://trygvis.io/purl/digikey-product-category#")