diff --git a/src/main/resources/com/atomgraph/linkeddatahub/ldh.ttl b/src/main/resources/com/atomgraph/linkeddatahub/ldh.ttl index fc9eec4a1..9823751df 100644 --- a/src/main/resources/com/atomgraph/linkeddatahub/ldh.ttl +++ b/src/main/resources/com/atomgraph/linkeddatahub/ldh.ttl @@ -91,6 +91,11 @@ rdfs:label "Series variable name" ; rdfs:isDefinedBy : . +:template a owl:ObjectProperty ; + rdfs:domain rdfs:Class ; + rdfs:label "Class-level content block" ; + rdfs:isDefinedBy : . + # CLASSES # constructor @@ -473,6 +478,11 @@ ORDER BY ?title """ ; rdfs:isDefinedBy : . +:ChildrenView a :View ; + rdfs:label "Children view" ; + spin:query :SelectChildren ; + rdfs:isDefinedBy : . + # CLIENT TERMS. TO-DO: move to a separate Web-Client ontology? ac:Chart a rdfs:Class, owl:Class ; @@ -566,31 +576,14 @@ dh:Item spin:constructor :TitleConstructor, :DescriptionConstructor, :PrimaryTop WHERE {}""" ; rdfs:isDefinedBy : . -:ChildrenViewContructor a :Constructor ; - rdfs:label "Container content constructor" ; - sp:text """ - PREFIX ldh: - PREFIX rdf: - PREFIX spin: - - CONSTRUCT { - $this rdf:_1 [ a ldh:Object ; - rdf:value [ - a ldh:View ; - spin:query ldh:SelectChildren - ] - ] . - } - WHERE {}""" ; - rdfs:isDefinedBy : . - :MissingContainer a :MissingPropertyValue ; rdfs:label "Missing container" ; rdfs:comment "Requires items to have a parent container" ; sp:arg1 sioc:has_container ; rdfs:isDefinedBy : . -dh:Container spin:constructor :TitleConstructor, :DescriptionConstructor, :PrimaryTopicConstructor, :ChildrenViewContructor . +dh:Container spin:constructor :TitleConstructor, :DescriptionConstructor, :PrimaryTopicConstructor ; + :template :ChildrenView . :MissingParent a :MissingPropertyValue ; rdfs:label "Missing parent" ; diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/layout.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/layout.xsl index 22cc4faf5..940b29e8d 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/layout.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/layout.xsl @@ -549,7 +549,7 @@ LIMIT 100 -