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

Context issue: data_acquisition_sdo_context.jsonld #2

Open
samuel-kerrien opened this issue Nov 13, 2019 · 2 comments
Open

Context issue: data_acquisition_sdo_context.jsonld #2

samuel-kerrien opened this issue Nov 13, 2019 · 2 comments

Comments

@samuel-kerrien
Copy link

Hi guys,

I was looking through all SDO contexts and I noticed that one of them has prefixes outside the @context.

https://github.com/datatagsuite/context/blob/master/sdo/data_acquisition_sdo_context.jsonld

specifically I am talking about the startDate and endDate.

here is the payload:

{
  "@context": {
    "sdo": "https://schema.org/",
    "DataAcquisition": "sdo:CreateAction",
    "identifier": {
      "@id": "sdo:identifier",
      "@type": "sdo:Text"
    },
    "name": {
      "@id": "sdo:name",
      "@type": "sdo:Text"
    },
    "description": {
      "@id": "sdo:description",
      "@type": "sdo:Text"
    },
    "licenses": "sdo:license",
    "version": "sdo:version"
  },
  "startDate": {
    "@id": "sdo:startTime",
    "@type": "sdo:DateTime"
  },
  "endDate": {
    "@id": "sdo:endTime",
    "@type": "sdo:DateTime"
  }
}
@proccaserra
Copy link
Member

proccaserra commented Nov 13, 2019

another good catch @samuel-kerrien, thx for reporting. I have now pushed a fix that should hopefully close this issue.

  • so I dropped licenses and version tags which were outside the scopes and copied performedBy and location from Activity.

  • TODO: revisit markup for input and output

@samuel-kerrien
Copy link
Author

Great, thanks for the quick turn around ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants