AI Wiki中文/EN

Ontologies: vocabulary, commitments and catalogue questions

本体与知识表示

Build a small ontology around explicit questions, derive types with a bounded RDFS fragment, and distinguish inference from record validation.

On this pageIntuitionMathematics & methodImplementationLimitationsExercisesResearch connections

The catalogue knows a painter. Does it know a creator?

A hypothetical gallery merges two catalogue files. One says that work7 was paintedBy Ada and shownIn exhibition show26. The other classifies work9 as a Painting, but records no creator. A search screen asks for all works and their creators. A submission form asks whether every work record contains an explicit createdBy field.

These requests sound similar, but they need different answers. If painting is a way of creating, the first record supports a creator answer without containing that exact field. The second record can be a work even though its creator is unknown. An ontology makes such category and relationship assumptions explicit; a validation policy decides which records meet a submission requirement.

Begin with competency questions: concrete questions the model is intended to answer. They bound the modelling task and give regression fixtures. Noy and McGuinness’s guide treats scope, candidate terms, reuse and revision as design work, rather than assuming one universal class hierarchy. Ontology Development 101, sections 2–3

Question or checkExpected result in this fixtureBasis
CQ1: Which named items are known to be works?work7 and work9Property domains and subclass inheritance
CQ2: Which creator links are known?work7 → AdaA subproperty assertion also holds for its superproperty
CQ3: Which linked creator is known to be a person?AdaRange and subclass inheritance
Record check: Which selected work records lack the exact asserted createdBy predicate?work7 and work9An explicit-field policy on the original records

A plain table join is an adequate baseline when the files already use one agreed creator field. Here the mapping from paintedBy to createdBy is a domain commitment worth keeping explicit and testing. An ontology does not repair incorrect source records.

The model cannot answer when either work was created. That is a coverage gap requiring new data and a decision about representing dates, not an invitation to invent a value.

Separate vocabulary, individuals and commitments

Our vocabulary has classes Painting, Work, CataloguedThing, Artist, Person and Exhibition; properties paintedBy, createdBy and shownIn; and named individuals such as work7 and show26. Saying that every painting is a work is a class axiom. Saying that work9 is a painting is an instance assertion. Saying that work7 is shown in show26 relates two individuals; it does not make the work a subclass of the exhibition.

The granularity is a design choice. This small catalogue treats each work identifier as one catalogued work and does not distinguish a creative work, a physical copy and its digital photograph. A conservation or rights application would need that distinction before importing these terms. A taxonomy alone also cannot express who created an item: relations and their intended directions are part of the model.

In the following logical interpretation, a class c has an extension E(c), a set of individuals; a property p has an extension R(p), a set of ordered pairs. Subclass and subproperty declarations require inclusions:

SC⁡(c,d)⇒E(c)⊆E(d),SP⁡(p,q)⇒R(p)⊆R(q).\operatorname{SC}(c,d)\Rightarrow E(c)\subseteq E(d),\qquad\operatorname{SP}(p,q)\Rightarrow R(p)\subseteq R(q).

This implication has a direction. Finding the same instances of two classes in today’s file does not justify merging their meanings or asserting both subclass relations. RDF Schema explicitly distinguishes a class from its current extension. RDF Schema 1.1, sections 2–3

The teaching engine below implements six rule patterns over supplied identifiers. Let T(x,c) denote a type assertion and A(x,p,y) a property assertion. First, both hierarchies propagate transitively:

SC⁡(c,d)∧SC⁡(d,e)⇒SC⁡(c,e),SP⁡(p,q)∧SP⁡(q,r)⇒SP⁡(p,r).\operatorname{SC}(c,d)\land\operatorname{SC}(d,e)\Rightarrow\operatorname{SC}(c,e),\qquad\operatorname{SP}(p,q)\land\operatorname{SP}(q,r)\Rightarrow\operatorname{SP}(p,r).

Types follow the class hierarchy:

T(x,c)∧SC⁡(c,d)⇒T(x,d).T(x,c)\land\operatorname{SC}(c,d)\Rightarrow T(x,d).

Property assertions follow the property hierarchy, retaining their direction:

A(x,p,y)∧SP⁡(p,q)⇒A(x,q,y).A(x,p,y)\land\operatorname{SP}(p,q)\Rightarrow A(x,q,y).

Domain and range declarations infer the types of the subject and object respectively:

