130 likes | 297 Views
Agenda. EKB Architecture Overview Model Interchange Services Applications SVN. EKB. openAnzo OSGI components. EKB Architecture Overview. Semantic Media Wiki. SVN. Linked Open Data. Applications. Acquisition. Model Interchange Services. Model Interchange Services. Overview
E N D
Agenda • EKB Architecture Overview • Model Interchange Services • Applications • SVN
EKB openAnzo OSGI components EKB Architecture Overview Semantic Media Wiki SVN Linked Open Data Applications Acquisition Model Interchange Services
Model Interchange Services • Overview • Tool/EMF Interchange • EMF/OWL Isomorphic Transform
EKB openAnzo OSGI components Model Interchange Services isomorphic localization • Tool • Specific • Formats • mdzip • eap/sparx • omg xmi • ProVision • etc. • EMF • uml • ecore • cmof • bpmn • xsd • wsdl • jee • etc. OWL isomorphic
Tool/EMF Interchange Examples *.mdzip EMF/UML Magic Draw XMI Export Utility OMG XMI EMF • XSLT: • namespace changes, • extension removal, • Cross-reference validation+fix-up, • Structural and naming fix-up, • etc. tweaks
EMF/OWL Isomorphic TransformEMF (Reflective) Concepts eContainingClass etype ResourceSet EClass EStructuralFeature EClassifier EClass EDataType eSuperTypes resources instanceClass eClass EMF Resource EObject eGet(EStructuralFeature) Object contains EObject (Primitive)
EMF/OWL Isomorphic TransformRDF (Reflective) Concepts rdfs:domain rdfs:range DataSet rdfs:Class rdf:Property rdfs:Class rdfs:Datatype rdfs:subClassOf contains rdf:type rdf:type Named Graph Subject (rdfs:Resource) predicate Object (rdfs:Resource) contains rdfs:Literal
Applications • Overview • Provisioning • SPARQL
EKB openAnzo OSGI components Applications Overview Semantic Media Wiki SPARQL endpoint DRM Model Browser Model Interchange Provision Provision UI Artifact On demand 10000’s pages
Provisioning Overview EKB <xsl:variable name="metamodels" select="$resources/*[fn:count(eClassifiers)>0 and @nsPrefix!='Ecore']"> Evaluation context Provisioned Target Artifacts Binding specification Template Selection Templates Detail navigation render • #foreach($ePackage in ${resource.contents}) • #if(${utility.instanceOf(${ePackage},'EPackage')}) • #if(${ePackage.nsPrefix})[[Category:${ePackage.nsPrefix}]] #end • #end • #end
SPARQL Endpoint Summary • See http://www.w3.org/TR/rdf-sparql-protocol/ • http://ekb.modeldriven.org/modelPro/modelBrowser/sparql?query=... • Extensions: • named-dataset-uri (collection of named datasets, from anzo) • Additional “Accept” formats for html,excel,pdf • And format as in http://www.w3.org/TR/2005/WD-rdf-sparql-query-20050419/
EKB openAnzo OSGI components SVN Semantic Media Wiki commit SVN Post- commit trigger Post- EKB trigger Model Interchange Services emf owl tool disposition Acquisition
EKB openAnzo OSGI components END Semantic Media Wiki SVN Linked Open Data Applications Acquisition Model Interchange Services