[
https://issues.apache.org/jira/browse/ANY23-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16596749#comment-16596749
]
Hans Brende commented on ANY23-394:
-----------------------------------
[~lewismc] I don't think this is a bug. The json-ld output format describes the
triples themselves (very much like rdf/xml), not the original data structure.
So if you do json-ld -> rdf -> json-ld, it's not a round-trip, so to speak. See
also: https://github.com/eclipse/rdf4j/issues/1049
> JSON-LD Extractions Flag Errors in Google's Structured Data Tooling
> -------------------------------------------------------------------
>
> Key: ANY23-394
> URL: https://issues.apache.org/jira/browse/ANY23-394
> Project: Apache Any23
> Issue Type: Improvement
> Components: extractors, json-ld, service
> Affects Versions: 2.2
> Reporter: Lewis John McGibbney
> Priority: Major
> Fix For: 2.3
>
>
> Hi Folks,
> I recently ran the following extraction
> http://any23-vm2.apache.org/any23/?format=jsonld&uri=https%3A%2F%2Fcmr.earthdata.nasa.gov%2Fsearch%2Fconcepts%2FC179003620-ORNL_DAAC.html&validation-mode=none
> ...which resulted in the below extraction. If you load this into the Google's
> tooling, http://search.google.com/structured-data/testing-tool you will see
> many errors. We need to work to address these. I will be investigating.
> {code}
> {
> "@graph" : [ {
> "@id" : "_:n0sbl",
> "http://www.w3.org/1999/xhtml/vocab#role" : [ {
> "@id" : "http://www.w3.org/1999/xhtml/vocab#main"
> } ]
> }, {
> "@id" : "_:n1sbl",
> "http://www.w3.org/1999/xhtml/vocab#role" : [ {
> "@id" : "http://www.w3.org/1999/xhtml/vocab#complementary"
> } ]
> }, {
> "@id" : "_:node1cm0fum9mx85",
> "@type" : [ "http://schema.org/Dataset" ],
> "http://schema.org/alternateName" : [ {
> "@language" : "en",
> "@value" : "1860_1993_2050_NITROGEN_830_1"
> } ],
> "http://schema.org/citation" : [ {
> "@id" : "_:node1cm0fum9mx87"
> } ],
> "http://schema.org/dateCreated" : [ {
> "@type" : "http://www.w3.org/2001/XMLSchema#date",
> "@value" : "2006-04-14"
> } ],
> "http://schema.org/dateModified" : [ {
> "@type" : "http://www.w3.org/2001/XMLSchema#date",
> "@value" : "2006-04-14"
> } ],
> "http://schema.org/description" : [ {
> "@language" : "en",
> "@value" : "This data set provides global gridded estimates of
> atmospheric deposition of total inorganic nitrogen (N), NHx (NH3 and NH4+),
> and NOy (all oxidized forms of nitrogen other than N2O), in mg N/m2/year, for
> the years 1860 and 1993 and projections for the year 2050. The data set was
> generated using a global three-dimensional chemistry-transport model (TM3)
> with a spatial resolution of 5 degrees longitude by 3.75 degrees latitude
> (Jeuken et al., 2001; Lelieveld and Dentener, 2000). Nitrogen emissions
> estimates (Van Aardenne et al., 2001) and projection scenario data (IPCC,
> 1996; 2000) were used as input to the model."
> } ],
> "http://schema.org/distribution" : [ {
> "@id" :
> "https://daac.ornl.gov/daacdata/global_climate/global_N_deposition_maps/"
> } ],
> "http://schema.org/identifier" : [ {
> "@id" : "_:node1cm0fum9mx86"
> } ],
> "http://schema.org/keywords" : [ {
> "@language" : "en",
> "@value" : "EARTH SCIENCE,ATMOSPHERE,ATMOSPHERIC CHEMISTRY,NITROGEN
> COMPOUNDS,NITROGEN OXIDES"
> } ],
> "http://schema.org/name" : [ {
> "@language" : "en",
> "@value" : "Global Maps of Atmospheric Nitrogen Deposition, 1860, 1993,
> and 2050"
> } ],
> "http://schema.org/potentialAction" : [ {
> "@id" : "_:node1cm0fum9mx88"
> } ],
> "http://schema.org/provider" : [ {
> "@language" : "en",
> "@value" : "\n ORNL_DAAC\n "
> } ],
> "http://schema.org/sameAs" : [ {
> "@id" :
> "https://daac.ornl.gov/CLIMATE/guides/global_N_deposition_maps.html"
> }, {
> "@id" : "https://doi.org/10.3334/ORNLDAAC/830"
> }, {
> "@id" :
> "https://daac.ornl.gov/daacdata/global_climate/global_N_deposition_maps/comp/deposition_maps.jpg"
> }, {
> "@id" :
> "https://daac.ornl.gov/daacdata/global_climate/global_N_deposition_maps/comp/global_N_deposition_maps.pdf"
> }, {
> "@id" :
> "https://daac.ornl.gov/daacdata/global_climate/global_N_deposition_maps/comp/global_N_deposition_maps_readme.pdf"
> }, {
> "@id" : "https://daac.ornl.gov/graphics/browse/sdat-tds/830_1_fit.png"
> }, {
> "@id" : "https://webmap.ornl.gov/wcsdown/dataset.jsp?ds_id=830"
> } ],
> "http://schema.org/spatialCoverage" : [ {
> "@language" : "en",
> "@value" : "-90.0 -180.0 90.0 180.0"
> } ],
> "http://schema.org/temporalCoverage" : [ {
> "@type" : "http://www.w3.org/2001/XMLSchema#date",
> "@value" : "1860-01-01"
> } ],
> "http://schema.org/version" : [ {
> "@language" : "en",
> "@value" : "1"
> } ]
> }, {
> "@id" : "_:node1cm0fum9mx86",
> "@type" : [ "http://schema.org/PropertyValue" ],
> "http://schema.org/propertyID" : [ {
> "@language" : "en",
> "@value" : "DOI"
> } ],
> "http://schema.org/value" : [ {
> "@language" : "en",
> "@value" : "\n 10.3334/ORNLDAAC/830\n "
> } ]
> }, {
> "@id" : "_:node1cm0fum9mx87",
> "@type" : [ "http://schema.org/CreativeWork" ]
> }, {
> "@id" : "_:node1cm0fum9mx88",
> "@type" : [ "http://schema.org/SearchAction" ],
> "http://schema.org/target" : [ {
> "@language" : "en",
> "@value" :
> "https://search.earthdata.nasa.gov/search/granules?p=C179003620-ORNL_DAAC"
> } ]
> }, {
> "@id" :
> "https://cmr.earthdata.nasa.gov/search/concepts/C179003620-ORNL_DAAC.html",
> "http://purl.org/dc/terms/title" : [ {
> "@value" : "Global Maps of Atmospheric Nitrogen Deposition, 1860, 1993,
> and 2050"
> }, {
> "@language" : "en",
> "@value" : "Global Maps of Atmospheric Nitrogen Deposition, 1860, 1993,
> and 2050"
> } ],
> "http://vocab.sindice.net/any23#X-UA-Compatible" : [ {
> "@language" : "en",
> "@value" : "IE=edge"
> } ],
> "http://vocab.sindice.net/any23#description" : [ {
> "@language" : "en",
> "@value" : ""
> } ],
> "http://www.w3.org/1999/xhtml/microdata#item" : [ {
> "@id" : "_:node1cm0fum9mx85"
> } ],
> "http://www.w3.org/1999/xhtml/vocab#ALTERNATE-STYLESHEET" : [ {
> "@id" : "https://fonts.googleapis.com/css?family=Open+Sans:400,700"
> }, {
> "@id" :
> "https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"
> }, {
> "@id" :
> "https://cmr.earthdata.nasa.gov/search/stylesheets/application.css"
> } ],
> "http://www.w3.org/1999/xhtml/vocab#description" : [ {
> "@language" : "en",
> "@value" : ""
> } ],
> "http://www.w3.org/1999/xhtml/vocab#search" : [ {
> "@id" :
> "https://search.earthdata.nasa.gov/search/granules?p=C179003620-ORNL_DAAC"
> } ]
> } ],
> "@id" :
> "https://cmr.earthdata.nasa.gov/search/concepts/C179003620-ORNL_DAAC.html"
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)