A(x,p,y)∧Dom⁡(p,c)⇒T(x,c),A(x,p,y)∧Ran⁡(p,c)⇒T(y,c).A(x,p,y)\land\operatorname{Dom}(p,c)\Rightarrow T(x,c),\qquad A(x,p,y)\land\operatorname{Ran}(p,c)\Rightarrow T(y,c).

We also seed reflexive subclass and subproperty pairs for the classes and properties present in the input signature. These patterns follow the corresponding RDFS conditions, including reflexivity, but omit much of the language. RDF 1.1 Semantics, section 9 and rules rdfs2–rdfs11

A domain does not require a field to exist, and a missing type is not a reason to reject a property assertion. With shownIn having domain Work and range Exhibition, the assertion about work7 adds those types. Two domains mean that the subject belongs to both classes, not that either class is acceptable. Domain/range conditions apply wherever the property is used; they are not local form-field restrictions for one screen. RDF Schema 1.1, sections 3.1–3.2

A small materializer and a separate record check

The complete Python 3.10+ program keeps six inputs separate: type assertions, data triples, subclass links, subproperty links, domains and ranges. Containers must be lists or tuples with the stated row widths; identifiers are nonempty strings. The example supplies full URNs. The function checks container shape, not IRI syntax, namespace ownership or real-world identity.

This is a fixed-schema teaching fragment, not an RDF parser or a complete RDFS/OWL engine. Schema statements arrive only through their named input tables. A data triple is never reinterpreted as a schema declaration, even if its predicate string resembles a reserved RDF term. The model has no literals, blank nodes, datatype semantics, axiomatic Resource/Class/Property typing, existential restrictions, equality, disjointness or imports. Classes and properties occurring in their input positions define the signature; no names or witnesses are created during inference.

Every round reads the previous snapshot and gathers consequences into new sets. Duplicates do not count twice. The final unchanged pass certifies closure under these rules. tests counts the inner premise-pair checks shown in the loops, including unsuccessful matches and rediscovered consequences; it is not a time measurement or a standard reasoner benchmark.

def rows(value, width):
    if type(value) not in (list, tuple):
        raise ValueError('expected a list or tuple of rows')
    result = set()
    for row in value:
        if type(row) not in (list, tuple) or len(row) != width:
            raise ValueError('wrong row width or container')
        if any(type(x) is not str or not x for x in row):
            raise ValueError('identifiers must be nonempty strings')
        result.add(tuple(row))
    return frozenset(result)


def materialize(types=(), triples=(), subclass=(), subproperty=(), domains=(), ranges=()):
    ty, tr = rows(types, 2), rows(triples, 3)
    sc, sp = rows(subclass, 2), rows(subproperty, 2)
    dom, ran = rows(domains, 2), rows(ranges, 2)
    classes = {c for _, c in ty} | {c for row in sc for c in row}
    classes |= {c for _, c in dom | ran}
    properties = {p for _, p, _ in tr} | {p for row in sp for p in row}
    properties |= {p for p, _ in dom | ran}
    sc |= frozenset((c, c) for c in classes)
    sp |= frozenset((p, p) for p in properties)
    rounds = tests = 0
    while True:
        rounds += 1
        # Every consequence uses the old snapshot, even if discovered earlier here.
        new_sc, new_sp, new_ty, new_tr = set(sc), set(sp), set(ty), set(tr)
        for a, b in sc:
            for c, d in sc:
                tests += 1
                if b == c:
                    new_sc.add((a, d))
        for p, q in sp:
            for r, s in sp:
                tests += 1
                if q == r:
                    new_sp.add((p, s))
        for x, p, y in tr:
            for q, r in sp:
                tests += 1
                if p == q:
                    new_tr.add((x, r, y))
            for q, c in dom:
                tests += 1
                if p == q:
                    new_ty.add((x, c))
            for q, c in ran:
                tests += 1
                if p == q:
                    new_ty.add((y, c))
        for x, c in ty:
            for d, e in sc:
                tests += 1
                if c == d:
                    new_ty.add((x, e))
        nxt = tuple(map(frozenset, (new_ty, new_tr, new_sc, new_sp)))
        if nxt == (ty, tr, sc, sp):
            return dict(types=ty, triples=tr, subclass=sc, subproperty=sp,
                        rounds=rounds, tests=tests)
        ty, tr, sc, sp = nxt


