Skip to content

Latest commit

 

History

History
85 lines (68 loc) · 3.56 KB

README.md

File metadata and controls

85 lines (68 loc) · 3.56 KB

Examples

JSON-LD Macros example

https://miranda-zhang.github.io/cloud-computing-schema/json-ld-macros/gcloud.html

Created with https://github.com/ariutta/json-ld-macros, see source code.

Mapping data to ontology

Workflow

List of Cloud Service Examples:

  1. Google Cloud Compute Service
  2. Microsoft Azure Compute Service
  3. Google Cloud Storage
  4. Google Cloud OS images
  5. Microsoft Azure Storage
  6. Google Cloud Network Service

Link Regions with GeoNames Ontology

How regions from each Cloud provider are linked to GeoNames are exlained in:

  1. Google Cloud Region
  2. Microsoft Azure Cloud Region

Units of Measure

We have considered the following options, but non can support all units we need. So we used vocabularies from QUDT in our schema, and used available CDT units in our datasets.

  1. QUDT Unit ontology: CoCoOn defined additional units are compatible with QUDT 1.1.
  2. cdt:ucum has powerful features, it could be a future work to implement our Custom Datatypes with this framework.
  3. Schema.org used UN/CEFACT Common Codes for Units of Measurement. Appart from not having the units we need, there is no support for unit conversion like CDT.

Network QoS

Used http://cloudharmony.com to collect data, details explained in cloudharmony.

SPARQL

Queries can be tested with:

  1. Protégé for small data size.
  2. Stardog for large data.

Default Example:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?subject ?object
WHERE { ?subject rdfs:subClassOf ?object }

SPARQL Documentation.

Stardog dump combined all v1.0.1 data sets.

Examples with the following keywords:

  1. SELECT FILTER ORDER BY LIMIT
  2. DISTINCT
  3. ORDER BY ASC
  4. COUNT Nested query VALUES

Additional external examples https://www.w3.org/2009/Talks/0615-qbe/

Protege

Issues

  1. Increase heap size of Protégé with java options: Change -Xmx1500M in run.bat.
  2. Sparql tab not shown anything: open tab before open ontology.

Stardog

https://www.stardog.com/docs/#_windows

Verify that the 64-bit version of Java V1.6 or later is installed java -d64

SET PATH=%PATH%;C:\Users\admin-u5214628\Documents\programs\stardog-6.1.3\bin
stardog-admin.bat server start

https://www.stardog.com/docs/man/data-export

stardog data export --named-graph ALL -- v1_0_1 export.ttl

Gephi

Gephi can be used for data visulization, but need to write custom scripts for changing data formats.

  1. gephi/gephi#1218
  2. gephi/gephi#1478 (comment)
  3. https://stackoverflow.com/questions/42121080/gephi-preview-export-pdf-cuts-off-label-at-left-and-right-margin