# Relation registry for the benchmark (spec sections 2.2, 5.4, 6.2). # # Per relation: # relation_id canonical snake_case name used in outputs # source_relations Wikidata property ids (or source-native names) that map here # direction forward = subject + relation -> object, matching spec 2.2. # inverse = the source stores the pair the other way round. # is_functional the object is single- or approximately single-valued # is_inverse_well_posed object determines subject uniquely -> reverse queries # are meaningful; false means reverse goes to reverse_illposed # answer_type / answer_granularity drive scoring and reporting breakdowns # qualification canonical anchor question, slot {s}. Verified NOT to collide # with any evaluation perturbation template (spec 16). # spec_6_2_flag set when spec section 6.2 names this relation as unsuitable # while the required count of 2,592 needs it. See # outputs/reconstruction_differences.md. # Global switches ------------------------------------------------------------ options: # Spec 2.2 forbids mixing triple directions. P1376 ("X is the capital of Y") # is stored inverse to P36. Flipping it merges those facts into `capital` and # changes the benchmark size, which spec 10 forbids doing silently. Default # false reproduces 2,592; set true only together with a差异 entry. normalize_inverse_direction: false # Spec 6.2 lists developer/manufacturer as unsuitable, but excluding them # cannot reach the required 2,592. Default false keeps them and flags them. drop_spec_6_2_flagged: false relations: - relation_id: native_language source_relations: [P103] direction: forward is_functional: true is_inverse_well_posed: false answer_type: language answer_granularity: entity qualification: "Which language did {s} grow up speaking?" - relation_id: manufacturer source_relations: [P176] direction: forward is_functional: true is_inverse_well_posed: false answer_type: organization answer_granularity: entity qualification: "Which company builds {s}?" spec_6_2_flag: unsuitable_named_in_spec - relation_id: developer source_relations: [P178] direction: forward is_functional: true is_inverse_well_posed: false answer_type: organization answer_granularity: entity qualification: "Which company or person created {s}?" spec_6_2_flag: unsuitable_named_in_spec - relation_id: country source_relations: [P17] direction: forward is_functional: true is_inverse_well_posed: false answer_type: country answer_granularity: entity qualification: "Which country does {s} belong to?" - relation_id: original_network source_relations: [P449] direction: forward is_functional: true is_inverse_well_posed: false answer_type: organization answer_granularity: entity qualification: "Which network first broadcast {s}?" - relation_id: headquarters_location source_relations: [P159] direction: forward is_functional: true is_inverse_well_posed: false answer_type: city answer_granularity: entity qualification: "Which city hosts the main offices of {s}?" - relation_id: capital source_relations: [P36] direction: forward is_functional: true is_inverse_well_posed: true answer_type: city answer_granularity: entity qualification: "Which city is the seat of government of {s}?" - relation_id: capital_of source_relations: [P1376] direction: inverse # stored as (city, capital_of, country) inverse_of: capital is_functional: true is_inverse_well_posed: true answer_type: country answer_granularity: entity qualification: "{s} is the capital city of which country?" - relation_id: owned_by source_relations: [P127] direction: forward is_functional: true is_inverse_well_posed: false answer_type: organization answer_granularity: entity qualification: "Who is the owner of {s}?" - relation_id: sport source_relations: [P641] direction: forward is_functional: true is_inverse_well_posed: false answer_type: sport answer_granularity: entity qualification: "Which sport is {s} associated with?" - relation_id: continent source_relations: [P30] direction: forward is_functional: true is_inverse_well_posed: false answer_type: place answer_granularity: entity qualification: "Which continent is {s} part of?" - relation_id: religion source_relations: [P140] direction: forward is_functional: true is_inverse_well_posed: false answer_type: religion answer_granularity: entity qualification: "Which faith does {s} follow?" - relation_id: applies_to_jurisdiction source_relations: [P1001] direction: forward is_functional: true is_inverse_well_posed: false answer_type: place answer_granularity: entity qualification: "Which jurisdiction does {s} have legal force in?" - relation_id: location source_relations: [P276] direction: forward is_functional: true is_inverse_well_posed: false answer_type: place answer_granularity: entity qualification: "At which location can {s} be found?" - relation_id: country_of_origin source_relations: [P495] direction: forward is_functional: true is_inverse_well_posed: false answer_type: country answer_granularity: entity qualification: "Which country did {s} originate from?" - relation_id: place_of_death source_relations: [P20] direction: forward is_functional: true is_inverse_well_posed: false answer_type: city answer_granularity: entity qualification: "At which place did {s} pass away?" - relation_id: place_of_birth source_relations: [P19] direction: forward is_functional: true is_inverse_well_posed: false answer_type: city answer_granularity: entity qualification: "In which place did {s} come into the world?" - relation_id: located_in source_relations: [P131] direction: forward is_functional: true is_inverse_well_posed: false answer_type: place answer_granularity: entity qualification: "Which administrative region contains {s}?" - relation_id: position_played source_relations: [P413] direction: forward is_functional: true is_inverse_well_posed: false answer_type: occupation answer_granularity: entity qualification: "On the field, which position is {s} assigned to?" - relation_id: location_of_formation source_relations: [P740] direction: forward is_functional: true is_inverse_well_posed: false answer_type: city answer_granularity: entity qualification: "{s} came into existence in which place?" - relation_id: father source_relations: [P22] direction: forward is_functional: true is_inverse_well_posed: false answer_type: person answer_granularity: entity qualification: "{s} is the child of which father?" # Relations present in the enriched pool but EXCLUDED from the benchmark because # the object is genuinely multi-valued, so an accepted-answer set can never be # exhaustive (spec 6.2). Kept here for auditability. excluded_multi_valued: - {source_relations: [P37], reason: official language} - {source_relations: [P106], reason: occupation} - {source_relations: [P27], reason: country of citizenship} - {source_relations: [P31], reason: instance of} - {source_relations: [P279], reason: subclass of} - {source_relations: [P101], reason: field of work} - {source_relations: [P108], reason: employer} - {source_relations: [P463], reason: member of} - {source_relations: [P1303], reason: instrument} - {source_relations: [P364], reason: original language} - {source_relations: [P407], reason: language of work} - {source_relations: [P1412], reason: language spoken} - {source_relations: [P50, P57, P58, P86, P162], reason: creator roles} - {source_relations: [P190], reason: twinned city} - {source_relations: [P47], reason: shares border with} - {source_relations: [P527], reason: has part} - {source_relations: [P264], reason: record label} - {source_relations: [P462], reason: colour} - {source_relations: [P937], reason: work location} - {source_relations: [P136], reason: genre} - {source_relations: [P25], reason: mother} - {source_relations: [IsA, UsedFor, AtLocation, HasA, HasProperty, CapableOf, PartOf, Causes, CausesDesire, Desires, NotDesires, HasSubevent, HasPrerequisite, MotivatedByGoal, MadeOf, ReceivesAction], reason: ConceptNet open-world commonsense} # Relations excluded because they belong to non-core sources (spec 6.1) excluded_non_core: - {source_relations: [date_of_birth, place_of_birth, place_of_death], source: lama_googlere, reason: not a core source}