Triple

T18871684
Position Surface form Disambiguated ID Type / Status
Subject Portuguese law E461583 entity
Predicate codification P775 FINISHED
Object Labour Code of Portugal
The Labour Code of Portugal is the primary legal framework governing employment relationships, workers’ rights, and employer obligations in Portugal.
E1346943 NE FINISHED

How this triple was built (4 steps)

Every LLM step that produced this triple, in pipeline order — named-entity classification, the disambiguation choices (the exact options shown, with the pick highlighted), and the generated description. The batch + timestamp of each is in the Provenance table below.

NER Named-entity recognition gpt-5-mini
Instruction
Given a phrase, classify it is english named entity (e.g., persons, organizations, works of art) in Latin script, or not (e.g., literals, dates, URLs, verbose phrases). For disambiguation, the statement where the phrase occurs as object is also given. Please return a JSON object with `phrase` (string, the phrase being analyzed) and `is_ne` (boolean, indicating whether the phrase is a Named Entity).
Input
Phrase: Labour Code of Portugal | Statement: [Portuguese law, codification, Labour Code of Portugal]
NED1 Entity disambiguation (via context triple) gpt-5-mini-2025-08-07
Target entity: Labour Code of Portugal
Context triple: [Portuguese law, codification, Labour Code of Portugal]
  • A. Portuguese law
    Portuguese law is the national legal system of Portugal, encompassing its constitution, statutes, regulations, and judicial decisions that govern public and private life in the country.
  • B. Portuguese Law No. 7/99
    Portuguese Law No. 7/99 is the legislation that officially recognized Mirandese as a co-official regional language in Portugal and granted it specific protection and promotion rights.
  • C. Portuguese Civil Code
    The Portuguese Civil Code is the fundamental body of private law in Portugal, governing areas such as contracts, property, family, and obligations, and serving as a key legal foundation for other branches of law.
  • D. Portuguese Penal Code
    The Portuguese Penal Code is the primary body of criminal law in Portugal, defining crimes, penalties, and general principles of criminal responsibility within the Portuguese legal system.
  • E. Portuguese Commercial Code
    The Portuguese Commercial Code is the primary body of legislation governing commercial and business activities in Portugal, including company law, commercial contracts, and related economic transactions.
  • F. None of above. chosen
  • G. Unsure - the case is ambiguous/there is not enough information to decide.
NEDg Description generation gpt-5.1
Instruction
Generate a one-sentence description of the target entity. 
You are given a context triple in the form (subject, predicate, object), where the object is the target entity. 
# Instructions
Use the triple to infer relevant information about the entity. Describe the entity based on what is most defining, well-known. 
Avoid repeating the information from the triple, unless really essential.
# Response Format
Return only the sentence: "Description: [one-sentence description of the target entity]"
Input
Entity: Labour Code of Portugal
Triple: [Portuguese law, codification, Labour Code of Portugal]
Generated description
The Labour Code of Portugal is the primary legal framework governing employment relationships, workers’ rights, and employer obligations in Portugal.
NED2 Entity disambiguation (via description) gpt-5-mini-2025-08-07
Target entity: Labour Code of Portugal
Target entity description: The Labour Code of Portugal is the primary legal framework governing employment relationships, workers’ rights, and employer obligations in Portugal.
  • A. Portuguese law
    Portuguese law is the national legal system of Portugal, encompassing its constitution, statutes, regulations, and judicial decisions that govern public and private life in the country.
  • B. Portuguese Law No. 7/99
    Portuguese Law No. 7/99 is the legislation that officially recognized Mirandese as a co-official regional language in Portugal and granted it specific protection and promotion rights.
  • C. Portuguese Civil Code
    The Portuguese Civil Code is the fundamental body of private law in Portugal, governing areas such as contracts, property, family, and obligations, and serving as a key legal foundation for other branches of law.
  • D. Portuguese Penal Code
    The Portuguese Penal Code is the primary body of criminal law in Portugal, defining crimes, penalties, and general principles of criminal responsibility within the Portuguese legal system.
  • E. Portuguese Commercial Code
    The Portuguese Commercial Code is the primary body of legislation governing commercial and business activities in Portugal, including company law, commercial contracts, and related economic transactions.
  • F. None of above. chosen

Provenance (5 batches)

The batch behind each pipeline step, in order, with when it ran. Timestamps are batch-level — stages were processed in waves, so the object chain (NER → NED1 → NEDg → NED2) reads in order, but predicate / elicitation batches can sit in a different wave.

Step Stage Batch ID Status When
creating Elicitation batch_69d8dcfb7b9c8190854e7b171b98ea2e completed April 10, 2026, 11:20 a.m.
NER Named-entity recognition batch_69e5c2a9dd04819083133ded30337962 completed April 20, 2026, 6:07 a.m.
NED1 Entity disambiguation (via context triple) batch_6a0575bd2ee48190ab4474a85385c551 completed May 14, 2026, 7:11 a.m.
NEDg Description generation batch_6a05796169a4819094b37d22dc9cb39a completed May 14, 2026, 7:27 a.m.
NED2 Entity disambiguation (via description) batch_6a0579d6b0d48190a5d7afb334cb3658 completed May 14, 2026, 7:29 a.m.
Created at: April 10, 2026, 11:57 a.m.