solveit-analysis:HypothesisedRecord leaf node


URI

https://ontology.solveit-df.org/solveit/analysis/HypothesisedRecord

Label

Hypothesised Record

Description

A database record hypothesised to have existed, typically reconstructed from deallocated or partially overwritten storage such as freeblocks, unallocated page space, or freelist pages. The claim it makes is one of extent: that these bytes constituted one record, beginning and ending where the reconstruction says. That claim can fail - a sequence of ordinary integers can decode as a plausible record header, adjacent deletions can merge into one freeblock, and a later write can overwrite the leading bytes - so a HypothesisedRecord is deliberately not a solveit-observable:SQLiteRecord. Decoded values are linked with solveit-analysis:hasField, and the page the bytes came from with solveit-observable:recoveredFromPage. Which table the record belonged to is a separate claim, and is not asserted here: it is made by a solveit-analysis:HypothesisedTableAttribution, so that one reconstruction can carry several competing attributions without being duplicated.

Targets (1)

Property Constraints (1)

Focus nodes of this shape (solveit-analysis:HypothesisedRecord) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
solveit-observable:recoveredFromPage The page from which this record was physically recovered. Where bytes were found is a fact about them, true whether or not the reconstruction they support turns out to be correct, so the property is used of a solveit-analysis:HypothesisedRecord. A live record is in a page rather than recovered from one. The property deliberately has no rdfs:domain: rdfs:domain is an entailment rule, not a constraint, so a domain of SQLiteRecord would not stop a hypothesis using the property but would infer it to be an observed record. Its use is checked instead by the SHACL constraint on solveit-analysis:HypothesisedRecord in solve_it_analysis_shapes.ttl. The page is optional, because a record carved from unallocated disk space may not be traceable to any page.
sh:message The page a hypothesised record was recovered from must be a SQLitePage, typed as such in the data.
0 * solveit-observable:SQLitePage
sh:IRI

Implementation

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix solveit-analysis: <https://ontology.solveit-df.org/solveit/analysis/> .
@prefix solveit-observable: <https://ontology.solveit-df.org/solveit/observable/> .

solveit-analysis:HypothesisedRecord a owl:Class,
        sh:NodeShape ;
    rdfs:label "Hypothesised Record"@en ;
    rdfs:comment "A database record hypothesised to have existed, typically reconstructed from deallocated or partially overwritten storage such as freeblocks, unallocated page space, or freelist pages. The claim it makes is one of extent: that these bytes constituted one record, beginning and ending where the reconstruction says. That claim can fail - a sequence of ordinary integers can decode as a plausible record header, adjacent deletions can merge into one freeblock, and a later write can overwrite the leading bytes - so a HypothesisedRecord is deliberately not a solveit-observable:SQLiteRecord. Decoded values are linked with solveit-analysis:hasField, and the page the bytes came from with solveit-observable:recoveredFromPage. Which table the record belonged to is a separate claim, and is not asserted here: it is made by a solveit-analysis:HypothesisedTableAttribution, so that one reconstruction can carry several competing attributions without being duplicated."@en ;
    rdfs:subClassOf solveit-analysis:Hypothesis ;
    sh:property [ sh:class solveit-observable:SQLitePage ;
            sh:message "The page a hypothesised record was recovered from must be a SQLitePage, typed as such in the data."@en ;
            sh:nodeKind sh:IRI ;
            sh:path solveit-observable:recoveredFromPage ] .