
metadata_db.pro -- modeling of simple metadata
Synopsis
:- use_module(bio(metadata_db)).
Package
This module is part of the blipkit metadata package. See README.txt
Description
see also - dublin core -- http://dublincore.org/
- idspace(?IDSpace)
-
- id_idspace(?ID, ?IDSpace)
- true if ID is prefixed with IDSpace
- id_localid(?ID, ?IDSpace)
- true if ID is suffixed with IDSpace
- idspace_uri(?IDSpace, ?URI)
- maps IDspaces (aka namespaces) such as GO to URI prefixes -- such as http://purl.org/obo/owl/GO#
- partition(?Partition)
- true if Partition identifies a subset of entities grouped together for some purpose.
paritions can also be seen as extensional views over a resource.
corresponds to subsets in OBO format, or slims in GO
- entity_label(?Entity, ?Label)
- it is recommended (required?) that entities have a single label
use entity_synonym/2 for multiple labels
- entity_alternate_identifier(?Entity, ?AltID)
- both Entity and AltID denote the same entity
same as alt_id
- entity_resource(?Entity, ?Source)
- true if Entity is derived from Source
- Source denotes a logical source, for example an identifier for a publication
- entity_resource(?Entity, ?Resource)
- true if Entity comes from Resource, where Resource is a physical resource -
typically a file, URI or namespace
not to be confused with entity_source/2 - the distinction is logical vs physical
- entity_comment(?Entity, ?Comment)
- true if Comment is a human-readable text comment associated with Entity
- entity_partition(?Entity, ?Partion)
- true if Entity belongs to Partition
- entity_created(?Entity, ?Date)
- true if Entity created on Date
Date is in form YYYY-MM-DD
- entity_obsolete(?Entity, ?Predicate) is nondet
- true if Entity is a retired identifier, and Predicate(Entity) was once true
- same_label_as(?X, ?Y)
- true if X and Y share the same label or synonym.
omits obsoletes
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- entity_replaced_by(Arg1, Arg2)
- entity_consider_or_replaced_by(Arg1, Arg2)
- entity_consider(Arg1, Arg2)
- entity_xref(Arg1, Arg2)
- entity_date(Arg1, Arg2)
- entity_description(Arg1, Arg2)
- entity_description_type(Arg1, Arg2, Arg3)
- entity_example(Arg1, Arg2)
- entity_contributor(Arg1, Arg2)
- entity_creator(Arg1, Arg2)
- entity_publisher(Arg1, Arg2)
- entity_source(Arg1, Arg2)
- same_label_as(Arg1, Arg2, Arg3, Arg4, Arg5)
- entity_label_scope(Arg1, Arg2, Arg3)
- entity_label_or_synonym(Arg1, Arg2)
- synonym_type_desc(Arg1, Arg2, Arg3)
- entity_query(Arg1, Arg2)
- entity_pair_is_non_univocal(Arg1, Arg2, Arg3)
- entity_pair_is_non_univocal(Arg1, Arg2)
- entity_authority(Arg1, Arg2)
- entity_localname(Arg1, Arg2)
- entity_synonym_xref(Arg1, Arg2, Arg3)
- entity_synonym_type(Arg1, Arg2, Arg3)
- entity_synonym(Arg1, Arg2)
- entity_synonym_scope(Arg1, Arg2, Arg3)