92 lines
3.2 KiB
YAML
92 lines
3.2 KiB
YAML
id: https://nde.nl/ontology/hc/classes/LogoClaim
|
|
name: LogoClaim
|
|
title: LogoClaim
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
prov: http://www.w3.org/ns/prov#
|
|
xsd: http://www.w3.org/2001/XMLSchema#
|
|
imports:
|
|
- linkml:types
|
|
- ../slots/has_or_had_type
|
|
- ./ClaimType
|
|
- ./ClaimTypes
|
|
default_range: string
|
|
classes:
|
|
LogoClaim:
|
|
description: "Individual logo or favicon claim extracted from a webpage, including the image URL, CSS selector for provenance, and extraction metadata.\nOntology mapping rationale: - class_uri is prov:Entity because this represents a claim/assertion\n with provenance tracking\n- close_mappings includes schema:ImageObject as this describes an image"
|
|
class_uri: prov:Entity
|
|
close_mappings:
|
|
- schema:ImageObject
|
|
related_mappings:
|
|
- prov:Derivation
|
|
slots:
|
|
- has_or_had_type
|
|
slot_usage:
|
|
has_or_had_type:
|
|
range: ClaimType
|
|
inlined: true
|
|
required: false
|
|
description: 'MIGRATED from claim_type per slot_fixes.yaml (Rule 53/56, 2026-01-19).
|
|
|
|
Type of logo claim (favicon_url, logo_url, og_image, apple_touch_icon, etc.).
|
|
|
|
Uses ClaimType class hierarchy.
|
|
|
|
'
|
|
attributes:
|
|
claim_value:
|
|
range: uri
|
|
description: URL of the logo/favicon image
|
|
source_url:
|
|
range: uri
|
|
description: URL of the page where this logo was found
|
|
css_selector:
|
|
range: string
|
|
description: CSS selector path to the element containing the logo
|
|
retrieved_on:
|
|
range: datetime
|
|
description: When this claim was extracted
|
|
extraction_method:
|
|
range: string
|
|
description: Specific extraction method (crawl4ai_link_rel, crawl4ai_og_image, playwright_screenshot, etc.)
|
|
favicon_type:
|
|
range: string
|
|
description: MIME type or format of favicon (ico, png, svg, etc.)
|
|
favicon_sizes:
|
|
range: string
|
|
description: Sizes attribute from favicon link element (e.g., "32x32", "any")
|
|
logo_alt_text:
|
|
range: string
|
|
description: Alt text from logo image element
|
|
logo_dimensions:
|
|
range: string
|
|
description: Dimensions of logo image (e.g., "200x100")
|
|
alt_text:
|
|
range: string
|
|
description: Alt text from image element (alternative to logo_alt_text)
|
|
detection_confidence:
|
|
range: Any
|
|
any_of:
|
|
- range: float
|
|
- range: string
|
|
description: Confidence score for logo detection (0.0 to 1.0 as float, or 'high'/'medium'/'low' as string)
|
|
has_primary_logo:
|
|
range: boolean
|
|
description: Whether this is identified as the primary/main logo
|
|
logo_type:
|
|
range: string
|
|
description: Type of logo (header_logo, footer_logo, og_image, etc.)
|
|
extraction_timestamp:
|
|
range: string
|
|
description: ISO timestamp when this logo claim was extracted
|
|
provenance:
|
|
range: Any
|
|
description: Provenance metadata for this logo claim
|
|
inlined: true
|
|
annotations:
|
|
specificity_score: 0.1
|
|
specificity_rationale: Generic utility class/slot created during migration
|
|
custodian_types: "['*']"
|
|
custodian_types_rationale: Universal utility concept
|