def missing_explicit(focus, property_id, asserted_triples):
    # A local record-completeness check. It does not query inferred triples.
    if type(focus) not in (list, tuple):
        raise ValueError('focus must be a list or tuple')
    subjects = rows(tuple((x,) for x in focus), 1)
    rows(((property_id,),), 1)
    asserted = rows(asserted_triples, 3)
    present = {s for s, p, _ in asserted if p == property_id}
    return tuple(sorted(x for (x,) in subjects if x not in present))


V = 'urn:gallery:vocab:'
D = 'urn:gallery:data:'
SCHEMA = dict(
    subclass=((V+'Painting', V+'Work'), (V+'Work', V+'CataloguedThing'),
              (V+'Artist', V+'Person')),
    subproperty=((V+'paintedBy', V+'createdBy'),),
    domains=((V+'paintedBy', V+'Painting'), (V+'createdBy', V+'Work'),
             (V+'shownIn', V+'Work')),
    ranges=((V+'paintedBy', V+'Artist'), (V+'createdBy', V+'Person'),
            (V+'shownIn', V+'Exhibition')),
)
TYPES = ((D+'work9', V+'Painting'),)
TRIPLES = ((D+'work7', V+'paintedBy', D+'ada'),
           (D+'work7', V+'shownIn', D+'show26'))
result = materialize(TYPES, TRIPLES, **SCHEMA)
works = sorted(x for x, c in result['types'] if c == V+'Work')
makers = sorted((s, o) for s, p, o in result['triples'] if p == V+'createdBy')
print('works:', works)
print('creators:', makers)
print('ada is Person:', (D+'ada', V+'Person') in result['types'])
print('rounds / tests:', result['rounds'], result['tests'])
print('missing exact createdBy:', missing_explicit(works, V+'createdBy', TRIPLES))
print('after supplied work7 field:', missing_explicit(
    works, V+'createdBy', TRIPLES+((D+'work7',V+'createdBy',D+'ada'),)))
bad_schema = dict(SCHEMA, domains=SCHEMA['domains']+((V+'shownIn',V+'Exhibition'),))
bad = materialize(TYPES, TRIPLES, **bad_schema)
print('wrong second domain makes work7 Exhibition:', (D+'work7',V+'Exhibition') in bad['types'])
print('alias is Work:', (D+'alias7',V+'Work') in result['types'])

Running the file prints:

works: ['urn:gallery:data:work7', 'urn:gallery:data:work9']
creators: [('urn:gallery:data:work7', 'urn:gallery:data:ada')]
ada is Person: True
rounds / tests: 3 568
missing exact createdBy: ('urn:gallery:data:work7', 'urn:gallery:data:work9')
after supplied work7 field: ('urn:gallery:data:work9',)
wrong second domain makes work7 Exhibition: True
alias is Work: False

For CQ1, work9 inherits Work from its explicit Painting type. Work7 gains Painting from the domain of paintedBy, then inherits Work. For CQ2, its paintedBy triple yields a createdBy triple. For CQ3, Ada gains Artist from the narrower property’s range, then Person; the broader property’s range provides another justification for the same type. The output contains 9 type pairs, 3 data triples, 10 subclass pairs and 4 subproperty pairs. Three rounds, including the unchanged pass, perform 568 premise-pair checks.

missing_explicit asks a different question. The caller supplies the selected work identifiers and the original asserted triples. It reports both records because neither contains the exact createdBy predicate. Supplying that field for work7 leaves only work9 flagged. If a project instead accepts inferred creator links, it must choose the expanded graph or another explicit validation policy; applying the same presence test there flags only work9. The function cannot determine a graph’s provenance from its values.

SHACL is a standard for validating a data graph against a shapes graph and producing a report. Its minimum-count constraint tests the number of value nodes. Which graph is passed to validation, including whether inference has already materialized triples, matters. Our small presence test is not a SHACL processor. SHACL, sections 3.2 and 4.2.1

A consistent model can still be a bad model

The deliberately wrong schema adds Exhibition as a second domain of shownIn, intending to describe its object. The engine now types work7 as both a work and an exhibition. It does exactly what the axioms say. The six positive rules contain no disjointness or negative constraints, so they do not report an inconsistency. A regression expecting work7 not to gain that classification detects the modelling error; the repair is to remove the wrong domain, preserving the intended range, and recompute from the original assertions.

That regression checks a fixture’s expected inference output. It does not prove the classical statement that work7 cannot be an exhibition under every richer model. Similarly, the absence of a creator for work9 means no such assertion was derived by this fragment. It does not establish that the work has no creator. OWL’s open-world interpretation and its lack of mandatory syntactic-field checks are distinct from a closed record-completeness policy. OWL 2 Primer, section 2

