Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Ralph Hodgson,
QUDT http://www.qudt.org
Quantites, Units, Dimensions and Types
Release of some NASA Foundation Models
hasUnits
Parameter Unit
hasDatatype
Parameter DataType
+ cev:ORION
cev:ORION
rdf:type
sys:subsystem
nasa:Vehicle;
cx:GNCS
Rules Rules
XMI Import XMI Import
Properties +
C3I* LCS*
Test &
MS
Eval GS
Maintain
Upgrade
System
Manufacture Lifecycle
Cx Data Arch
model Lessons
Learned
Cos Ris
NExIOM
Perf
t k *
2/9/2010 INCOSE Feb 2010 MBSE Workshop 11
Capability Case: Ontology-Driven PLM
– NASA Lifecycle Ontology Example
An Ontology has a
Namespace
Graphs contribute
to one or more
Ontologies
SPARQL
Engine
Association
sysml:Block
a owl:Class ;
rdfs:label "Block"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[a owl:Restriction ;
owl:allValuesFrom sysmo:Connector ;
owl:onProperty sysmo:connector
];
….
<owl:Class rdf:about="http://www.sysmo.org/mbse/system/sysml.owl#Block">
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Block</rdfs:label>
<rdfs:subClassOf>
<owl:Restriction>
<owl:allValuesFrom
rdf:resource="http://www.sysmo.org/mbse/system/sysmo.owl#Connector"/>
<owl:onProperty
rdf:resource="http://www.sysmo.org/mbse/system/sysmo.owl#connector"/>
</owl:Restriction>
….
Ontology
Imports relation
Temporal QUDT
Organization
Domain
Discipline
Specificity
Data-Name Identifier Description Definition Symbol (Units) Units Data-Name Identifier Description Units
ForceX Fx = F ڄex ML/T2
ForceY Fy = F ڄey ML/T2
Potential Potential φ = q L2/T SI
ForceZ Fz = F ڄez ML/T2
StreamFunction Stream function (2-D) × ψ= q L2/T SI
ForceR Fr = F ڄer ML/T2
Density Static density (ρ) M/L3 SI
ForceTheta Fθ = F ڄeθ ML/T2
Pressure Static pressure (p) M/(LT2) SI ForcePhi Fφ = F ڄeφ ML/T2
Temperature Static temperature (T) Θ SI
Static internal energy per unit Lift L or L' ML/T2
EnergyInternal
mass (e) L2/T2 SI
Drag D or D' ML/T2
Enthalpy Static enthalpy per unit mass (h) L2/T2 SI
Entropy
MomentX Mx = M ڄex ML2/T
Entropy (s) ML2/(T2Θ) SI
EntropyApprox MomentY My = M ڄey ML2/T
Approximate entropy (sapp = p / ργ) (L(3γ-1))/((M(γ-1)).T2) SI
MomentZ Mz = M ڄez ML2/T
DensityStagnation Stagnation density (ρ0) M/L3 SI MomentR Mr = M ڄer ML2/T
PressureStagnation Stagnation pressure (p0) M/(LT2) SI MomentTheta Mθ = M ڄeθ ML2/T
TemperatureStagnation Stagnation temperature (T0) Θ SI MomentPhi Mφ = M ڄeφ ML2/T
EnergyStagnation Stagnation energy per unit mass (e0) L2/T2 SI MomentXi Mξ = M ڄeξ ML2/T
EnthalpyStagnation Stagnation enthalpy per unit mass (h0) L2/T2 SI MomentEta Mη = M ڄeη ML2/T
EnergyStagnationDensity Stagnation energy per unit volume (ρe0) M/(LT2) SI MomentZeta Mζ = r ڄeζ ML2/T
Slide 30
Quantities and Units – Partitioning by
Discipline
QUD Classes
Unit Instances
32
QUDT: Time Series Array
Root for all Structured Root for all Structured Data Types
Data Instances
33
Example of Orion XML – Parameters
<orion:ORION rdf:ID="orion:ORION">
<orion:Property cx:cxCUI="TBD"
cx:cxFUI="orion:ORN.Acceleration_0"
cx:cxCUI="TBD“
data:type="type:FLOAT-DP"
rdf:ID="orion:ORN.Acceleration_0“
rdf:type="vehicle:Acceleration" sysml:propertyType="property:Acceleration"
units:units="units:MeterPerSecondSquared"/>
GRDDL XSLT
Going from XML to OWL Generator
XSLT
Processor
2/9/2010 INCOSE Feb 2010 MBSE Workshop 35
XML SchemaPlus – a language for
specifying XML Document Structure
<?xml version="1.0" encoding="UTF-8"?>
<SchemaPlus xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:noNamespaceSchemaLocation=“SchemaPlus.xsd">
<RootElement name="TrainingExample"/>
<ScalarElement name="SimulationTitle"></ScalarElement>
<ReferenceElement name="Unit"></ReferenceElement>
<NestedElement
name="scenario“ type="ScenarioType">
</NestedElement>
<ObjectType name="ScenarioType">
<Attribute name=“provenance”></Attribute>
<CollectionElement
name="simulationConfigurationParameter"
type="SimulationConfigurationParameterType">
</CollectionElement>
</ObjectType>
</SchemaPlus>
Community Of Practice - 2
Community Of Practice - 1
Subsystem Team 4
Subsystem Team 3
Subsystem Team 2
Subsystem Team 1
Aggregate
Results
• Model-Based Specifications
– Schemas and Controlled Vocabularies
• Data Interoperability
• Generative Documentation
• Registries
• Metadata Management
• Semantic SOA
• Ontology-Driven Systems
• Second Generation SysML tooling
2/9/2010 INCOSE Feb 2010 MBSE Workshop 40
Concluding Remarks
• Ontologies can be used for specifications as well as
inferencing
• Ontology Architecture and Namespace management are
key to success
• OWL + Rules (SPIN) provides expressive support for
knowledge modeling, transformations and documentation
• OWL can interoperate using XML technologies through the
use of XML SchemaPlus and controlled vocabularies
• Data Quality requires compliance to Naming and Identifier
Rules
• Other presentations at http://www.scribd.com/ralphtq
Ralph Hodgson
E-mail: rhodgson at topquadrant.com,
Ralph.Hodgson at nasa.gov
http://twitter.com/ralphtq
http://www.scribd.com/ralphtq
Semantic XML
Composite Pattern