Sha256: a7a17f06997cc012127341004c25fdabe14646f408666e3fef5eff00283fc9d1

Contents?: true

Size: 1.88 KB

Versions: 15

Compression:

Stored size: 1.88 KB

Contents

%section
	= fullwidth do
		= section_title("Linked Data", true)
		- case resource_class_name
			- when "dataset"
				%p
					This is a linked data dataset containing
					%strong
						- if (resource.size)
							= number_to_human(resource.size).downcase
					RDF triples about the topic, which can be queried using our <a href="/docs#ways-to-access-data">APIs</a> or <a  href="/sparql">SPARQL endpoint</a>.
				%p{style:"margin-bottom:24px;"}
					RDF triples in datasets are updated atomically, and share descriptive metadata.
			- when "ontology"
				%p
					An <strong><em>ontology</em></strong> is a set of <strong><em>classes</em></strong> and <strong><em>properties</em></strong> about a certain topic area. These can be used for resources' types and properties (predicates) respectively.</p>
			- when 'concept scheme'
				%p
					A <strong><em>concept scheme</em></strong> is a collection of <strong><em>concepts</em></strong> about a topic. A Concept scheme can act as a list of possible values for a certain property of a resource (i.e. possible objects for RDF triples).</p>

- if resource_class_name == "dataset" # TODO: downloads for ontologies
	= row do
		.pmd_box_half
			%h4 Named Graph
			- if resource.data_graph_uri
				%p
					Resources in this dataset are stored a named graph. This graph can be used in SPARQL queries to restrict results to this dataset."
				= content_tag :kbd, resource.data_graph_uri, class:'click_to_select', style:"font-size:1em; margin-bottom:12px; display:block;"
				%p
					For a live example of how to use this,
					= link_to_sparql_tool_with_graph(resource.data_graph_uri)
					\.
			- else
				%p
					No named graph is available.
		.pmd_box_half
			%h4 Download
			%p
				The complete dataset is also available for download:
			= link_to resource.data_dump.to_s, class:"btn icon-box-add type-a" do
				<span>N-Triples<small>(#{resource.size || "all"}  triples)</small></span>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
publish_my_data-1.3.18 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.17 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.16 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.15 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.14 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.13 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.12 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.11 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.10 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.9 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.8 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.7 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.6 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.5 app/views/publish_my_data/stripes/_linked_data.html.haml
publish_my_data-1.3.4 app/views/publish_my_data/stripes/_linked_data.html.haml