You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Old way:

{
	"basic_caltech101_score": [
	  "-0.813741"
	],
	"basic_caltech101_category": [
	  "BACKGROUND_Google"
	]
}

 

New way long form (don't use in production! just for show):

{
  "@context": {
    "extractor_id": {
      "@id": "cat:extractor/id",
      "@type": "@id"
    },
    "user_id": {
      "@id": "cat:user/id",
      "@type": "@id"
    },
    "created_at": {
      "@id": "http://purl.org/dc/terms/created",
      "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
    },
    "agent": {
      "@id": "http://www.w3.org/ns/prov#Agent"
    },
    "user": "cat:user",
    "extractor": "cat:extractor",
    "content": {
      "@id": "https://clowder.ncsa.illinois.edu/metadata#content"
    },
    "cal": "https://bd-api.ncsa.illinois.edu/dts/api/extractors/ncsa.cv.caltech101#"
  },
  //"created_at": "Mon Mar 07 09:30:14 CST 2016",
  "agent": {
    "@type": "cat:extractor",
    "cat:name": "ncsa.cv.caltech101",
    "@id": "https://bd-api.ncsa.illinois.edu/dts/api/extractors/ncsa.cv.caltech101"
  },
  "content": {
    "cal:basic_caltech101_score": [
      "-0.813741"
    ],
    "cal:basic_caltech101_category": [
      "BACKGROUND_Google"
    ]
  }
}

 

New way short form:

{
  "@context": [
    "https://clowder.ncsa.illinois.edu/clowder/contexts/metadata.jsonld",
    {
    "cal": "https://bd-api.ncsa.illinois.edu/dts/api/extractors/ncsa.cv.caltech101#"
  }],
  // "created_at": "Mon Mar 07 09:30:14 CST 2016",
  "agent": {
    "@type": "cat:extractor",
    "@id": "https://bd-api.ncsa.illinois.edu/dts/api/extractors/ncsa.cv.caltech101"
  },
  "content": {
    "cal:basic_caltech101_score": [
      "-0.813741"
    ],
    "cal:basic_caltech101_category": [
      "BACKGROUND_Google"
    ]
  }
}
  • No labels