SELECT DISTINCT object FROM {object} rdf:type {maphub:UML2.PackageableElement} USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT object FROM {object} maphub:type {metatype:Property_type} USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#> ,metatype=<http://www.modeldriven.org/2008/ArchitectureOntology/metatype.owl#>
SELECT DISTINCT subject,object FROM {subject} uml:Element.ownedComment {ownedComment} uml:Comment.body {object} USING NAMESPACE uml=<http://www.eclipse.org/uml2/2.1.0/UML#>
SELECT DISTINCT subject,object FROM {subject} uml:appliedStereotypes {} maphub:assertedType {} maphub:assertedType {object} maphub:assertedType {uml:Stereotype} USING NAMESPACE uml=<http://www.eclipse.org/uml2/2.1.0/UML#>, maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {subject} uml:allAppliedStereotypes {} maphub:assertedType {} maphub:assertedType {object} maphub:assertedType {uml:Stereotype} USING NAMESPACE uml=<http://www.eclipse.org/uml2/2.1.0/UML#>, maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {subject} uml:allAppliedStereotypes {appliedStereotype} rdf:type {stereoTypeImpl} rdf:type {object} rdf:type {uml:Stereotype}; rdfs:label {"primitive"} UNION SELECT DISTINCT subject as "object" FROM {subject} rdf:type {}; [metatype:has_supertype {super}] WHERE namespace(subject)=xsd: OR namespace(super)=xsd: USING NAMESPACE uml=<http://www.eclipse.org/uml2/2.1.0/UML#>, maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>, metatype=<http://www.modeldriven.org/2008/ArchitectureOntology/metatype.owl#>
SELECT DISTINCT subject,object FROM {subject} maphub:allSuperClasses {} uml:allAppliedStereotypes {appliedStereotype} maphub:assertedType {stereoTypeImpl} maphub:assertedType {object} maphub:assertedType {uml:Stereotype}; rdfs:label {stereotypeName} WHERE ( stereotypeName="primitive" OR stereotypeName="Port Type" OR stereotypeName="message" OR stereotypeName="failure message" OR stereotypeName="request message" OR stereotypeName="success message" OR stereotypeName="result message" ) UNION SELECT DISTINCT subject as "object" FROM {subject} maphub:allSuperClasses {super} WHERE namespace(super)=xsd: USING NAMESPACE uml=<http://www.eclipse.org/uml2/2.1.0/UML#>, maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {subject} maphub:type {maphub:Node}; maphub:baseComponentType.wire {object} UNION SELECT DISTINCT subject,object FROM {subject} maphub:allRealizedOperation {object} UNION SELECT DISTINCT subject,object FROM {subject} maphub:allUsedOperation {object} UNION SELECT DISTINCT subject,object FROM {subject} maphub:BehavioralFeature.ownedParameter {} maphub:TypedElement.type {object} UNION SELECT DISTINCT subject,object FROM {subject} maphub:baseComponentType.fromURI {} maphub:Element.owner {object} UNION SELECT DISTINCT subject,object FROM {subject} maphub:baseComponentType.toURI {} maphub:Element.owner {object} USING NAMESPACE uml=<http://www.eclipse.org/uml2/2.1.0/UML#>, maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object,name FROM {subject} maphub:Element.ownedElement {nodeProperty} maphub:TypedElement.type {component} maphub:type {maphub:Component}; maphub:Element.ownedElement {port} maphub:TypedElement.type {object} rdfs:label {name}; maphub:Element.allAppliedStereotype {} rdfs:label {"Port Type"} WHERE name LIKE "*Provider" USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>, uml=<http://www.eclipse.org/uml2/2.1.0/UML#>
SELECT DISTINCT subject,object,portTypeName FROM {object} maphub:TypedElement.type {} rdfs:label {portTypeName}; uml:BehavioredClassifier.interfaceRealization {} uml:Dependency.supplier {interface}, {usage} rdf:type {uml:Usage}; uml:Dependency.supplier {interface}; uml:Dependency.client {subject} WHERE portTypeName LIKE "*Consumer" USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>, uml=<http://www.eclipse.org/uml2/2.1.0/UML#>
SELECT DISTINCT subject,object FROM {object} maphub:TypedElement.type {subject} rdfs:label {portTypeName} WHERE portTypeName LIKE "*Provider" USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {subject} maphub:Element.owner {object} maphub:type {maphub:Node} USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {maphub:NOMATCH} maphub:type {maphub:NOMATCH} USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {subject} maphub:Element.ownedElement {object} maphub:type {maphub:Component} USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {subject} maphub:Element.ownedElement {object} maphub:type {maphub:Package} USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {subject} maphub:Element.ownedElement {object} maphub:type {maphub:Class} USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject as "object" USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,"always" as "object"
SELECT DISTINCT subject FROM {subject} maphub:type {maphub:SequenceEdge} USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject FROM {subject} maphub:type {maphub:wire} USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT spoke, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyStart> as "hub",name FROM {spoke} bpmn:Activity.activityType {name} WHERE name = "EventStartEmpty" or name = "EventStartTimer" or name = "EventStartLink" UNION (SELECT DISTINCT spoke, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyState> as "hub",name FROM {spoke} rdf:type {bpmn:Activity};[bpmn:Activity.activityType {name}] WHERE name = "Task" OR NOT BOUND(name) OR name = "EventStartMessage" or name = "EventIntermediateMessage" or name = "EventIntermediateError" or name = "EventEndMessage" or name = "EventEndError" MINUS SELECT DISTINCT spoke, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyState> as "hub",name FROM {spoke} rdf:type {bpmn:SubProcess};[bpmn:Activity.activityType {name}] ) UNION SELECT DISTINCT spoke, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyChoice> as "hub",name FROM {spoke} bpmn:Activity.activityType {name} WHERE name = "EventStartRule" OR name = "EventIntermediateEmpty" OR name = "EventIntermediateTimer" OR name = "EventIntermediateCompensation" OR name = "EventIntermediateRule" OR name = "EventIntermediateLink" UNION SELECT DISTINCT spoke, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyFork> as "hub",name FROM {spoke} bpmn:Activity.activityType {name} WHERE name = "EventStartMultiple" OR name = "EventIntermediateMultiple" OR name = "GatewayParallel" OR name = "GatewayComplex" UNION SELECT DISTINCT spoke, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyJoin> as "hub",name FROM {spoke} bpmn:Activity.activityType {name} WHERE name = "GatewayDataBasedExclusive" OR name = "GatewayEventBasedExclusive" OR name = "GatewayDataBasedInclusive" UNION SELECT DISTINCT spoke, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyStop> as "hub",name FROM {spoke} bpmn:Activity.activityType {name} WHERE name = "EventEndEmpty" OR name = "EventIntermediateCancel" OR name = "EventEndCompensation" OR name = "EventEndTerminate" OR name = "EventEndLink" OR name = "EventEndMultiple" OR name = "EventEndCancel" USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>, bpmn=<http://stp.eclipse.org/bpmn#>
SELECT DISTINCT subject, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyStart> as "object",name FROM {subject} bpmn:Activity.activityType {name} WHERE name = "EventStartEmpty" or name = "EventStartTimer" or name = "EventStartLink" UNION (SELECT DISTINCT subject, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyState> as "object",name FROM {subject} rdf:type {bpmn:Activity};[bpmn:Activity.activityType {name}] WHERE name = "Task" OR NOT BOUND(name) OR name = "EventStartMessage" or name = "EventIntermediateMessage" or name = "EventIntermediateError" or name = "EventEndMessage" or name = "EventEndError" MINUS SELECT DISTINCT subject, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyState> as "object",name FROM {subject} rdf:type {bpmn:SubProcess};[bpmn:Activity.activityType {name}] ) UNION SELECT DISTINCT subject, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyChoice> as "object",name FROM {subject} bpmn:Activity.activityType {name} WHERE name = "EventStartRule" OR name = "EventIntermediateEmpty" OR name = "EventIntermediateTimer" OR name = "EventIntermediateCompensation" OR name = "EventIntermediateRule" OR name = "EventIntermediateLink" UNION SELECT DISTINCT subject, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyFork> as "object",name FROM {subject} bpmn:Activity.activityType {name} WHERE name = "EventStartMultiple" OR name = "EventIntermediateMultiple" OR name = "GatewayParallel" OR name = "GatewayComplex" UNION SELECT DISTINCT subject, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyJoin> as "object",name FROM {subject} bpmn:Activity.activityType {name} WHERE name = "GatewayDataBasedExclusive" OR name = "GatewayEventBasedExclusive" OR name = "GatewayDataBasedInclusive" UNION SELECT DISTINCT subject, <http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyStop> as "object",name FROM {subject} bpmn:Activity.activityType {name} WHERE name = "EventEndEmpty" OR name = "EventIntermediateCancel" OR name = "EventEndCompensation" OR name = "EventEndTerminate" OR name = "EventEndLink" OR name = "EventEndMultiple" OR name = "EventEndCancel" USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>, bpmn=<http://stp.eclipse.org/bpmn#>
SELECT DISTINCT subject,object FROM {object} maphub:choreography.type {name} WHERE name=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyState> USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {object} maphub:type {name} WHERE name=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#SubProcess> USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {object} maphub:choreography.type {name} WHERE name=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyChoice> USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {object} maphub:choreography.type {name} WHERE name=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyFork> USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {object} maphub:choreography.type {name} WHERE name=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyJoin> USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {object} maphub:choreography.type {name} WHERE name=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyStart> USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>
SELECT DISTINCT subject,object FROM {object} maphub:choreography.type {name} WHERE name=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#choreographyStop> USING NAMESPACE maphub=<http://www.modeldriven.org/2008/ArchitectureOntology/maphub.owl#>