@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix vcard:   <http://www.w3.org/2006/vcard/ns#> .
@prefix ftr:     <https://w3id.org/ftr#> .
@prefix dcat:    <http://www.w3.org/ns/dcat#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dqv:     <http://www.w3.org/ns/dqv#> .
@prefix dpv:     <https://w3id.org/dpv#> .
@prefix sio:     <http://semanticscience.org/resource/> .
@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@prefix prov:    <http://www.w3.org/ns/prov#> .


# Task Resource: CQ2Term
<https://w3id.org/cq4oe/task/CQ2Term> a prov:Activity, ftr:Benchmark ;
    dcterms:identifier "https://w3id.org/cq4oe/task/CQ2Term" ;
    dcterms:title "Term-level generation of classes and properties from competency questions"@en ;
    rdfs:label "CQ2Term: Term-level generation of classes and properties from competency questions"^^xsd:string ;
    dcat:version "0.1.0"^^xsd:string ;
    ftr:status "Active"@en ;
    dcat:landingPage <https://w3id.org/cq4oe/task/CQ2Term> ;

    dcterms:description """
**Input.** A set of competency questions (CQs) in natural language for a domain.

**Output.** For each CQ, the set of classes and properties required to answer it.

**Purpose.** Evaluate the conceptualisation capability of an LLM. It checks whether the model can recognise and organise the explicit classes and properties expressed in the CQs, without requiring full ontology generation.
""" ;

    dcat:keyword "Term Generation"@en ;
    dcat:keyword "Task"@en ;
    dcat:keyword "Competency Questions"@en ;

    dcterms:hasPart <https://w3id.org/cq4oe/dimension/ClassProperty> ;
    dcterms:hasPart <https://w3id.org/cq4oe/dimension/CQCoverage> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/HardMatch> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/SequenceMatch> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/LevenshteinDistance> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/JaroWinklerDistance> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/SemanticCosineSimilarity> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/AggregatedTop3> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/Precision> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/Recall> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/F1> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/AtLeastOneCoverage> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/MeanCoverage> ;
    dqv:hasQualityMetric <https://w3id.org/cq4oe/metric/FullCoverage> ;

    ftr:hasBenchmark <https://w3id.org/cq4oe/benchmark/ALL> ;
    ftr:supportedBy <https://w3id.org/cq4oe/> ;

    dcterms:creator <https://orcid.org/0009-0001-9475-8159> ;
    dcat:contactPoint <https://orcid.org/0009-0001-9475-8159> ;
    dcterms:publisher <https://oeg.fi.upm.es> ;
    dcterms:publisher <https://ror.org/03n6nwv02> ;
    dcterms:license <http://creativecommons.org/licenses/by/4.0/> .

# Common related resources
<https://orcid.org/0009-0001-9475-8159> a vcard:Individual ;
    vcard:fn "JiaYi Li"^^xsd:string ;
    vcard:hasEmail <mailto:li.jiayi@upm.es> .

<https://oeg.fi.upm.es> a foaf:Organization ;
    rdfs:label "Ontology Engineering Group" ;
    vcard:url <https://oeg.fi.upm.es/> .

<https://ror.org/03n6nwv02> a vcard:Organization ;
    dcterms:identifier "https://ror.org/03n6nwv02" ;
    rdfs:label "Universidad Politécnica de Madrid" ;
    vcard:url <https://www.upm.es/> .

<https://w3id.org/cq4oe/benchmark/ALL> a ftr:Benchmark ;
    dcterms:title "CQ2OE Benchmark"@en ;
    dcterms:description "Competency Questions for Ontology Engineering. A benchmark for evaluating LLM-assisted ontology generation from competency questions."@en .

