# See http://ontology.it/itsmo/v1/userguide # itsmo:uses shortcut to itsmo:Dependency CONSTRUCT { ?a itsmo:hasDependency _:n . _:n a itsmo:RuntimeDependency; rdfs:label "uses"; rdfs:comment "a strong direct runtime dependency"; itsmo:hasDependencyStrength itsmo:strongDependency; itsmo:hasDependencyDistance 1; itsmo:hasDependentObject ?o. } WHERE { ?s itsmo:uses ?o ?s a itsmo:RunnableResource . ?o a itsmo:RunnableResource } # itsmo:links shortcut to itsmo:Dependency CONSTRUCT { ?s itsmo:hasDependency _:n . _:n a itsmo:RuntimeDependency; rdfs:label "links"; rdfs:comment "a weak direct runtime dependency"; itsmo:hasDependencyStrength itsmo:weakDependency; itsmo:hasDependencyDistance 1; itsmo:hasDependentObject ?o. } WHERE { ?s itsmo:uses ?o ?s a itsmo:RunnableResource . ?o a itsmo:RunnableResource } # itsmo:requires shortcut to itsmo:Dependency CONSTRUCT { ?s itsmo:hasDependency _:n . _:n a itsmo:StructuralDependency; rdfs:label "requires"; rdfs:comment "a strong direct structural dependency"; itsmo:hasDependencyStrength itsmo:strongDependency; itsmo:hasDependencyDistance 1; itsmo:hasDependentObject ?o. } WHERE { ?s itsmo:requires ?o. } # itsmo:directReportOf to itsmo:Dependency CONSTRUCT { ?s itsmo:hasDependency _:n . _:n a itsmo:StructuralDependency; rdfs:label "directReportOf"; rdfs:comment "a strong direct structural dependency between identities"; itsmo:hasDependencyStrength itsmo:strongDependency; itsmo:hasDependencyDistance 1; itsmo:hasDependentObject ?o. } WHERE { ?s itsmo:directReportOf ?o . ?s a itsmo:Identity . ?o a itsmo:Identity } # itsmo:hasConsole to itsmo:Dependency CONSTRUCT { ?s itsmo:hasDependency _:n . _:n a itsmo:RuntimeDependency; itsmo:hasDependencyStrength itsmo:weakDependency; itsmo:hasDependencyDistance 1; itsmo:hasDependentObject ?o. ?o itsmo:hasDependency _:m . _:n a itsmo:RuntimeDependency; itsmo:hasDependencyStrength itsmo:weakDependency; itsmo:hasDependencyDistance 1; itsmo:hasDependentObject ?s. } WHERE { ?s itsmo:hasConsole ?o . ?s a itsmo:ITService . ?o a itsmo:ITService }