diff --git a/src/main/java/w2phtml/rdf/DocumentStructure.java b/src/main/java/w2phtml/rdf/DocumentStructure.java
index 25f085a..c6decc5 100644
--- a/src/main/java/w2phtml/rdf/DocumentStructure.java
+++ b/src/main/java/w2phtml/rdf/DocumentStructure.java
@@ -18,6 +18,8 @@ import org.apache.jena.ontology.OntModel;
import org.apache.jena.rdf.model.ModelFactory;
import org.apache.jena.rdf.model.Resource;
import org.apache.jena.vocabulary.*;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import w2phtml.xhtml.XhtmlConfig;
import w2phtml.xhtml.XhtmlDocument;
@@ -26,6 +28,24 @@ import org.apache.jena.rdf.model.Property;
public class DocumentStructure {
+
+ private static final String AFFILIATED_ORGANIZATION_POSTAL_CODE = "affiliated organization postal code";
+
+ private static final String AFFILIATED_ORGANIZATION_ADDRESS = "affiliated organization address";
+
+ private static final String AFFILIATED_ORGANIZATION_OFFICIAL_NAME = "affiliated organization official name";
+
+ private static final String AFFILIATED_ORGANIZATION_NAME = "affiliated organization name";
+
+ private static final String AUTHOR_INITIALS = "author initials";
+
+ private static final String AUTHOR_EMAIL = "author email";
+
+ private static final String AUTHOR_FAMILY = "author family";
+
+ private static final Logger logger = LoggerFactory.getLogger(DocumentStructure.class);
+
+ private static final String AUTHOR_GIVEN_NAME = "author given name";
private static final String MODIFICATION_TIME = "modificationTime";
private static final String HTML_EXCERPT_PROPERTY = "htmlExcerpt";
private static final String TOCITEM = "TOCItem";
@@ -211,80 +231,79 @@ public class DocumentStructure {
mainResource.addProperty( property, todayAsString);
}
- private void addAuthor(Resource resource, DocumentPart docPart) {
+ private void addAuthor(Resource excerpt, DocumentPart docPart) {
String order = docPart.getOrder();
ArrayList