by lauriere - added properties to mephisto:Bug
The ongology below is meant to represent at least partly the bug/software UML model drafted by Olivier on the following page: bugs modeling.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix bom: <http://www.ifi.unizh.ch/ddis/evoont/2008/11/bom#> . @prefix wf: <http://www.w3.org/2005/01/wf/flow#> . @prefix mephisto: <http://mephistopedia.net/2009/03/14/mephisto#><http://mephistopedia.net/2009/03/14/mephisto> { mephisto:Software a rdfs:Class . #example: OpenLink Virtuoso Open-Source Edition mephisto:hasVersion a rdf:Property; rdfs:domain mephisto:Software; rdfs:range mephisto:SoftwareVersion . #example: mephisto:hasBugTracker a rdf:Property; rdfs:domain mephisto:Software; rdfs:range mephisto:BugTracker . mephisto:SoftwareVersion a rdfs:Class . #SL comment: "SoftwareVersion" instead of "Release" since all versions are not "releases" mephisto:hasSource a rdf:Property; rdfs:domain mephisto:SoftwareVersion; rdfs:range mephisto:Source . #cardinality: 1..* mephisto:hasVersion a rdf:Property rdfs:domain mephisto:SoftwareVersion; rdfs:range rdfs:Literal . #cardinality: 1-1 mephisto:hasContributor a rdf:Property rdfs:domain mephisto:Source; rdfs:range foaf:Person . #cardinality: 0..* mephisto:hasSourcePackage a rdf:Property; rdfs:domain mephisto:SoftwareVersion; rdfs:domain mephisto:SourcePackage; rdfs:range mephisto:SourcePackage . #cardinality: 0..* (various distributions) mephisto:Source a rdfs:Class; url rdfs:Literal . mephisto:SourcePackage a rdfs:Class; mephisto:hasPatch a rdf:Property; rdfs:domain mephisto:SourcePackage; rdfs:range mephisto:Patch . #cardinality: 0..* mephisto:hasChangeLog a rdf:Property; rdfs:domain mephisto:SourcePackage; rdfs:range mephisto:ChangeLog mephisto:hasBinaryPackage a rdf:Property; rdfs:domain mephisto:SourcePackage; rdfs:range mephisto:BinaryPackage . #cardinality: 0..* mephisto:hasBug a rdf:Property; rdfs:domain mephisto:SourcePackage; rdfs:range mephisto:Bug . #cardinality: 0..* #SL comment: do we need to link bugs to BinaryPackage as well? mephisto:ChangeLog a rdfs:Class . mephisto:BinaryPackage a rdfs:Class . mephisto:forArchitecture a rdf:Property; rdfs:domain mephisto:BinaryPackage; rdfs:range rdfs:Literal . mephisto:Patch a rdfs:Class . mephisto:Distribution a rdfs:Class . mephisto:hasSourcePackage a rdf:Property; rdfs:domain mephisto:Distribution; rdfs:range mephisto:SourcePackage . mephisto:Bug a rdfs:Class . rdfs:subClassOf bom:Issue; mephisto:hasUrl a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range rdfs:Literal . mephisto:hasCreationDate a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range xsd:dateTime . mephisto:hasSeverity a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range rdfs:Literal . mephisto:hasResolution a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range bom:Resolution . mephisto:hasReporter a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range foaf:Person . mephisto:hasKeywords a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range rdfs:Literal . mephisto:hasUpdateDate a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range xsd:dateTime . bom:isIssueOf a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range mephisto:Software . mephisto:hasCc a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range foaf:mbox . mephisto:hasDuplicate a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range mephisto:Bug . rdf:seeAlso a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range mephisto:Bug . mephisto:Comment a rdfs:Class; rdfs:subClassOf bom:Comment; mephisto:hasComment a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range mephisto:Comment . mephisto:hasAuthor a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range foaf:Person . mephisto:isAssignedTo a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range foaf:Person . mephisto:blocks a rdf:Property; rdfs:domain mephisto:Bug; rdfs:range mephisto:Bug . mephisto:BugTracker a rdfs:Class . }