Identifiers deserve the same care as axioms. urn:gallery:vocab:Painting is a vocabulary identifier; a label such as “Painting” or “绘画” is presentation text. Matching labels alone do not license a merge. Prefixes are only abbreviations for expanded identifiers, and changing a label need not change the identifier. In this example the code concatenates the declared URN prefix directly; it does not resolve Turtle prefixes or fetch their definitions. RDF Schema 1.1, introduction and section 3.6

The separate name urn:gallery:data:alias7 receives no facts about work7. This does not assert that the names denote different individuals. OWL does not generally assume different individual names must denote different objects; equality or inequality requires the relevant axioms or semantic consequences. This fragment supports neither: it stores names separately and derives no equality, inequality or identity-based transfer. OWL 2 Primer, section 4.7

For a maintained vocabulary, keep a release manifest containing the vocabulary identifiers, definitions, source-data snapshot, imported vocabulary versions if any, implemented inference regime and competency-query fixtures. Review an added domain or subclass axiom through its changed answers, not only through a text diff. Adding an axiom can make new answers appear; removing one requires reconsidering derived data and alternative justifications. This implementation simply rematerializes from assertions. A broader change in a term’s intended meaning needs an explicit migration and deprecation policy instead of silently reusing an old identifier with a new meaning. These are engineering choices for this catalogue, not claims that the program implements OWL versioning or imports.

The closure algorithm terminates because it only adds facts from a fixed finite set. Let c, p and i count the distinct class, property and data-subject/object identifiers in their respective input positions, with i also including subjects of supplied types. A bound on the four materialized relations is:

B=c2+p2+ic+i2p,rounds≤B+1.B=c^2+p^2+ic+i^2p,\qquad\text{rounds}\le B+1.

Each changing round adds at least one new fact, and one final pass establishes that nothing changed. Induction over rounds shows soundness for the six rules. Any rule-closed set containing the initialized facts, including the signature’s reflexive pairs, must also contain each successive round’s consequences. The returned set is therefore the least such superset. Thus it answers positive membership queries completely for this explicitly stated fragment, not for full RDFS or OWL. Cycles in either hierarchy terminate through set deduplication; mutual subclass links imply matching extensions under these inclusions, not identical vocabulary resources.

Let n count raw input rows plus 1. Under unit-cost identifier comparison and expected constant-time set operations, a loose bound for this deliberately scanning implementation is O((B+1)(1+B+n)²) time and O(1+B+n) auxiliary storage. It includes empty inputs, duplicate input normalization and both snapshots. The bound excludes the character cost of identifiers and sorting in the separate reporting/record-check functions. Production materializers normally need indexes and incremental handling; the miniature is intended to expose the semantics, not to set a throughput expectation.

Change the model and predict the answers

1. Remove only the paintedBy ⊑ createdBy link. Which competency answers change?

Answer: CQ2 loses the derived work7 → Ada createdBy link. CQ1 still lists work7 and work9 because paintedBy has its own Painting domain. CQ3 still recognizes Ada as a person through paintedBy’s Artist range and Artist ⊑ Person. Different answers can have independent justifications; removing one axiom need not remove every related conclusion.

2. Why do two domains on shownIn classify the work twice? Would they require an exhibition link for every work?

Answer: Each domain declaration applies to every subject of a shownIn triple, so work7 becomes an instance of both declared classes. Domains are conjunction-like conditions here, not a union of permitted classes. Neither declaration creates a triple or requires every work to have one. To classify the object as an exhibition, use the range. To require a stored field, choose and run a validation rule on the intended graph.

3. Does work9’s missing creator prove that it has none? Why does the explicit-field test also flag work7?

Answer: No creator assertion is derivable for work9, but absence is not a classical negation. Work7 has an inferred generic creator link, while the original file only spells out paintedBy. The demonstrated policy requires the exact asserted createdBy predicate, so both records are flagged. If the policy accepts materialized links, only work9 is flagged. State the policy before calling a record valid or invalid.

4. Two identifiers share the same human-readable label. May the importer merge them? What should a vocabulary update preserve?

