Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Google Dataset Search #878

Closed
vidiecan opened this issue Sep 27, 2018 · 2 comments
Closed

Support for Google Dataset Search #878

vidiecan opened this issue Sep 27, 2018 · 2 comments
Milestone

Comments

@vidiecan
Copy link

Support for https://toolbox.google.com/datasetsearch means adding e.g., ld+json markup to Item View

<script type="application/ld+json">
   {
   "@context": {
   "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
   "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
   "schema": "http://schema.org/",
   "xsd": "http://www.w3.org/2001/XMLSchema#"
   },
   "@graph": [
   {
   "@id": "https://datahub.ckan.io/dataset/ecd3b46c-2c1a-4735-bd49-80cefd748e60/resource/fd0119d9-ef3e-469d-8dc2-2e1f09cd2fd3",
   "@type": "schema:DataDownload",
   "schema:contentSize": "195284",
   "schema:description": "This is a sample showing some cooccurences of words in a sentence.",
   "schema:encodingFormat": "RDF",
   "schema:fileType": "text/xml",
   "schema:name": "Link to an example data item within the dataset (RDF/XML)",
   "schema:url": "https://commondatastorage.googleapis.com/ckannet-storage/2012-09-23T174331/sample.xml"
   },
   {
   "@id": "_:N49c2055acd6e4c12a6daedff03af8163",
   "@type": "schema:ContactPoint",
   "schema:contactType": "customer service",
   "schema:email": "patrick.westphal@studserv.uni-leipzig.de",
   "schema:name": "Patrick Westphal",
   "schema:url": "https://datahub.ckan.io"
   },
   {
   "@id": "https://datahub.ckan.io/dataset/ecd3b46c-2c1a-4735-bd49-80cefd748e60/resource/545a35ff-741e-417d-a8d1-1089a03339a5",
   "@type": "schema:DataDownload",
   "schema:contentS

see https://github.com/ufal/clarin-dspace/blob/clarin/dspace-xmlui/src/main/webapp/themes/UFAL/lib/xsl/aspect/artifactbrowser/item-view.xsl

Resources:

@kosarko kosarko added this to the Next milestone milestone Apr 5, 2019
@kosarko
Copy link
Member

kosarko commented Jan 27, 2020

@hajic
Copy link

hajic commented Jan 27, 2020 via email

@kosarko kosarko added the Has PR label Feb 28, 2020
kosarko added a commit that referenced this issue May 11, 2020
New configurables:
 - blacklisted dc.types for which the metadata won't be added
 - by default does not add metadata for items with no bitstreams
kosarko added a commit that referenced this issue May 15, 2020
@kosarko kosarko closed this as completed in 3c21a21 Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants