LH Relationships
type: Post
modified: 2022-07-11T15:37:10Z
created: 2015-07-23T15:49:06Z
link: https://lhero.org/portfolio/lh-relationships/
has creator: account
has container: posts
encoded: Type: Plugin LH Relationships is a WordPress plugin that enables the creation of true post to post relationships. More information for the rationale driving this is available here. It was built as a core part of the LocalHero project. It is the second in a series of plugins to enable WordPress to be a true semantic blog engine. More documentation and content will be added in time concerning the plugin. The Relationships Unlike other post relationship plugins all relationships are defined as RDF triples i.e. each relationships consists of a subject, a predicate and an object. With each part of the triple being a post object in the wp posts database. In the future it is planned to enhance the realtionships to allow relationships between other wordpress object types like users and somments. Database tables Once activated it will create three tables to enable post to post relationships. Those tables are wpstatement which holds the actual triples, wppredicate which defines the predicates, and wpnamespace which defines the namespaces that the predicates belong too. Download Download LH-Relationships from the WordPress Plugin Directory. Adding Relationships There are two ways of defining triple relationships. Manually For any WordPress post type eg post, page, attachment, and the LH Relationships defined WordPress post type object: lh-uri, this plugin creates a RDF Post Relationship dialogue form to the edit screen. The subject is always the post being edited, the predicate can be defined via the drop down, and to populate the object simply add a post id of another relevant post. The triple relationshipÂ is then added to the database, is available programatically, and is outputted in the rdf feed for further manipulation Machine Tags LH Relationships also allows triple relationships to be specified by the use of machine tags. When a machine tag is added to a post type, LH-Relationships will remove the tag from the post type and add the triple relationship to the database. …
content: Type: Plugin LH Relationships is a WordPress plugin that enables the creation of true post to post relationships. More information for the rationale driving this is available here. It was built as a core part of the LocalHero project. It is the second in a series of plugins to enable WordPress to be a true semantic blog engine. More documentation and content will be added in time concerning the plugin. The Relationships Unlike other post relationship plugins all relationships are defined as RDF triples i.e. each relationships consists of a subject, a predicate and an object. With each part of the triple being a post object in the wp posts database. In the future it is planned to enhance the realtionships to allow relationships between other wordpress object types like users and somments. Database tables Once activated it will create three tables to enable post to post relationships. Those tables are wpstatement which holds the actual triples, wppredicate which defines the predicates, and wpnamespace which defines the namespaces that the predicates belong too. Download Download LH-Relationships from the WordPress Plugin Directory. Adding Relationships There are two ways of defining triple relationships. Manually For any WordPress post type eg post, page, attachment, and the LH Relationships defined WordPress post type object: lh-uri, this plugin creates a RDF Post Relationship dialogue form to the edit screen. The subject is always the post being edited, the predicate can be defined via the drop down, and to populate the object simply add a post id of another relevant post. The triple relationshipÂ is then added to the database, is available programatically, and is outputted in the rdf feed for further manipulation Machine Tags LH Relationships also allows triple relationships to be specified by the use of machine tags. When a machine tag is added to a post type, LH-Relationships will remove the tag from the post type and add the triple relationship to the database. …
topic: plugin