Category:OSW74bf728019bd4cc3a8a0833bd54f5338: Difference between revisions

update refs
(update schema)
Tag: Metadata slot edit
(update refs)
Tag: 2017 source edit
Line 1: Line 1:
=== Get an instance ===
=== Get an instance ===
==== Existing Instances ====
==== Existing Instances ====
{{#ask: [[HasType::Category:OSW54f58fe92b2148a3904e5fb0f5c1e81a]]
{{#ask: [[HasType::Category:OSW74bf728019bd4cc3a8a0833bd54f5338]]
|?IsRelatedTo=Battery Pack
|?IsRelatedTo=Battery Pack
<!-- |?HasCharacteristic# - =Characteristic|+ template = Viewer/QuantityValue
<!-- |?HasCharacteristic# - =Characteristic|+ template = Viewer/QuantityValue
Line 13: Line 13:
===== Web-API =====
===== Web-API =====
<syntaxhighlight lang="http">
<syntaxhighlight lang="http">
https://demo.open-semantic-lab.org/w/api.php?action=ask&query=[[HasType::Category:OSW54f58fe92b2148a3904e5fb0f5c1e81a]]&format=json
https://demo.open-semantic-lab.org/w/api.php?action=ask&query=[[HasType::Category:OSW74bf728019bd4cc3a8a0833bd54f5338]]&format=json
</syntaxhighlight>
</syntaxhighlight>


Line 20: Line 20:
===== Web-API =====
===== Web-API =====
<syntaxhighlight lang="http">
<syntaxhighlight lang="http">
https://demo.open-semantic-lab.org/w/api.php?action=ask&query=[[HasType::Category:OSW54f58fe92b2148a3904e5fb0f5c1e81a]][[IsRelatedTo::Item:OSWf96a0291a1a04a71b89dc3c80628e45c]]&format=json
https://demo.open-semantic-lab.org/w/api.php?action=ask&query=[[HasType::Category:OSW74bf728019bd4cc3a8a0833bd54f5338]][[IsRelatedTo::Item:OSWa814710d43c943a1ac5619f65043fcdc]]&format=json
</syntaxhighlight>
</syntaxhighlight>


Line 26: Line 26:
<syntaxhighlight lang="sparql">
<syntaxhighlight lang="sparql">
SELECT DISTINCT ?passport
SELECT DISTINCT ?passport
WHERE { ?passport a <https://demo.open-semantic-lab.org/id/Category-3AOSW54f58fe92b2148a3904e5fb0f5c1e81a> .
WHERE { ?passport a <https://demo.open-semantic-lab.org/id/Category-3AOSW74bf728019bd4cc3a8a0833bd54f5338> .
         ?passport <https://demo.open-semantic-lab.org/id/Property-3AIsRelatedTo> <https://demo.open-semantic-lab.org/id/Item-3AOSW07ab9439598d4866a57a8cb60e2726ea> . }
         ?passport <https://demo.open-semantic-lab.org/id/Property-3AIsRelatedTo> <https://demo.open-semantic-lab.org/id/Item-3AOSWa814710d43c943a1ac5619f65043fcdc> . }
</syntaxhighlight>{{Template:Viewer/Link|page=|url=https://sparklis.demo.open-semantic-lab.org/?title=OpenSemanticLab%20Demo%20Graph&endpoint=https%3A//graph.demo.open-semantic-lab.org/blazegraph/namespace/kb/sparql&sparklis-query=%5BVId%5DReturn%28Det%28An%281%2CModif%28Select%2CUnordered%29%2CClass%28%22https%3A//demo.open-semantic-lab.org/id/Category-3AOSW54f58fe92b2148a3904e5fb0f5c1e81a%22%29%29%2CNone%29%29&sparklis-path=D&entity_lexicon_select=http%3A//www.w3.org/2000/01/rdf-schema%23label&concept_lexicons_select=http%3A//www.w3.org/2000/01/rdf-schema%23label|label=Sparklis}}
</syntaxhighlight>{{Template:Viewer/Link|page=|url=https://sparklis.demo.open-semantic-lab.org/?title=OpenSemanticLab%20Demo%20Graph&endpoint=https%3A//graph.demo.open-semantic-lab.org/blazegraph/namespace/kb/sparql&sparklis-query=%5BVId%5DReturn%28Det%28An%281%2CModif%28Select%2CUnordered%29%2CClass%28%22https%3A//demo.open-semantic-lab.org/id/Category-3AOSW74bf728019bd4cc3a8a0833bd54f5338%22%29%29%2CNone%29%29&sparklis-path=D&entity_lexicon_select=http%3A//www.w3.org/2000/01/rdf-schema%23label&concept_lexicons_select=http%3A//www.w3.org/2000/01/rdf-schema%23label|label=Sparklis}}


==== Get data of a passport instance as JSON ====
==== Get data of a passport instance as JSON ====
Reference: {{Template:Viewer/Link|page=|url=https://github.com/eclipse-tractusx/sldt-semantic-models/blob/main/io.catenax.battery.battery_pass/3.0.1/gen/BatteryPass.json|label=io.catenax.battery.battery_pass v3.0.1 BatteryPass.json}}
Reference: {{Template:Viewer/Link|page=|url=https://github.com/eclipse-tractusx/sldt-semantic-models/blob/main/io.catenax.battery.battery_pass/6.0.0/gen/BatteryPass.json|label=io.catenax.battery.battery_pass v6.0.0 BatteryPass.json}}


===== Web-API =====
===== Web-API =====
<syntaxhighlight lang="http">
<syntaxhighlight lang="http">
# Single slot
# Single slot
https://demo.open-semantic-lab.org/wiki/Item:OSWff8ab0e2075040d4939ac9313a997904?action=raw&slot=jsondata
https://demo.open-semantic-lab.org/wiki/Item:OSWa814710d43c943a1ac5619f65043fcdc?action=raw&slot=jsondata
# Single Passport
# Single Passport
https://wiki-dev.open-semantic-lab.org/w/api.php?action=query&format=json&prop=info|revisions&meta=&formatversion=2&inprop=&rvprop=ids|timestamp|flags|comment|user|contentmodel|roles|content&titles=Item:OSWf96a0291a1a04a71b89dc3c80628e45c&rvslots=jsondata
https://wiki-dev.open-semantic-lab.org/w/api.php?action=query&format=json&prop=info|revisions&meta=&formatversion=2&inprop=&rvprop=ids|timestamp|flags|comment|user|contentmodel|roles|content&titles=Item:OSWa814710d43c943a1ac5619f65043fcdc&rvslots=jsondata
# Multiple Passports separated with '|'
# Multiple Passports separated with '|'
https://demo.open-semantic-lab.org/w/api.php?action=query&format=json&prop=revisions&titles=Item:OSWf96a0291a1a04a71b89dc3c80628e45c|Item:OSW50e8386b7d704903985570678745bf7b|Item:OSW5f9224e2265e4215bfa73fc5e82eb25c&rvprop=ids|timestamp|flags|comment|user|content|sha1|slotsha1&rvslots=jsondata
https://demo.open-semantic-lab.org/w/api.php?action=query&format=json&prop=revisions&titles=Item:OSWa814710d43c943a1ac5619f65043fcdc|Item:OSW5ed635e813354118badc79c2fcb66913|Item:OSW45886bd81a344dc1af92deb5935091ae&rvprop=ids|timestamp|flags|comment|user|content|sha1|slotsha1&rvslots=jsondata


</syntaxhighlight>Result (within <code>query.pages.<id>.revisions.0.slots.jsondata.*</code>)<syntaxhighlight lang="json">
</syntaxhighlight>Result (within <code>query.pages.<id>.revisions.0.slots.jsondata.*</code>)<syntaxhighlight lang="json">
{
{
   "manufacturer": {
   "identification": {
     "name": "Fraunhofer ISC",
     "category": "EV",
     "contact": {
    "idDmc": "123",
       "email": "simon.stier@isc.fraunhofer.de"
    "chemistry": "Li",
     "identification": {
      "type": {
        "manufacturerPartId": "123123",
        "nameAtManufacturer": "cellTypeA"
      },
      "codes": [],
       "dataCarrier": {
        "carrierType": "QR Code",
        "carrierLayout": ""
      },
      "classification": []
    }
  },
  "operation": {
    "manufacturer": {
      "facility": [],
      "manufacturer": "BPNL123456789101"
     },
     },
     "address": {
     "intoServiceDate": "2024-01-01"
      "thoroughfare": {
  },
        "technicalKey": "STREET",
  "characteristics": {
         "value": "Neunerplatz",
    "warranty": {
         "number": "2"
      "lifeValue": 3,
      "lifeUnit": "unit:year"
    },
    "physicalDimension": {
      "weight": {
         "value": 1,
         "unit": "unit:kilogram"
       },
       },
       "locality": {
       "height": {
         "technicalKey": "CITY",
         "value": 10,
         "value": "Würzburg"
         "unit": "unit:centimetre"
       },
       },
       "country": {
       "length": {
         "shortName": "DE"
         "value": 30,
        "unit": "unit:centimetre"
       },
       },
       "postCode": {
       "width": {
         "value": "97082",
         "value": 10,
         "technicalKey": "CEDEX"
         "unit": "unit:centimetre"
       }
       }
     }
     }
   },
   },
   "electrochemicalProperties": {
   "sustainability": {
     "batteryPower": {
     "documents": {
       "maximumAllowedBatteryPower": 0,
       "separateCollection": [
      "powerFade": 0,
        {
      "powerCapabilityAt20Charge": 0,
          "content": "",
      "powerCapabilityAt80Charge": 0,
          "contentType": "",
       "originalPowerCapability": 0,
          "header": ""
       "originalPowerCapabilityLimits": 0
        }
       ],
       "wastePrevention": []
     },
     },
     "batteryVoltage": {
     "carbonFootprint": [
       "minVoltage": 3.6,
      {
       "nominalVoltage": 3.7,
        "value": 500,
       "maxVoltage": 4.2
        "rulebook": [],
        "lifecycle": "",
        "unit": "kg/kg",
        "type": "Climate Change Total",
        "manufacturingPlant": [],
        "declaration": []
      }
    ],
    "status": "original"
  },
  "materials": {
    "active": {
       "nickel": {
        "location": "Cathode",
        "recycled": 0.1,
        "documentation": [],
        "critical": true
       },
      "lithium": {
        "location": "Cathode",
        "recycled": 0,
        "documentation": [],
        "critical": true
      },
       "cobalt": {
        "location": "Cathode",
        "recycled": 0.2,
        "documentation": [],
        "critical": true
      },
      "lead": {
        "impactOfSubstances": [],
        "critical": false,
        "documentation": [],
        "recycled": 0,
        "location": "Cathode",
        "concentration": 3,
        "materialUnit": "unit:partPerMillion"
      }
     },
     },
     "ratedCapacity": 10,
     "hazardous": {
    "capacityFade": 0,
      "cadmium": {
    "internalResistance": {
        "impactOfSubstances": [],
      "cellInternalResistance": 0,
        "concentration": 2,
      "packInternalResistance": 0,
        "location": "Cathode",
      "packInternalResistanceIncrease": 0
        "materialUnit": "unit:partPerMillion",
        "critical": false,
        "documentation": []
      },
      "mercury": {
        "impactOfSubstances": [],
        "concentration": 10,
        "location": "Cathode",
        "materialUnit": "unit:partPerMillion",
        "critical": false,
        "documentation": []
      },
      "lead": {
        "impactOfSubstances": [],
        "critical": false,
        "documentation": [],
        "recycled": 0,
        "location": "",
        "concentration": 0,
        "materialUnit": "unit:partPerMillion"
      }
     },
     },
     "capacityThresholdExhaustion": 0,
     "composition": []
     "batteryEnergy": {
  },
       "maximumAllowedBatteryEnergy": 0,
  "performance": {
       "energyRoundtripEfficiency": 0,
     "rated": {
       "energyRoundtripEfficiencyChange": 0
      "voltage": {
        "min": 3,
        "max": 3.2,
        "nominal": 3.7
      },
      "roundTripEfficiency": {
        "depthOfDischarge": 20,
        "initial": 97,
        "50PercentLife": 85
      },
      "resistance": {
        "cell": 20,
        "pack": 50
      },
      "power": {
        "value": 100,
        "at20SoC": 80,
        "at80SoC": 100
      },
      "capacity": {
        "value": 50,
        "thresholdExhaustion": 40
      },
       "temperature": {
        "lower": -20,
        "upper": 90
      },
       "selfDischargingRate": 2,
       "lifetime": {
        "expectedYears": 5,
        "report": [],
        "cycleLifeTesting": {
          "temperature": 20,
          "cycles": 10000,
          "depthOfDischarge": 20,
          "appliedChargeRate": 1,
          "appliedDischargeRate": 1
        }
      }
     },
     },
     "ratioMaximumAllowedBatteryPowerAndMaximumAllowedBatteryEnergy": 0
     "dynamic": {
  },
      "stateOfCharge": {
  "physicalDimensions": {
        "value": 0,
    "length": 30,
        "time": "2024-01-01T12:00:00"
    "width": 10,
      },
    "height": 10,
      "fullCycles": {
    "diameter": 12.7,
        "time": "2024-01-01T12:00:00",
    "weight": 0.5
        "value": 5000
  },
      },
  "stateOfBattery": {
      "selfDischargingRate": 2,
    "stateOfHealth": 95,
      "power": {
    "stateOfCharge": 70,
        "fade": {
    "statusBattery": ""
          "value": 1,
  },
          "time": "2024-01-01T12:00:00"
  "batteryIdentification": {
        },
    "batteryType": "",
        "remaining": {
    "batteryModel": "",
          "time": "2024-01-01T12:00:00",
    "batteryIDDMCCode": ""
          "value": 1
  },
        }
  "manufacturing": {
      },
    "dateOfManufacturing": "2024-10-16",
      "capacity": {
    "address": {
        "fade": {
      "thoroughfare": {
          "value": 1,
        "technicalKey": "STREET",
          "time": "2024-01-01T12:00:00"
        "value": "Neunerplatz",
        },
         "number": "2"
        "throughput": {
          "time": "2024-01-01T12:00:00",
          "value": 1
        },
        "capacity": {
          "time": "2024-01-01T12:00:00",
          "value": 1
         }
       },
       },
       "locality": {
       "roundTripEfficiency": {
         "technicalKey": "CITY",
         "fade": {
         "value": "Würzburg"
          "value": 95,
          "time": "2024-01-01T12:00:00"
        },
         "remaining": {
          "value": 93,
          "time": "2024-01-01T12:00:00"
        }
       },
       },
       "country": {
       "resistance": {
         "shortName": "DE"
         "increase": {
          "pack": {
            "value": 5,
            "time": "2024-01-01T12:00:00"
          },
          "cell": {
            "value": 2,
            "time": "2024-01-01T12:00:00"
          }
        },
        "remaining": {
          "pack": {
            "time": "2024-01-01T12:00:00",
            "value": 20
          },
          "cell": {
            "time": "2024-01-01T12:00:00",
            "value": 6
          }
        }
       },
       },
       "postCode": {
       "energy": {
         "value": "97082",
         "soce": {
         "technicalKey": "CEDEX"
          "value": 1,
          "time": "2024-01-01T12:00:00"
        },
         "remaining": {
          "time": "2024-01-01T12:00:00",
          "value": 1
        }
       }
       }
     }
     }
   },
   },
   "datePlacedOnMarket": "2024-10-16",
   "conformity": {
  "cellChemistry": {
     "declarationOfConformity": [],
     "cathodeActiveMaterials": [
    "resultOfTestReport": [],
      {
     "thirdPartyAssurance": [],
        "materialName": "LFP",
     "dueDiligencePolicy": []
        "materialPercentageMassFraction": 100
  },
      }
  "safety": {
    ],
    "usableExtinguishAgent": [],
     "recyclateContentActiveMaterials": [],
     "safetyMeasures": [],
     "anodeActiveMaterials": [
     "meaningOfLabels": [],
      {
     "dismantling": []
        "materialName": "Graphite",
        "materialPercentageMassFraction": 100
      }
    ],
     "cathodeCompositionOther": [],
     "anodeCompositionOther": [],
     "electrolyteComposition": []
   },
   },
   "composition": {
   "metadata": {
     "components": {
     "version": "",
      "componentsSupplier": [],
    "expirationDate": "2026-01-01",
      "componentsPartNumber": []
    "issueDate": "2024-01-01",
     },
    "economicOperatorId": "BPNL123456789012",
     "compositionOfBattery": [],
     "passportIdentifier": "a814710d-43c9-43a1-ac56-19f65043fcdc",
     "criticalRawMaterials": "Lithium"
     "predecessor": "00000000-0000-0000-0000-000000000000",
     "backupReference": ""
   },
   },
   "cO2FootprintTotal": 1500,
   "commercial": {
  "temperatureRangeIdleState": {
     "purpose": []
     "temperatureRangeIdleStateLowerLimit": -20,
    "temperatureRangeIdleStateUpperLimit": 100
   },
   },
   "warrantyPeriod": 2,
   "handling": {
  "batteryCycleLife": {
    "content": {
    "cycleLifeTestCRate": 1,
      "producer": [],
    "cycleLifeTestDepthOfDischarge": 20,
      "sparePart": []
     "expectedLifetime": 1000
    },
     "applicable": false
   },
   },
   "type": [
   "type": [
     "Category:OSW54f58fe92b2148a3904e5fb0f5c1e81a"
     "Category:OSW74bf728019bd4cc3a8a0833bd54f5338"
   ],
   ],
   "is_about": "Item:OSW07ab9439598d4866a57a8cb60e2726ea",
   "is_about": "Item:OSW07ab9439598d4866a57a8cb60e2726ea",
   "uuid": "f96a0291-a1a0-4a71-b89d-c3c80628e45c",
   "uuid": "a814710d-43c9-43a1-ac56-19f65043fcdc",
   "label": [
   "label": [
     {
     {
       "text": "Battery Passport v3.0.1 Test 1",
       "text": "Battery Passport v6.0.0 Test 1",
       "lang": "en"
       "lang": "en"
     }
     }
   ],
   ],
   "description": [],
   "description": [],
   "name": "BatteryPassportV301Test1",
   "name": "BatteryPassportV600Test1"
  "document": {
    "safetyMeasures": [
      {
        "fileLocation": "File:OSWa7c96e9cdb2a4936807e4ccc70d15176.pdf",
        "title": ""
      }
    ]
  }
}
}
</syntaxhighlight>
</syntaxhighlight>
Line 205: Line 350:
{{Template:Editor/Graph
{{Template:Editor/Graph
| file_name = Battery Passport graph-01
| file_name = Battery Passport graph-01
| page_name = Category:OSW54f58fe92b2148a3904e5fb0f5c1e81a
| page_name = Category:OSW74bf728019bd4cc3a8a0833bd54f5338
| root = Category:OSW54f58fe92b2148a3904e5fb0f5c1e81a
| root = Category:OSW74bf728019bd4cc3a8a0833bd54f5338
| uuid = c8e947a2-ac0d-494e-a8a0-15a734c298c0
| uuid = c8e947a2-ac0d-494e-a8a0-15a734c298c0
| roots = Category:OSW54f58fe92b2148a3904e5fb0f5c1e81a
| roots = Category:OSW74bf728019bd4cc3a8a0833bd54f5338
| properties = HasProperty; HasCharacteristic; Equivalent_URI, HasCloseMatch
| properties = HasProperty; HasCharacteristic; Equivalent_URI, HasCloseMatch
| ignore_properties = Display_title_of; Display_title_of_lowercase; Display_title_of_normalized; Has_query; HasUuid
| ignore_properties = Display_title_of; Display_title_of_lowercase; Display_title_of_normalized; Has_query; HasUuid