When manually uploading a schema.org document with the JSON-LD context set to
"@context": {
"@vocab": "http://schema.org/"
},
none of the SO:Dataset fields are indexed to Solr.
The reason for this is that when metacat-index serializes the document to RDF/XML, all SO predicates are serialized as that context, for example:
When manually uploading a schema.org document with the JSON-LD context set to
none of the SO:Dataset fields are indexed to Solr. The reason for this is that when metacat-index serializes the document to RDF/XML, all SO predicates are serialized as that context, for example:
The SPARQL queries that are used to extract info from the document all use the 'https://schema.org' namespace.
Do we need to support both "http://schema.org" and "https://schema.org". It looks like the transition from http to https may linger for a long time, e.g. https://schema.org/docs/faq.html#19
Note that the slender node implementation converts harvested documents from "http://schema.org" to "https://schema.org"
If we do support both, then which of the following should be used to implement:
Here are the test docs indexing result: