{"id":9098,"date":"2026-08-25T01:07:05","date_gmt":"2026-08-25T01:07:05","guid":{"rendered":"https:\/\/metaphaze.com\/gazettebuilder\/?page_id=9098"},"modified":"2026-08-25T01:07:05","modified_gmt":"2026-08-25T01:07:05","slug":"documentation-semantic-relationships","status":"publish","type":"page","link":"https:\/\/metaphaze.com\/gazettebuilder\/documentation-semantic-relationships\/","title":{"rendered":"Documentation: Semantic Relationships"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Semantic Relationships connect one GazetteBuilder Entry to another using the controlled vocabulary defined under:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>GazetteBuilder \u2192 Relationship Definitions<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"845\" src=\"https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderEntryEditSemanticRelationships-1024x845.png\" alt=\"\" class=\"wp-image-9099\" srcset=\"https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderEntryEditSemanticRelationships-1024x845.png 1024w, https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderEntryEditSemanticRelationships-300x248.png 300w, https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderEntryEditSemanticRelationships-768x634.png 768w, https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderEntryEditSemanticRelationships.png 1348w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">They are entered on the source Entry in the <strong>Relationships<\/strong> field and use the format:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Relationship Name: Target Entry<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Enter one relationship per line.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Located in: Syrtis Major<br>In District: Residency<br>On Street: Bedford Road<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Relationship Name<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The text before the colon must match the <strong>Name<\/strong> of an existing Relationship Definition.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if the Relationship Definition uses:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Name: Located in<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">then the Entry should use:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Located in: Syrtis Major<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Relationship names are controlled vocabulary. Do not substitute alternate wording unless a separate Relationship Definition exists for that wording.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Target Entry<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The text after the colon identifies the Entry the relationship points to.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Located in: Syrtis Major<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">means that the current Entry is related to the Entry named <strong>Syrtis Major<\/strong> through the <strong>Located in<\/strong> relationship.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The target must also be compatible with the Target Type configured in the Relationship Definition.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Source and Target Types<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Relationship Definitions specify which Entry Types may appear on each side of the relationship.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Relationship: Located in<br>Source Type: Location<br>Target Type: Location<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">allows a Location Entry such as the Dorchester Hotel to declare:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Located in: Syrtis Major<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the source or target Entry Type does not match the definition, the relationship does not satisfy that Relationship Definition.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Entering Relationships on an Entry<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open or edit an Entry and locate the <strong>Relationships<\/strong> field in the GazetteBuilder Entry Details section.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enter each declaration on its own line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Located in: Syrtis Major<br>In District: Residency<br>On Street: Bedford Road<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The Relationship Name comes from the Relationship Definition. The Target Entry is the Entry being referenced.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike semantic references in the article text, relationships are entered in this dedicated metadata field rather than inside <code>[[double brackets]]<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Forward Presentation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A resolved relationship can be presented on the source Entry as part of its relationship or reference information.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, the Dorchester Hotel might declare:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Located in: Syrtis Major<br>In District: Hotel District<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">GazetteBuilder can then present those relationships on the Dorchester Hotel Entry with links to the resolved targets.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The relationship is stored once on the source Entry.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reverse Presentation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The same relationship can also be used in the opposite direction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each Relationship Definition includes an <strong>Inverse Label<\/strong>. GazetteBuilder can use that label to build a reverse listing on the Target Entry.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, the definition:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Name: Located in<br>Inverse Label: Locations<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">allows Entries such as:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Dorchester Hotel \u2192 Located in \u2192 Syrtis Major<br>Government House \u2192 Located in \u2192 Syrtis Major<br>Residency Park \u2192 Located in \u2192 Syrtis Major<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">to contribute automatically to a section on the Syrtis Major Entry such as:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Locations<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Dorchester Hotel<\/li>\n\n\n\n<li>Government House<\/li>\n\n\n\n<li>Residency Park<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The Syrtis Major Entry does not need to maintain that list manually.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"775\" height=\"980\" src=\"https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderSemanticRelationshipsDisplay.png\" alt=\"\" class=\"wp-image-9100\" srcset=\"https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderSemanticRelationshipsDisplay.png 775w, https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderSemanticRelationshipsDisplay-237x300.png 237w, https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderSemanticRelationshipsDisplay-768x971.png 768w\" sizes=\"auto, (max-width: 775px) 100vw, 775px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Different Relationships Can Produce Different Reverse Sections<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Inverse Label belongs to the Relationship Definition, so each kind of relationship can use wording appropriate to its meaning.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Name: In District<br>Inverse Label: Locations in this District<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">can generate:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Locations in this District<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">while:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Name: Located in<br>Inverse Label: Locations<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">can generate:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Locations<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This lets Gazette Builder organize related Entries according to the meaning of the relationship rather than simply collecting every backlink into one list.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"429\" src=\"https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderSemanticRelationshipsDisplay2.png\" alt=\"\" class=\"wp-image-9101\" srcset=\"https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderSemanticRelationshipsDisplay2.png 756w, https:\/\/metaphaze.com\/gazettebuilder\/wp-content\/uploads\/2026\/08\/GazetteBuilderSemanticRelationshipsDisplay2-300x170.png 300w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Relationship Definitions Control Valid Usage<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before entering a relationship, check the relevant Relationship Definition.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It determines:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>the canonical Relationship Name;<\/li>\n\n\n\n<li>the permitted Source Entry Type;<\/li>\n\n\n\n<li>the permitted Target Entry Type;<\/li>\n\n\n\n<li>the Inverse Label used for reverse presentation.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">ID: in_district<br>Name: In District<br>Inverse Label: Locations in this District<br>Source Type: Location<br>Target Type: Location<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">supports a declaration such as:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">In District: Residency<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">on a Location Entry when <strong>Residency<\/strong> is also a Location Entry.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Relationships and Semantic References Are Different<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Both features connect Entries, but they serve different purposes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A semantic reference appears in normal article content:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">[[Syrtis Major]]<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It means that the article refers to the Syrtis Major Entry.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A semantic relationship appears in the Relationships field:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Located in: Syrtis Major<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It tells Gazette Builder what the connection between the two Entries means.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An Entry may use both.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, the prose might say:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">The hotel stands near the colonial center of [[Syrtis Major]].<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">while its Relationships field contains:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-green-cyan-background-color has-background\">Located in: Syrtis Major<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first provides an in-text semantic reference. The second provides structured relationship information that GazetteBuilder can use for forward and reverse presentation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Editing Relationship Definitions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Because Entry relationships rely on the canonical Name defined under <strong>Relationship Definitions<\/strong>, changes to an existing definition can affect relationships already entered on Entries.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When changing or deleting a Relationship Definition, review the Entries that use it and update their relationship declarations where necessary.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Typical Workflow<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To add a Semantic Relationship:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Confirm that the required Relationship Definition exists.<\/li>\n\n\n\n<li>Confirm that the source Entry uses an allowed Source Type.<\/li>\n\n\n\n<li>Confirm that the target Entry uses an allowed Target Type.<\/li>\n\n\n\n<li>Open the source Entry.<\/li>\n\n\n\n<li>Add a line to the <strong>Relationships<\/strong> field using:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">Relationship Name: Target Entry<\/pre>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>Save the Entry.<\/li>\n\n\n\n<li>View the Entry to confirm the forward relationship.<\/li>\n\n\n\n<li>View the Target Entry to confirm the expected inverse listing where applicable.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Semantic Relationships therefore let Gazette Builder use one structured declaration in two useful ways: to describe the connection on the source Entry and to organize related Entries automatically on the target Entry.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Semantic Relationships connect one GazetteBuilder Entry to another using the controlled vocabulary defined under: GazetteBuilder \u2192 Relationship Definitions They are entered on the source Entry in the Relationships field and use the format: Relationship Name: Target Entry Enter one relationship per line. For example: Located in: Syrtis MajorIn District: ResidencyOn Street: Bedford Road Relationship Name [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9098","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/metaphaze.com\/gazettebuilder\/wp-json\/wp\/v2\/pages\/9098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metaphaze.com\/gazettebuilder\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/metaphaze.com\/gazettebuilder\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/metaphaze.com\/gazettebuilder\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/metaphaze.com\/gazettebuilder\/wp-json\/wp\/v2\/comments?post=9098"}],"version-history":[{"count":1,"href":"https:\/\/metaphaze.com\/gazettebuilder\/wp-json\/wp\/v2\/pages\/9098\/revisions"}],"predecessor-version":[{"id":9102,"href":"https:\/\/metaphaze.com\/gazettebuilder\/wp-json\/wp\/v2\/pages\/9098\/revisions\/9102"}],"wp:attachment":[{"href":"https:\/\/metaphaze.com\/gazettebuilder\/wp-json\/wp\/v2\/media?parent=9098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}