diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-08-15 13:56:51 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-08-15 13:56:51 +0200 |
commit | 5f12ee84322731ce9b846a27852999ff219c75b5 (patch) | |
tree | a5188ca2e92060326fe7776fd7ee3ae8b3eeef89 /src/ee/souffle | |
parent | 7a1907ce2bd8fefd018fb65914d97482a9a88903 (diff) | |
download | ee-python-5f12ee84322731ce9b846a27852999ff219c75b5.tar.gz ee-python-5f12ee84322731ce9b846a27852999ff219c75b5.tar.bz2 ee-python-5f12ee84322731ce9b846a27852999ff219c75b5.tar.xz ee-python-5f12ee84322731ce9b846a27852999ff219c75b5.zip |
kicad.dl: Always add fact-type/value for all components. Still adding
the more specific values for known part types.
bom: Use the correct URI for finding the value. Don't die if a part has
both value and mpn, and they reference the same part.
Diffstat (limited to 'src/ee/souffle')
-rw-r--r-- | src/ee/souffle/kicad.dl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ee/souffle/kicad.dl b/src/ee/souffle/kicad.dl index 734811c..06633aa 100644 --- a/src/ee/souffle/kicad.dl +++ b/src/ee/souffle/kicad.dl @@ -169,3 +169,8 @@ mounting_hole(Part) :- add_fact(Part, "http://purl.org/ee/fact-type/ee-component-type", "http://purl.org/ee/part-type#mounting-hole") :- mounting_hole(Part). + +// Value + +add_fact(Part, "http://purl.org/ee/fact-type/value", value) :- + fact(Part, "http://purl.org/ee/kicad-sch-fact-type#value", value). |