« December 2009 | Main | February 2010 »

January 28, 2010

API to enable complex objects

Bill Jason and I are working on an API for Complex objects in Fedora.

January 22, 2010

Determining if a perl module exists

In the example below the DOM module does not exist, but LibXML does. perl -MXML::DOM -e 1 Can't locate XML/DOM.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .). BEGIN failed--compilation aborted. perl -MXML::LibXML -e 1 Thanks David Naughton.

Got a Ruby CGI script up

Leaned this site

January 14, 2010

RDFproperties used by Fedora

<br /> <?xml version="1.0" encoding="UTF-8"?><br /> <rdf:RDF base="info:fedora/fedora-system:def/relations-external#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"><br /> <rdf:Property rdf:ID="fedoraRelationship"><br /> <rdfs:comment>The primitive property for all object-to-object relationships in the fedora ontology</rdfs:comment><br /> </rdf:Property><br /> <rdf:Property rdf:ID="isPartOf"><br /> <rdfs:label xml:lang="en-US">Is Part Of</rdfs:label><br /> <rdfs:comment xml:lang="en-US">A definition of the generic part/whole relationship between fedora objects. The subject is a fedora object representing a part and the predicate is a fedora object representing a whole.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#fedoraRelationship"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="hasPart"><br /> <rdfs:label xml:lang="en-US">Has Part</rdfs:label><br /> <rdfs:comment xml:lang="en-US">A definition of the generic part/whole relationship between fedora objects. The subject is a fedora object representing a whole and the predicate is a fedora object representing a part.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#fedoraRelationship"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="isConstituentOf"><br /> <rdfs:label xml:lang="en-US">Is Constituent Of</rdfs:label><br /> <rdfs:comment xml:lang="en-US">This is a refinement of the generic part/whole relationship in the "made of" sense with referential integrity implications. The subject is a fedora object representing a constituent part and the predicate is a fedora object representing a whole of which the subject is a constituent. The constituent part cannot stand alone in any meaningful way without reference to the whole. </rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#isPartOf"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="hasConstituent"><br /> <rdfs:label xml:lang="en-US">Has Constituent</rdfs:label><br /> <rdfs:comment xml:lang="en-US">This is a refinement of the generic part/whole relationship in the "made of" sense with referential integrity implications. The subject is a fedora object representing a whole that is made of constituent parts and the predicate is a fedora object representing one of the constituent parts. The whole loses its integrity if the constituent part is removed. </rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#hasPart"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="isMemberOf"><br /> <rdfs:label xml:lang="en-US">Is Member Of</rdfs:label><br /> <rdfs:comment xml:lang="en-US">This is a refinement of the generic part/whole relationship that defines a set membership relationship between fedora objects. The subject is a fedora object representing a member of a set and the predicate is a fedora object representing a whole set of which the subject is a member. The member can be separated from the set and still stand alone as an object in its own right.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#isPartOf"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="hasMember"><br /> <rdfs:label xml:lang="en-US">Has Member</rdfs:label><br /> <rdfs:comment xml:lang="en-US">This is a refinement of the generic part/whole relationship that defines a set membership relationship between fedora objects. The subject is a fedora object representing a whole set and the predicate is a fedora object representing a member in the set. The set does not lose its integrity if a member is removed from the set. </rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#hasPart/"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="isSubsetOf"><br /> <rdfs:label xml:lang="en-US">Is Subset Of</rdfs:label><br /> <rdfs:comment xml:lang="en-US">This is a refinement of the generic set membership relationship to indicate the notion of a subset. The subject is a fedora object that represents a subset and the predicate is a fedora object that represents the set of which the subject is a subset.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#isMemberOf"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="hasSubset"><br /> <rdfs:label xml:lang="en-US">Has Subset</rdfs:label><br /> <rdfs:comment xml:lang="en-US">This is a refinement of the generic set membership to indicate the notion of a subset. The subject is a fedora object that represents a set of objects and the predicate is a fedora object that represents a subset of the subject set.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#hasMember"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="isMemberOfCollection"><br /> <rdfs:label xml:lang="en-US">Is Member Of Collection</rdfs:label><br /> <rdfs:comment xml:lang="en-US">This is a refinement of the generic membership relationship to indicate the notion of a digital collection. The subject is a fedora object representing an item in a digital collection and the predicate is a fedora object representing a whole digital collection. </rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#isMemberOf"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="hasCollectionMember"><br /> <rdfs:label xml:lang="en-US">Has Collection Member</rdfs:label><br /> <rdfs:comment xml:lang="en-US">This is a refinement of the generic membership to indicate the notion of a digital collection. The subject is a fedora object representing a whole digital collection and the predicate is a fedora object representing an item that is a member of the digital collection.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#hasMember"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="isDerivationOf"><br /> <rdfs:label xml:lang="en-US">Is Derivation Of</rdfs:label><br /> <rdfs:comment xml:lang="en-US">A definition of a generic derivation relationship between fedora objects. The subject is a fedora object that represents a derivation of the predicate which is another fedora object.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#fedoraRelationship"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="hasDerivation"><br /> <rdfs:label xml:lang="en-US">Has Derivation</rdfs:label><br /> <rdfs:comment xml:lang="en-US">A definition of a generic derivation relationship between fedora objects. The subject is a fedora object and the predicate is a fedora object that represents a derivation of the subject.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#fedoraRelationship"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="isDependentOf"><br /> <rdfs:label xml:lang="en-US">Is Dependent Of</rdfs:label><br /> <rdfs:comment xml:lang="en-US">A definition of a generic dependency relationship between fedora objects. The subject is a fedora object that represents a dependent and the predicate is another fedora object that is depended upon by the subject.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#fedoraRelationship"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="hasDependent"><br /> <rdfs:label xml:lang="en-US">Has Dependent</rdfs:label><br /> <rdfs:comment xml:lang="en-US">A definition of a generic dependency relationship between fedora objects. The subject is a fedora object that is depended upon and the predicate is a fedora object that represents a dependent of the subject.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#fedoraRelationship"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="isDescriptionOf"><br /> <rdfs:label xml:lang="en-US">Is Description Of</rdfs:label><br /> <rdfs:comment>A generic descriptive relationship between fedora objects. The subject is a fedora object that represents a descriptive entity and the predicate is a fedora object that is being described in some manner by the subject.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#fedoraRelationship"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="HasDescription"><br /> <rdfs:label xml:lang="en-US">Has Description</rdfs:label><br /> <rdfs:comment>A generic descriptive relationship between fedora objects. The subject is a fedora object that is being described in some manner and the predicate is a fedora object that represents a descriptive entity that is about the subject. </rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#fedoraRelationship"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="isMetadataFor"><br /> <rdfs:label xml:lang="en-US">Is Metadata For</rdfs:label><br /> <rdfs:comment>A refinement of the generic descriptive relationship indicating a metadata relationship between fedora objects. The subject is a fedora object that represents metadata and the predicate is a fedora object for which the subject serves as metadata.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#isDescriptionOf"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="HasMetadata"><br /> <rdfs:label xml:lang="en-US">Has Metadata</rdfs:label><br /> <rdfs:comment>A refinement of the generic descriptive relationship indicating a metadata relationship between fedora objects. The subject is a fedora object and the predicate is a fedora object that represents metadata about the subject. </rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#hasDescription"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="isAnnotationOf"><br /> <rdfs:label xml:lang="en-US">Is Annotation Of</rdfs:label><br /> <rdfs:comment>A refinement of the generic descriptive relationship indicating a commentary relationship between fedora objects. The subject is a fedora object that represents an annotation or comment and the predicate is a fedora object that is being commented upon by the subject.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#isDescriptionOf"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="HasAnnotation"><br /> <rdfs:label xml:lang="en-US">Has Annotation</rdfs:label><br /> <rdfs:comment>A refinement of the generic descriptive relationship indicating a commentary relationship between fedora objects. The subject is a fedora object that is being commented on and the predicate is a fedora object that represents an annotation or comment about the subject. </rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#hasDescription"/><br /> </rdf:Property><br /> <rdf:Property rdf:ID="hasEquivalent"><br /> <rdfs:label xml:lang="en-US">Has Equivalent</rdfs:label><br /> <rdfs:comment xml:lang="en-US">A definition of a generic equivalence relationship between fedora objects. The subject is a fedora object that is equivalent to the predicate which is another fedora objects.</rdfs:comment><br /> <rdfs:subPropertyOf rdf:resource="#fedoraRelationship"/><br /> </rdf:Property><br /> </rdf:RDF><br />

January 11, 2010

UML for media

UML.jpg