Example: Custom Battery Cell Metadata#

Let’s describe two instances of custom R2032 coin cells with different materials!

This example covers a few topics:

  • How to describe a resource using ontology terms and JSON-LD

  • How machines convert JSON-LD into triples

  • How to filter your cells based on some criteria [Moderate]

  • How to use the ontology to fetch more information from other sources [Advanced]

A live version of this notebook is available on Google Colab here

Describe the powder using ontology terms in JSON-LD format#

The JSON-LD data that we will use is:

[48]:
jsonld_LFPGr = {
            "@context": "https://raw.githubusercontent.com/emmo-repo/domain-battery/master/context.json",
            "@type": "BatteryCell",
            "schema:name": "My LFP-Graphite R2032 Coin Cell",
            "schema:manufacturer": {
               "@id": "https://www.wikidata.org/wiki/Q3041255",
               "schema:name": "SINTEF"
            },
            "hasPositiveElectrode": {
                "@type": "Electrode",
                "hasActiveMaterial": {
                    "@type": "LithiumIronPhosphate"
                }
            },
            "hasNegativeElectrode": {
                "@type": "Electrode",
                "hasActiveMaterial": {
                    "@type": "Graphite"
                }
            },
            "hasCase": {
                "@type": "R2032"
            },
            "hasProperty": {
               "@type": ["NominalVoltage", "ConventionalProperty"],
               "hasNumericalPart": {
                     "@type": "Real",
                     "hasNumericalValue": 3.2
               },
               "hasMeasurementUnit": "emmo:Volt"
            }
         }

jsonld_LNOGr = {
            "@context": "https://raw.githubusercontent.com/emmo-repo/domain-battery/master/context.json",
            "@type": "BatteryCell",
            "schema:name": "My LNO-Graphite R2032 Coin Cell",
            "schema:manufacturer": {
               "@id": "https://www.wikidata.org/wiki/Q3041255",
               "schema:name": "SINTEF"
            },
            "hasPositiveElectrode": {
                "@type": "Electrode",
                "hasActiveMaterial": {
                    "@type": "LithiumNickelOxide"
                }
            },
            "hasNegativeElectrode": {
                "@type": "Electrode",
                "hasActiveMaterial": {
                    "@type": "Graphite"
                }
            },
            "hasCase": {
                "@type": "R2032"
            },
            "hasProperty": {
               "@type": ["NominalVoltage", "ConventionalProperty"],
               "hasNumericalPart": {
                     "@type": "Real",
                     "hasNumericalValue": 3.6
               },
               "hasMeasurementUnit": "emmo:Volt"
            }
         }

Parse this description into a graph#

Now let’s see how a machine would process this data by reading it into a Graph!

First, we install and import the python dependencies that we need for this example.

[49]:
# Install and import dependencies
!pip install jsonschema rdflib requests matplotlib > /dev/null

import json
import rdflib
import requests
import sys
from IPython.display import Image, display
import matplotlib.pyplot as plt

We create the graph using a very handy python package called rdflib, which provides us a way to parse our json-ld data, run some queries using the language SPARQL, and serialize the graph in any RDF compatible format (e.g. JSON-LD, Turtle, etc.).

[50]:
# Create a new graph
g = rdflib.Graph()

# Parse our json-ld data into the graph
g.parse(data=json.dumps(jsonld_LFPGr), format="json-ld")
g.parse(data=json.dumps(jsonld_LNOGr), format="json-ld")

# Create a SPARQL query to return all the triples in the graph
query_all = """
SELECT ?subject ?predicate ?object
WHERE {
  ?subject ?predicate ?object
}
"""

# Execute the SPARQL query
all_the_things = g.query(query_all)

# Print the results
for row in all_the_things:
    print(row)

