Difference between revisions of "API:EPrints/DataObj/Triple"

From EPrints Documentation
Jump to: navigation, search
(Created page with "<!-- Pod2Wiki=_preamble_ This page has been automatically generated from the EPrints 3.4 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment'...")
 
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
 
==DESCRIPTION==
 
==DESCRIPTION==
 
Provides a subject-predicate-object representation of a piece of  metadata.
 
Provides a subject-predicate-object representation of a piece of  metadata.
 
Inherits from [[API:EPrints/DataObj|EPrints::DataObj]].
 
  
 
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
 
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
Line 125: Line 123:
  
 
The XSD language for the object if it is not a value rather than a resource.
 
The XSD language for the object if it is not a value rather than a resource.
 +
 +
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
 +
<span style='display:none'>User Comments</span>
 +
<!-- Edit below this comment -->
 +
 +
 +
<!-- Pod2Wiki= -->
 +
</div>
 +
<!-- Pod2Wiki=head_references_and_related_objects -->
 +
==REFERENCES AND RELATED OBJECTS==
 +
None.
 +
 +
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
 +
<span style='display:none'>User Comments</span>
 +
<!-- Edit below this comment -->
 +
 +
 +
<!-- Pod2Wiki= -->
 +
</div>
 +
<!-- Pod2Wiki=head_instance_variables -->
 +
==INSTANCE VARIABLES==
 +
See [[API:EPrints/DataObj#INSTANCE_VARIABLES|EPrints::DataObj]].
  
 
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
 
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>

Latest revision as of 18:46, 10 January 2022

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


API: Core API

Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki


NAME

EPrints::DataObj::Triple - RDF Triple

User Comments


DESCRIPTION

Provides a subject-predicate-object representation of a piece of metadata.

User Comments


CORE METADATA FIELDS

User Comments


tripleid (counter)

Unique ID for the triple.

User Comments


primary_resource (id)

The local URI of the data object from which this data comes.

User Comments


secondary_resource (id)

The URI of the other resource, if any, to which this triple refers. E.g. the event/ext-foo

User Comments


subject (longtext)

The subject part of the triple.

User Comments


predicate (longtext)

The predicate part of the triple.

User Comments


object (longtext)

The object part of the triple.

User Comments


type (longtext)

The XSD datatype for the object if it is not a value rather than a resource.

User Comments


lang (longtext)

The XSD language for the object if it is not a value rather than a resource.

User Comments


REFERENCES AND RELATED OBJECTS

None.

User Comments


INSTANCE VARIABLES

See EPrints::DataObj.

User Comments


METHODS

User Comments


Class Methods

User Comments


get_system_field_info

$thing = EPrints::DataObj::Triple->get_system_field_info

Core fields contained in a Web access.

User Comments


get_dataset_id

$dataset = EPrints::DataObj::Triple->get_dataset_id

Returns the ID of the EPrints::DataSet object to which this record belongs.

User Comments


SEE ALSO

EPrints::DataObj and EPrints::DataSet.

User Comments


COPYRIGHT

© Copyright 2022 University of Southampton.

EPrints 3.4 is supplied by EPrints Services.

http://www.eprints.org/eprints-3.4/

LICENSE

This file is part of EPrints 3.4 http://www.eprints.org/.

EPrints 3.4 and this file are released under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation unless otherwise stated.

EPrints 3.4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with EPrints 3.4. If not, see http://www.gnu.org/licenses/.

User Comments