Answer: A label match alone is insufficient. The identifiers could denote different works with the same title, or two names for one work; this engine proves neither alternative. Reconcile them through evidence and an explicit identity policy. A release should preserve identifier meanings and record its data, schema and query expectations, or document a migration if meanings change. Re-run the fixtures and rebuild affected inferences rather than assuming a renamed label or added axiom is harmless.

Test the commitments, not just the closure loop

Noy and McGuinness’s original Stanford guide supplies the engineering questions about purpose, granularity and revision. Its frame-based examples are not a substitute for RDF/OWL semantics. W3C’s RDFS semantics supplies the inclusion and typing conditions used here; OWL’s primer explains the open-world and identity distinctions; SHACL supplies a separate validation framework. The catalogue, code, error case and exercises are original, with no imported ontology or third-party code inside the example.

The independent semantic tests enumerate Boolean interpretations of the finite, grounded six-rule theory and intersect all models satisfying the inputs. They do not run another forward-chaining loop. One group checks 2,048 input theories using one individual, two classes and two properties; another checks 256 theories with two individuals, separating subject-domain from object-range consequences. Two hundred larger randomized cases check input preservation, duplicate and order invariance, idempotence and monotonicity. Additional fixtures check schema cycles, empty signatures, the wrong second domain, absent fields, missing aliases and exact main-example work counts.

These checks establish evidence about the published fragment and fixtures. They are not a W3C conformance suite, a complete OWL reasoner test or human domain-expert approval. Passing CQ1–CQ3 also does not erase the deliberately unanswered date question or settle whether “work” has the right granularity for a different museum workflow.

Make a prediction, then check

shownIn has both Work and Exhibition as domains. Given work7 shownIn show26, what does the example reasoner do?

Choose one answer

Learning objectives

  • Use competency questions to define vocabulary, instance granularity and axioms; distinguish type inheritance, property inheritance and subject/object typing.
  • Implement and independently verify finite-rule materialization while separating open-world inference, explicit-field policies, name identity and vocabulary changes.

Prerequisites & connections

Explore related knowledge →

References

  1. Ontology Development 101: A Guide to Creating Your First Ontology
    Natalya F. Noy; Deborah L. McGuinness
  2. RDF Schema 1.1
    W3C RDF Working Group
  3. RDF 1.1 Semantics
    W3C RDF Working Group
  4. OWL2 Web Ontology Language Primer, Second Edition
    Pascal Hitzler; Markus Krötzsch; Bijan Parsia; Peter F. Patel-Schneider; Sebastian Rudolph (editors) · 2012
  5. Shapes Constraint Language (SHACL)
    W3C RDF Data Shapes Working Group

Version1 · Editorial status: Recorded technical checks completed

View technical check record (AI)