(rdflib.term.BNode('N1fa58317b5c04a40bdc836b0e29a051d'), rdflib.term.URIRef('https://schema.org/name'), rdflib.term.Literal('My LFP-Graphite R2032 Coin Cell'))
(rdflib.term.BNode('Na8888f67843f40fa8bc9efe32a39bd02'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_860aa941_5ff9_4452_8a16_7856fad07bee'), rdflib.term.BNode('N1fe8535096ed436e92cc736bb203262f'))
(rdflib.term.BNode('N8a25bf6bf45743e0bbbd9401567d5dc4'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_bed1d005_b04e_4a90_94cf_02bc678a8569'), rdflib.term.URIRef('http://emmo.info/emmo#Volt'))
(rdflib.term.BNode('Ne6858b3f64a9483f925ccd464076ab04'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/battery#battery_68ed592a_7924_45d0_a108_94d6275d57f0'))
(rdflib.term.BNode('Nabed07743a4948009530f6c30a72a556'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_18d180e4_5e3e_42f7_820c_e08951223486'))
(rdflib.term.BNode('N8a25bf6bf45743e0bbbd9401567d5dc4'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_d8aa8e1f_b650_416d_88a0_5118de945456'))
(rdflib.term.BNode('N8a25bf6bf45743e0bbbd9401567d5dc4'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_8ef3cd6d_ae58_4a8d_9fc0_ad8f49015cd0'), rdflib.term.BNode('Nabed07743a4948009530f6c30a72a556'))
(rdflib.term.BNode('Nf303668168c149ee9db9d3c1f077f92f'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_639b844a_e801_436b_985d_28926129ead6'))
(rdflib.term.BNode('Nc84b874ca480485c82214ff777e4d5b0'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('https://w3id.org/emmo/domain/chemicalsubstance#substance_c28a0967_ed23_48cc_a14e_a651d75a19db'))
(rdflib.term.BNode('N9d60b680f9a548f79d824e66f9f3f3a0'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_0f007072-a8dd-4798-b865-1bf9363be627'))
(rdflib.term.BNode('Ne6858b3f64a9483f925ccd464076ab04'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_5d299271_3f68_494f_ab96_3db9acdd3138'), rdflib.term.BNode('N9d60b680f9a548f79d824e66f9f3f3a0'))
(rdflib.term.BNode('Ne6858b3f64a9483f925ccd464076ab04'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_e1097637_70d2_4895_973f_2396f04fa204'), rdflib.term.BNode('N8a25bf6bf45743e0bbbd9401567d5dc4'))
(rdflib.term.BNode('Ndeb892b2acee4a638d8f785513faa6d7'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_0f007072-a8dd-4798-b865-1bf9363be627'))
(rdflib.term.BNode('Ne6858b3f64a9483f925ccd464076ab04'), rdflib.term.URIRef('https://schema.org/name'), rdflib.term.Literal('My LNO-Graphite R2032 Coin Cell'))
(rdflib.term.BNode('N1fa58317b5c04a40bdc836b0e29a051d'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_3dcfe33d_6825_43c0_a798_68e871a68d39'), rdflib.term.BNode('N345c98843d9f46c89e490dbf667eacc6'))
(rdflib.term.URIRef('https://www.wikidata.org/wiki/Q3041255'), rdflib.term.URIRef('https://schema.org/name'), rdflib.term.Literal('SINTEF'))
(rdflib.term.BNode('N1fa58317b5c04a40bdc836b0e29a051d'), rdflib.term.URIRef('https://schema.org/manufacturer'), rdflib.term.URIRef('https://www.wikidata.org/wiki/Q3041255'))
(rdflib.term.BNode('Ne6858b3f64a9483f925ccd464076ab04'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_8e9cf965_9f92_46e8_b678_b50410ce3616'), rdflib.term.BNode('Ndeb892b2acee4a638d8f785513faa6d7'))
(rdflib.term.BNode('Ne6858b3f64a9483f925ccd464076ab04'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_3dcfe33d_6825_43c0_a798_68e871a68d39'), rdflib.term.BNode('N87fd0510c5d342d0b6d1ec1efab55efc'))
(rdflib.term.BNode('N318dda34a11b4390946ce22a6278c83c'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_860aa941_5ff9_4452_8a16_7856fad07bee'), rdflib.term.BNode('N607b1c335401415da79f95196fce8dd5'))
(rdflib.term.BNode('Nd522762dfe0c4e7aa318d88f5435c081'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_18d180e4_5e3e_42f7_820c_e08951223486'))
(rdflib.term.BNode('N87fd0510c5d342d0b6d1ec1efab55efc'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_94497aca_52a0_48e3_9b76_157b050e35b3'))
(rdflib.term.BNode('Nf303668168c149ee9db9d3c1f077f92f'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_bed1d005_b04e_4a90_94cf_02bc678a8569'), rdflib.term.URIRef('http://emmo.info/emmo#Volt'))
(rdflib.term.BNode('N1fa58317b5c04a40bdc836b0e29a051d'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/battery#battery_68ed592a_7924_45d0_a108_94d6275d57f0'))
(rdflib.term.BNode('Nbc45ccd0825c4ae9b894d0ae1d293482'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('https://w3id.org/emmo/domain/chemicalsubstance#substance_d53259a7_0d9c_48b9_a6c1_4418169df303'))
(rdflib.term.BNode('N1fa58317b5c04a40bdc836b0e29a051d'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_8e9cf965_9f92_46e8_b678_b50410ce3616'), rdflib.term.BNode('Na8888f67843f40fa8bc9efe32a39bd02'))
(rdflib.term.BNode('N8a25bf6bf45743e0bbbd9401567d5dc4'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_639b844a_e801_436b_985d_28926129ead6'))
(rdflib.term.BNode('N9d60b680f9a548f79d824e66f9f3f3a0'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_860aa941_5ff9_4452_8a16_7856fad07bee'), rdflib.term.BNode('Nbc45ccd0825c4ae9b894d0ae1d293482'))
(rdflib.term.BNode('Nf303668168c149ee9db9d3c1f077f92f'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_d8aa8e1f_b650_416d_88a0_5118de945456'))
(rdflib.term.BNode('Nabed07743a4948009530f6c30a72a556'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_faf79f53_749d_40b2_807c_d34244c192f4'), rdflib.term.Literal('3.6', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#double')))
(rdflib.term.BNode('N318dda34a11b4390946ce22a6278c83c'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_0f007072-a8dd-4798-b865-1bf9363be627'))
(rdflib.term.BNode('Na8888f67843f40fa8bc9efe32a39bd02'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_0f007072-a8dd-4798-b865-1bf9363be627'))
(rdflib.term.BNode('N607b1c335401415da79f95196fce8dd5'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('https://w3id.org/emmo/domain/chemicalsubstance#substance_d53259a7_0d9c_48b9_a6c1_4418169df303'))
(rdflib.term.BNode('Nd522762dfe0c4e7aa318d88f5435c081'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_faf79f53_749d_40b2_807c_d34244c192f4'), rdflib.term.Literal('3.2', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#double')))
(rdflib.term.BNode('N1fe8535096ed436e92cc736bb203262f'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('https://w3id.org/emmo/domain/chemicalsubstance#substance_aa8e9cc4_5f66_4307_b1c8_26fac7653a90'))
(rdflib.term.BNode('N1fa58317b5c04a40bdc836b0e29a051d'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_e1097637_70d2_4895_973f_2396f04fa204'), rdflib.term.BNode('Nf303668168c149ee9db9d3c1f077f92f'))
(rdflib.term.BNode('Nf303668168c149ee9db9d3c1f077f92f'), rdflib.term.URIRef('http://emmo.info/emmo#EMMO_8ef3cd6d_ae58_4a8d_9fc0_ad8f49015cd0'), rdflib.term.BNode('Nd522762dfe0c4e7aa318d88f5435c081'))
(rdflib.term.BNode('N345c98843d9f46c89e490dbf667eacc6'), rdflib.term.URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_94497aca_52a0_48e3_9b76_157b050e35b3'))
(rdflib.term.BNode('Ne6858b3f64a9483f925ccd464076ab04'), rdflib.term.URIRef('https://schema.org/manufacturer'), rdflib.term.URIRef('https://www.wikidata.org/wiki/Q3041255'))
(rdflib.term.BNode('Ndeb892b2acee4a638d8f785513faa6d7'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_860aa941_5ff9_4452_8a16_7856fad07bee'), rdflib.term.BNode('Nc84b874ca480485c82214ff777e4d5b0'))
(rdflib.term.BNode('N1fa58317b5c04a40bdc836b0e29a051d'), rdflib.term.URIRef('http://emmo.info/electrochemistry#electrochemistry_5d299271_3f68_494f_ab96_3db9acdd3138'), rdflib.term.BNode('N318dda34a11b4390946ce22a6278c83c'))

You can see that our human-readable JSON-LD file has been transformed into some nasty looking (but machine-readable!) triples.

Query the Graph to select instances with certain properties [Advanced]#

Now, let’s write a SPARQL query to return the names of cells that have a nominal voltage greater than 3.5 V?

[51]:
# Fetch the context
context_url = 'https://raw.githubusercontent.com/emmo-repo/domain-battery/master/context.json'
response = requests.get(context_url)
context_data = response.json()

# Look for the relevant IRIs in the context
BatteryCell_iri = context_data.get('@context', {}).get('BatteryCell')
NominalVoltage_iri = context_data.get('@context', {}).get('NominalVoltage')
hasProperty_iri = context_data.get('@context', {}).get('hasProperty').get('@id')
hasNumericalPart_iri = context_data.get('@context', {}).get('hasNumericalPart').get('@id')
hasNumericalValue_iri = context_data.get('@context', {}).get('hasNumericalValue')
hasMeasurementUnit_iri = context_data.get('@context', {}).get('hasMeasurementUnit').get('@id')

query = f"""
PREFIX schema: <https://schema.org/>
PREFIX emmo: <http://emmo.info/emmo#>

SELECT ?cellName WHERE {{
    ?cell a <{BatteryCell_iri}>;
          schema:name ?cellName;
          <{hasProperty_iri}> ?property.

    ?property a <{NominalVoltage_iri}>;
              <{hasNumericalPart_iri}> ?numericalPart.

    ?numericalPart <{hasNumericalValue_iri}> ?voltage.

    FILTER (?voltage > 3.5)
}}
"""

# Execute the SPARQL query
results = g.query(query)

# Print the results
for row in results:
    print(row)

(rdflib.term.Literal('My LNO-Graphite R2032 Coin Cell'),)

Fetch additional information from other sources [Advanced]#

Ontologies contain a lot of information about the meaning of things, but they don’t always contain an exhaustive list of all the properties. Instead, they often point to other sources where that information exists rather than duplicating it. Let’s see how you can use the ontology to fetch additional information from other sources.

[52]:
# Parse the ontology into the knowledge graph
ontology = "https://raw.githubusercontent.com/emmo-repo/domain-electrochemistry/master/electrochemistry-inferred.ttl"
g.parse(ontology, format='turtle')

# Fetch the context
context_url = 'https://raw.githubusercontent.com/emmo-repo/domain-battery/master/context.json'
response = requests.get(context_url)
context_data = response.json()

# Look for the IRI of LithiumNickelOxide in the context
LithiumNickelOxide_iri = context_data.get('@context', {}).get('LithiumNickelOxide')
wikidata_iri = context_data.get('@context', {}).get('wikidataReference')

# Query the ontology to find the wikidata id for LithiumNickelOxide
query = """
SELECT ?wikidataId
WHERE {
    <%s> <%s> ?wikidataId .
}
""" % (LithiumNickelOxide_iri, wikidata_iri)

qres = g.query(query)
for row in qres:
    wikidata_id = row.wikidataId.split('/')[-1]

print(f"The PubChem ID of Lithiun Nickel Oxide is: {wikidata_id}")
The PubChem ID of Lithiun Nickel Oxide is: Q81988484

Finally, let’s retireve more information about Lithium Nickel Oxide from Wikidata and PubChem

[53]:
# Query the Wikidata knowledge graph for more information
wikidata_endpoint = "https://query.wikidata.org/sparql"

# SPARQL query to get the PubChem ID
query = """
SELECT ?id WHERE {
  wd:%s wdt:P662 ?id .
}
""" % wikidata_id

# Execute the request
response = requests.get(wikidata_endpoint, params={'query': query, 'format': 'json'})
data = response.json()

# Extract and display the PubChem ID
if data['results']['bindings']:
    PubChemId = data['results']['bindings'][0]['id']['value']
    print(f"The PubChem ID for a LithiumNickelOxide cell: {PubChemId}")

else:
    print("None found.")
The PubChem ID for a LithiumNickelOxide cell: 138395181
[54]:
def get_pubchem_compound_data(cid):
    base_url = "https://pubchem.ncbi.nlm.nih.gov/rest/pug"
    compound_url = f"{base_url}/compound/cid/{cid}/JSON"
    response = requests.get(compound_url)
    if response.status_code == 200:
        return response.json()
    else:
        return None

# Fetch data for the compound with CID 138395181
compound_data = get_pubchem_compound_data(PubChemId)
if compound_data:
    pretty_json = json.dumps(compound_data, indent=4)  # Pretty-print the JSON data
    print(pretty_json)
else:
    print("Data not found or error in API request.")
{
    "PC_Compounds": [
        {
            "id": {
                "id": {
                    "cid": 138395181
                }
            },
            "atoms": {
                "aid": [
                    1,
                    2,
                    3,
                    4
                ],
                "element": [
                    28,
                    8,
                    8,
                    3
                ],
                "charge": [
                    {
                        "aid": 1,
                        "value": 2
                    },
                    {
                        "aid": 2,
                        "value": -2
                    },
                    {
                        "aid": 3,
                        "value": -2
                    },
                    {
                        "aid": 4,
                        "value": 1
                    }
                ]
            },
            "coords": [
                {
                    "type": [
                        1,
                        5,
                        255
                    ],
                    "aid": [
                        1,
                        2,
                        3,
                        4
                    ],
                    "conformers": [
                        {
                            "x": [
                                3.732,
                                2.866,
                                4.5981,
                                2
                            ],
                            "y": [
                                0.25,
                                -0.25,
                                -0.25,
                                0.25
                            ]
                        }
                    ]
                }
            ],
            "charge": -1,
            "props": [
                {
                    "urn": {
                        "label": "Compound",
                        "name": "Canonicalized",
                        "datatype": 5,
                        "release": "2019.04.19"
                    },
                    "value": {
                        "ival": 1
                    }
                },
                {
                    "urn": {
                        "label": "Compound Complexity",
                        "datatype": 7,
                        "implementation": "E_COMPLEXITY",
                        "version": "3.4.6.11",
                        "software": "Cactvs",
                        "source": "xemistry.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "fval": 0
                    }
                },
                {
                    "urn": {
                        "label": "Count",
                        "name": "Hydrogen Bond Acceptor",
                        "datatype": 5,
                        "implementation": "E_NHACCEPTORS",
                        "version": "3.4.6.11",
                        "software": "Cactvs",
                        "source": "xemistry.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "ival": 2
                    }
                },
                {
                    "urn": {
                        "label": "Count",
                        "name": "Hydrogen Bond Donor",
                        "datatype": 5,
                        "implementation": "E_NHDONORS",
                        "version": "3.4.6.11",
                        "software": "Cactvs",
                        "source": "xemistry.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "ival": 0
                    }
                },
                {
                    "urn": {
                        "label": "Count",
                        "name": "Rotatable Bond",
                        "datatype": 5,
                        "implementation": "E_NROTBONDS",
                        "version": "3.4.6.11",
                        "software": "Cactvs",
                        "source": "xemistry.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "ival": 0
                    }
                },
                {
                    "urn": {
                        "label": "Fingerprint",
                        "name": "SubStructure Keys",
                        "datatype": 16,
                        "parameters": "extended 2",
                        "implementation": "E_SCREEN",
                        "version": "3.4.6.11",
                        "software": "Cactvs",
                        "source": "xemistry.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "binary": "00000371080030000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
                    }
                },
                {
                    "urn": {
                        "label": "IUPAC Name",
                        "name": "Allowed",
                        "datatype": 1,
                        "version": "2.6.6",
                        "software": "LexiChem",
                        "source": "openeye.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "lithium;nickelous;oxygen(2-)"
                    }
                },
                {
                    "urn": {
                        "label": "IUPAC Name",
                        "name": "CAS-like Style",
                        "datatype": 1,
                        "version": "2.6.6",
                        "software": "LexiChem",
                        "source": "openeye.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "lithium;nickel(2+);oxygen(2-)"
                    }
                },
                {
                    "urn": {
                        "label": "IUPAC Name",
                        "name": "Markup",
                        "datatype": 1,
                        "version": "2.6.6",
                        "software": "LexiChem",
                        "source": "openeye.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "lithium;nickel(2+);oxygen(2-)"
                    }
                },
                {
                    "urn": {
                        "label": "IUPAC Name",
                        "name": "Preferred",
                        "datatype": 1,
                        "version": "2.6.6",
                        "software": "LexiChem",
                        "source": "openeye.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "lithium;nickel(2+);oxygen(2-)"
                    }
                },
                {
                    "urn": {
                        "label": "IUPAC Name",
                        "name": "Systematic",
                        "datatype": 1,
                        "version": "2.6.6",
                        "software": "LexiChem",
                        "source": "openeye.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "lithium;nickel(2+);oxygen(2-)"
                    }
                },
                {
                    "urn": {
                        "label": "IUPAC Name",
                        "name": "Traditional",
                        "datatype": 1,
                        "version": "2.6.6",
                        "software": "LexiChem",
                        "source": "openeye.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "lithium;nickelous;oxygen(2-)"
                    }
                },
                {
                    "urn": {
                        "label": "InChI",
                        "name": "Standard",
                        "datatype": 1,
                        "version": "1.0.5",
                        "software": "InChI",
                        "source": "iupac.org",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "InChI=1S/Li.Ni.2O/q+1;+2;2*-2"
                    }
                },
                {
                    "urn": {
                        "label": "InChIKey",
                        "name": "Standard",
                        "datatype": 1,
                        "version": "1.0.5",
                        "software": "InChI",
                        "source": "iupac.org",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "FDVOICKSQXHDAQ-UHFFFAOYSA-N"
                    }
                },
                {
                    "urn": {
                        "label": "Mass",
                        "name": "Exact",
                        "datatype": 1,
                        "version": "2.1",
                        "software": "PubChem",
                        "source": "ncbi.nlm.nih.gov",
                        "release": "2021.05.07"
                    },
                    "value": {
                        "sval": "96.941174"
                    }
                },
                {
                    "urn": {
                        "label": "Molecular Formula",
                        "datatype": 1,
                        "version": "2.1",
                        "software": "PubChem",
                        "source": "ncbi.nlm.nih.gov",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "LiNiO2-"
                    }
                },
                {
                    "urn": {
                        "label": "Molecular Weight",
                        "datatype": 1,
                        "version": "2.1",
                        "software": "PubChem",
                        "source": "ncbi.nlm.nih.gov",
                        "release": "2021.05.07"
                    },
                    "value": {
                        "sval": "97.7"
                    }
                },
                {
                    "urn": {
                        "label": "SMILES",
                        "name": "Canonical",
                        "datatype": 1,
                        "version": "2.1.5",
                        "software": "OEChem",
                        "source": "openeye.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "[Li+].[O-2].[O-2].[Ni+2]"
                    }
                },
                {
                    "urn": {
                        "label": "SMILES",
                        "name": "Isomeric",
                        "datatype": 1,
                        "version": "2.1.5",
                        "software": "OEChem",
                        "source": "openeye.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "sval": "[Li+].[O-2].[O-2].[Ni+2]"
                    }
                },
                {
                    "urn": {
                        "label": "Topological",
                        "name": "Polar Surface Area",
                        "datatype": 7,
                        "implementation": "E_TPSA",
                        "version": "3.4.6.11",
                        "software": "Cactvs",
                        "source": "xemistry.com",
                        "release": "2019.06.18"
                    },
                    "value": {
                        "fval": 2
                    }
                },
                {
                    "urn": {
                        "label": "Weight",
                        "name": "MonoIsotopic",
                        "datatype": 1,
                        "version": "2.1",
                        "software": "PubChem",
                        "source": "ncbi.nlm.nih.gov",
                        "release": "2021.05.07"
                    },
                    "value": {
                        "sval": "96.941174"
                    }
                }
            ],
            "count": {
                "heavy_atom": 4,
                "atom_chiral": 0,
                "atom_chiral_def": 0,
                "atom_chiral_undef": 0,
                "bond_chiral": 0,
                "bond_chiral_def": 0,
                "bond_chiral_undef": 0,
                "isotope_atom": 0,
                "covalent_unit": 4,
                "tautomers": -1
            }
        }
    ]
}