tetherless-world / nanomine-graph

the visualization web app for nanomine project
MIT License
1 stars 4 forks source link

Importing nan's with incongruous Unit_labels and Names #34

Open mdeagen opened 3 years ago

mdeagen commented 3 years ago

Definitely looks like a bug somewhere, that is manifesting in the facet_values (and possibly in ontology documentation as well?)

Several examples from the auto-generated facet_values:

{
    "class": "http://nanomine.org/ns/PolymerNanocomposite",
    "count": "1",
    "facetId": "NanocompositeProperty",
    "field": "NanocompositeProperty__file_apps_whyis_nan__http_www_ontology_of_units_of_measure_org_resource_om_2_percent",
    "indep_vals": [],
    "independentVariables": "\u003chttp://semanticscience.org/resource/inRelationTo\u003e",
    "label": "Nanocomposite Property",
    "name": "Volume",
    "predicate": "\u003chttp://semanticscience.org/resource/hasAttribute\u003e",
    "propertyType": "http://www.w3.org/2002/07/owl#ObjectProperty",
    "type": "quantitative",
    "typeProperty": "rdf:type",
    "unit": "http://www.ontology-of-units-of-measure.org/resource/om-2/percent",
    "unitPredicate": "\u003chttp://semanticscience.org/resource/hasUnit\u003e",
    "unit_label": "Percent",
    "value": "\u003cfile:///apps/whyis/nan\u003e",
    "valuePredicate": "\u003chttp://semanticscience.org/resource/hasValue\u003e"
},
...
{
    "class": "http://nanomine.org/ns/PolymerNanocomposite",
    "count": "1",
    "facetId": "NanocompositeProperty",
    "field": "NanocompositeProperty__file_apps_whyis_nan",
    "indep_vals": [],
    "independentVariables": "\u003chttp://semanticscience.org/resource/inRelationTo\u003e",
    "label": "Nanocomposite Property",
    "name": "Institution or Lab",
    "predicate": "\u003chttp://semanticscience.org/resource/hasAttribute\u003e",
    "propertyType": "http://www.w3.org/2002/07/owl#ObjectProperty",
    "type": "quantitative",
    "typeProperty": "rdf:type",
    "unitPredicate": "\u003chttp://semanticscience.org/resource/hasUnit\u003e",
    "value": "\u003cfile:///apps/whyis/nan\u003e",
    "valuePredicate": "\u003chttp://semanticscience.org/resource/hasValue\u003e"
},
...
{
    "class": "http://nanomine.org/ns/PolymerNanocomposite",
    "count": "1",
    "facetId": "NanocompositeProperty",
    "field": "NanocompositeProperty__file_apps_whyis_nan__http_qudt_org_vocab_unit_MegaV_PER_M",
    "indep_vals": [],
    "independentVariables": "\u003chttp://semanticscience.org/resource/inRelationTo\u003e",
    "label": "Nanocomposite Property",
    "name": "Author",
    "predicate": "\u003chttp://semanticscience.org/resource/hasAttribute\u003e",
    "propertyType": "http://www.w3.org/2002/07/owl#ObjectProperty",
    "type": "quantitative",
    "typeProperty": "rdf:type",
    "unit": "http://qudt.org/vocab/unit/MegaV-PER-M",
    "unitPredicate": "\u003chttp://semanticscience.org/resource/hasUnit\u003e",
    "unit_label": "Megavolt per Meter",
    "value": "\u003cfile:///apps/whyis/nan\u003e",
    "valuePredicate": "\u003chttp://semanticscience.org/resource/hasValue\u003e"
},
...
{
    "class": "http://nanomine.org/ns/PolymerNanocomposite",
    "count": "1",
    "facetId": "NanocompositeProperty",
    "field": "NanocompositeProperty__file_apps_whyis_nan__http_nanomine_org_ns_unit_kv_mm",
    "indep_vals": [],
    "independentVariables": "\u003chttp://semanticscience.org/resource/inRelationTo\u003e",
    "label": "Nanocomposite Property",
    "name": "Date of Citation",
    "predicate": "\u003chttp://semanticscience.org/resource/hasAttribute\u003e",
    "propertyType": "http://www.w3.org/2002/07/owl#ObjectProperty",
    "type": "quantitative",
    "typeProperty": "rdf:type",
    "unit": "http://nanomine.org/ns/unit/kv-mm",
    "unitPredicate": "\u003chttp://semanticscience.org/resource/hasUnit\u003e",
    "unit_label": "Kilovolt per Millimeter",
    "value": "\u003cfile:///apps/whyis/nan\u003e",
    "valuePredicate": "\u003chttp://semanticscience.org/resource/hasValue\u003e"
},
...