Codex · 2026-09-05 · Codex technical check: primary-source locations, original runnable models, independent finite-state oracles, bilingual review and second-agent cross-checks; not independent human peer review.

  • Complete original bilingual engineering prose:6 anchors,6 displays,4 answered exercises and identical Python/output/numbers. Hypothetical gallery with a table-join baseline, CQ1–CQ3, explicit date gap, modelling/validation counterexamples, identity and version management. Reread under repository humanizer neutral technical guidance.
  • All8 author tests passed. Independent oracle enumerates finite-signature Boolean interpretations, checks six-rule implications and initialized facts, then intersects all satisfying models instead of executing another forward closure.128 small schemas×16 assertion sets=2048 theories;4 domain/range combinations×64 sets over2 individuals=256 more, totaling2304.
  • 200 random input groups check immutability, duplicate/order invariance, one-pass idempotence on closure input and monotonicity under additions. Also covers empty1-round/0-check input, reflexive class/property cycles, no property reversal, no alias transfer, conjunctive multiple domains, no relationship generated from a type and invalid containers/widths/empty/Boolean identifiers.
  • Actual main output:3 rounds/568 checks,9 types/3 data triples/10 subclass/4 subproperty pairs. Works arework7/work9, generic creatorwork7→ada, andada isPerson. Exact original-field policy flagsboth; materialized-graph policy flagsonlywork9, as does explicitly addingwork7 field. Wrong second domain inferswork7 Exhibition; removing subproperty loses only generic creator while preserving other answers, all asserted in tests.
  • Separately argued fixed-signature capacityB=c²+p²+ic+i²p, at mostB+1 rounds, positive-rule soundness and least closure. Initialization explicitly includes reflexive signature pairs; completeness is restricted to the stated rules, not full RDFS/OWL. No classical negation/equality/inequality or unique-name requirement; field-check results do not prove relationship nonexistence.
  • Checked looseO((B+1)(1+B+n)²) time/O(1+B+n) auxiliary space for scanning/snapshots/input normalization, withn raw rows+1 and empty-signature tests. Unit identifier/expected hashing assumptions explicit; separate reporting sort excluded. tests measures snapshot premise pairs, not elapsed time or generic reasoner performance.
  • Strict MDX/remark-math/repository display-math/strict KaTeX and actual React static rendering passed forboth:6 formulas/6 headings/4strong answers each, no math errors or emphasis remnants outside code. Per-article precheck only, no whole-site build/browser acceptance. AI author technical checks withreview written; independent review separate, no human expert approval claimed.
  • A second AI agent read both full articles, example.py, all eight tests and metadata without edits. The six rules, fixed-signature reflexive seeds, per-round snapshots, subject-domain/object-range typing, conjunctive declarations, property direction and missing-field versus classical-negation distinctions are correct. Scope is explicitly fixed-schema teaching code, without reinterpreting reserved RDF strings in data or claiming full RDFS/OWL/SHACL conformance.
  • All eight author tests executed and passed. The independent reference grounds the finite rules into AND hyperedges and uses a min-heap to settle each fact’s minimum proof height, enabling a hyperedge only after all its prerequisites are settled. It neither enumerates/intersects worlds nor performs synchronous snapshot scanning. Counts by proof height reconstruct rounds and tests, comparing all four fact sets and exact work.
  • All17,044 complete materializations agree:4,096 two-class/two-property schemas covering all nonreflexive inclusions/domain/range combinations×four data patterns=16,384; another256 two-individual direction cases,400 randomized inputs with overlapping role names, and four main/bad-domain/reserved-data/empty cases. Explicit reflexive input fixes the small exhaustive signature; randomized cases also cover empty/partial signatures discovered from actual positions.
  • 16,785 derived fact records have settled prerequisites with strictly decreasing proof heights. Final sets contain all input/reflexive seeds and satisfy every grounded rule, supplying countermodels for49,988 unproduced signature atoms. These are models of the article’s finite six-rule theory, not full RDF interpretations. Independently computed B and checked universe capacity/rounds≤B+1 in every case; overlapping strings in different roles remain distinguished by relation tags.
  • Another300 field-policy cases directly test exact predicate records for each selected object and agree with missing_explicit.72 invalid materializer containers/nonstring/empty-string inputs and four invalid field-check inputs raise ValueError, including bad predicates/data with empty focus. Reviewed () defaults, input preservation, absence of generated names/existential witnesses, asserted/materialized graph policies and lack of identity merging from labels.
  • Main3 rounds/568 premise checks and9 types/3 triples/10 subclass/4 subproperty facts match the proof-height reference. Exact asserted createdBy policy flagswork7/work9 and onlywork9 after addingwork7’s field; the wrong second domain addswork7 Exhibition. The least positive closure proof includes reflexive initialization. Missing consequences are not negations and separate storage keys are not a semantic unique-name assumption.
  • B=c²+p²+ic+i²p covers all four generated relation universes, with i including initial type subjects. The loose O((B+1)(1+B+n)²) time/O(1+B+n) space accounts for normalization, two snapshots and empty input, with unit identifiers/expected hashing and separate sorting exclusions explicit. Neither the bound nor actual premise counts is presented as a production reasoner benchmark.
  • All five final file hashes match the frozen manifest. Executed the final program; both complete text fences equal stdout byte-for-byte, with six displays/six anchors/four answers and matching code. Independent strict MDX/KaTeX plus React static HTML passes with six displays/four strong answers each; targeted prose scan has no hits. Wrote only /tmp review scripts/records, without author/repository edits, whole-site builds, browser acceptance or human expert approval.
  • Publication source deduplication: root read the undated W3C URL header and verified its This version link identifies the2012-12-11 second edition. Reused existing owl2-primer-2012 ID and dated URL while retaining all author/peer section checks, without adding a duplicate source card.
  • Promoted the full prose, equations, code and exercises. Tests read formal MDX only; removed temporary fallbacks/draft skips and updated review assertion to checked. Algorithm and independent references are unchanged; final record binds both locale hashes.

