2021 Project ontology in Gistv0
Saved notebook · 3 cells. Code and outputs below are retained from the original; nothing was executed for this reading copy. Environment dependencies, missing data and the model limitations remain as described in the linked guide.
Cell 1 · code
# Relevant classes
Project, Task,PlannedEvent,ScheduledTask,
Organization,Person,
Obligation,Commitment,DegreeOfCommitment,Intention,
Function,Requirement,Specification,ServiceSpecification,Artifact,ProductUnit,
Possibly useful: Aspect, Category,Behavior,Building, BundledCatalogItem,CatalogItem,Collection,OrderedCollection,Restriction,Component,System,Event,
,ContingentEvent,Controller,Duration,HistoricalEvent,Message,Permission,PhysicalEvent,ProductCategory,
SystemInstant,TaskTemplate,
Cell 2 · code
# Relevant object properties:
subTaskOf,hasSubTask,hasDirectPart,directPartOf,hasPart,memberOf,hasMember,aspectOf,
partOf,categorizedBy,orderedMemberOf,madeUpOf,
hasGoal,affectedBy,allocatedBy,contributesTo,basisFor,
governedBy,directs,respondsTo, governs,recognizedBy,accepts,allows,prevents,identifies,owns,
triggeredBy,precedes,directlyPrecededBy,directlyPrecedes,plannedEnd,plannedStart,actualStart,actualEnd,
fromAgent,toAgent,
hasSubCategory,hasSuperCategory,
affects,connectedTo,
conformsTo, basedOn,
directSubTaskOf,hasDirectSubTask,
parentOf,planned,produces,recognizes,requires,
Cell 3 · code
# cant get this to work
Project100 = onto.Project("Project100")
Project101= onto.Project("Project101", namespace = onto)
onto.search(type = 'Project') # searches for Individuals of a given class
onto.search(is_a = "Project") # searching both Individuals and subclasses of a given Class
onto.destroy_entity
list(onto.Project.subclasses())