pathlib
E431915
pathlib is a Python standard library module that provides an object-oriented interface for working with filesystem paths.
All labels observed (1)
| Label | Occurrences |
|---|---|
| pathlib canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T4325170 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: pathlib Context triple: [Python standard library, includesModule, pathlib]
-
A.
PATH
PATH is a rapid transit rail system connecting Manhattan in New York City with neighboring cities in northern New Jersey.
-
B.
PATH
PATH is an international nonprofit organization focused on improving global health through innovation, partnerships, and the development and delivery of affordable health technologies and solutions.
-
C.
Patchway
Patchway is a suburban town and civil parish in South Gloucestershire, England, situated near Bristol and known for its post-war housing estates and proximity to major transport links.
-
D.
PyPy
PyPy is a high-performance alternative Python interpreter featuring a Just-In-Time (JIT) compiler designed to significantly speed up the execution of Python programs.
-
E.
PEP 635
PEP 635 is a Python Enhancement Proposal that provides a detailed rationale and motivation for the structural pattern matching feature introduced in Python 3.10.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: pathlib Target entity description: pathlib is a Python standard library module that provides an object-oriented interface for working with filesystem paths.
-
A.
PATH
PATH is a rapid transit rail system connecting Manhattan in New York City with neighboring cities in northern New Jersey.
-
B.
PATH
PATH is an international nonprofit organization focused on improving global health through innovation, partnerships, and the development and delivery of affordable health technologies and solutions.
-
C.
Patchway
Patchway is a suburban town and civil parish in South Gloucestershire, England, situated near Bristol and known for its post-war housing estates and proximity to major transport links.
-
D.
PyPy
PyPy is a high-performance alternative Python interpreter featuring a Just-In-Time (JIT) compiler designed to significantly speed up the execution of Python programs.
-
E.
PEP 635
PEP 635 is a Python Enhancement Proposal that provides a detailed rationale and motivation for the structural pattern matching feature introduced in Python 3.10.
- F. None of above. chosen
Statements (45)
| Predicate | Object |
|---|---|
| instanceOf | Python standard library module ⓘ |
| abstracts | filesystem path semantics ⓘ |
| containsClass |
Path
ⓘ
PosixPath ⓘ PurePath ⓘ PurePosixPath NERFINISHED ⓘ PureWindowsPath ⓘ WindowsPath ⓘ |
| definedIn | Python standard library NERFINISHED ⓘ |
| designGoal |
be more intuitive than os.path
ⓘ
provide high-level path operations ⓘ |
| documentationUrl | https://docs.python.org/3/library/pathlib.html ⓘ |
| hasFunctionality |
checking file types
ⓘ
copying path objects ⓘ creating directories ⓘ reading symbolic link targets ⓘ removing directories ⓘ removing files ⓘ |
| introducedInVersion | Python 3.4 NERFINISHED ⓘ |
| license | Python Software Foundation License NERFINISHED ⓘ |
| maintainedBy | Python core developers ⓘ |
| moduleName | pathlib ⓘ |
| partOf | CPython distribution ⓘ |
| programmingLanguage | Python ⓘ |
| provides | object-oriented interface for filesystem paths ⓘ |
| replaces | os.path for many use cases ⓘ |
| supports |
POSIX paths
ⓘ
Unicode paths ⓘ Windows paths ⓘ absolute paths ⓘ file ownership queries ⓘ file permission queries ⓘ path normalization ⓘ relative paths ⓘ timestamp queries ⓘ |
| supportsOperation |
directory iteration
ⓘ
file metadata access ⓘ file reading ⓘ file writing ⓘ path concatenation with '/' operator ⓘ path existence checking ⓘ path globbing ⓘ path resolution ⓘ relative path computation ⓘ symlink handling ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: pathlib Description of subject: pathlib is a Python standard library module that provides an object-oriented interface for working with filesystem paths.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.