Source locations checked:

  • Ontology Development 101: A Guide to Creating Your First Ontology · Actually read locally downloaded ontology101.pdf,25pages, SHA recorded in sourceFiles: pp1–2 purpose/common vocabulary and knowledge-versus-operations; p3§2 classes/properties/instances; pp4–7§3 iterative scope, competency questions onp5 and reuse; p13 names versus concepts; pp18–19§4.6 class/instance granularity. Official web PDF/HTML fetch failed, but the exact official PDF URL was subsequently fetched by curl and pdftotext was read. pdfinfo creation2002-06-20 is a container timestamp, not a publication claim. Stanford wiki identifies technical reportKSL-01-05, but this metadata deliberately omits publication year rather than deriving it from a filename/date. No full-document or image-reuse claim.
  • RDF Schema 1.1 · Actually read official text lines63–89 (property-centric schema, expanded prefix/IRI and classes/extensions),125–156 (subproperties/global domain/range and each of multiple domain/range classes),157–200 (type/subclass/subproperty transitivity/labels),215–222 (applications may use schema information differently). Kept concrete direction and non-field-presence semantics; did not copy source author/document examples.
  • RDF 1.1 Semantics · Actually read §9 lines396–415, including409–410 domain/range conditions,411–415 transitive/reflexive hierarchy and set inclusion; §9.2.1 lines519–546 for rule patterns. Program omits Resource/Class/Property axiomatic typing, datatypes, blank nodes, meta-schema inference and imports. The complete-RDFS theorem later in the specification is not invoked for this subset; completeness is separately proved only for its initialized six-rule theory.
  • OWL2 Web Ontology Language Primer, Second Edition · Actually read §2 lines119–129: precise descriptive statements, vocabulary/assertions, reasoners versus syntax conformance, open-world absence. Read§4.6 lines441–481 for domain/range type inference and§4.7 lines482–545 for no required unique-name assumption and explicit same/different individuals. Did not infer identity or negation from failed membership; examples in our prose are original.
  • Shapes Constraint Language (SHACL) · Actually read §3 lines863–881 on data graph/shapes graph/report and no presumption that data includes entailments;§4.2.1 lines1121–1134 on minCount and validation result when values are too few. Present implementation never parses SHACL or claims its data-policy check equals all SHACL targeting/entailment behavior.
  • Ontology Development 101: A Guide to Creating Your First Ontology · Independently read retained official PDF text: p1 title/authors and common vocabulary/domain-versus-operation aims; p3 §2 classes, slots and instances; p5 §3 scope and competency questions/reuse; p13 names versus concepts and evolving taxonomy; pp18–19 §4.6 application-dependent instance granularity and scope. Checked retained PDF SHA f7b4ecf125ca0bed5f39cf5586a7ee2f3237a7f851cf799e229a4b3fcc1ebc1d against source-files.json. No fresh download, visual inspection of figures, publication-year inference from container dates or execution of source examples claimed for this review.
  • RDF Schema 1.1 · Independently opened official RDF Schema1.1 and read lines72–89 for prefixes/IRIs/classes/extensions; lines130–156 for global domain/range and conjunctive multiple declarations;157–200 for type, subclass/subproperty direction/transitivity and labels. Did not adopt frame-based required-field semantics or treat matching current extensions as identical resources.
  • RDF 1.1 Semantics · Independently opened official §9 lines396–418, especially409–415 domain/range, hierarchy reflexivity/transitivity and extension inclusion, plus499–500 regarding overlapping class/property/individual roles. Read §9.2.1 lines519–546 for corresponding rule patterns. Full axiomatic resource/datatype/metaschema conditions are outside the implementation. The apparent direction error in the page’s line515 summary is not used; formal conditions and the explicitly restricted rule theory are the basis of review.
  • OWL2 Web Ontology Language Primer, Second Edition · Independently opened official second-edition primer §2 lines120–129: descriptive/declarative ontology statements, vocabulary, formal semantics, no mandatory syntactic fields and open-world absence. Read §4.6 lines441–481 for domain/range typing and §4.7 lines482–545 for absent unique-name requirement, explicit same/different individual axioms and their transfer implications. No full OWL semantics or identity implementation claimed.
  • Shapes Constraint Language (SHACL) · Independently read official §3 lines863–883 for data/shapes graphs, reports and no assumption that supplied graphs contain entailed triples; §4.2.1 lines1120–1134 for minCount and value-node cardinality. Confirmed missing_explicit is labeled a local original-record policy, not a SHACL processor or a universal validation/entailment configuration.

Related topics

No matches. Try a synonym or acronym.

0 results shown

Wrap the whole query in double quotes for a phrase match.