nebius/SWE-bench-extra huggingface dataset:
Repository: geopython/pygeoapi

Issue:
JSON LD errors in Travis
**Description**
For some reason, running tests against `tests/test_api.py` yield errors within the JSON LD tests.

**Steps to Reproduce**
`py.test tests/test_api.py`

**Expected behavior**
Passing tests/no errors

**Screenshots/Tracebacks**
https://travis-ci.org/github/geopython/pygeoapi/jobs/694768368

**Environment**
 - OS: any
 - Python version: 3.6/3.7
 - pygeoapi version: master

**Additional context**
None


Comments:

Patch:
diff --git a/pygeoapi/linked_data.py b/pygeoapi/linked_data.py
index 14fb2f8..fb89c05 100644
--- a/pygeoapi/linked_data.py
+++ b/pygeoapi/linked_data.py
@@ -60,7 +60,7 @@ def jsonldify(func):
         provider = meta.get('provider', {})
         ident = meta.get('identification', {})
         fcmld = {
-          "@context": "https://schema.org",
+          "@context": "https://schema.org/docs/jsonldcontext.jsonld",
           "@type": "DataCatalog",
           "@id": cfg.get('server', {}).get('url', None),
           "url": cfg.get('server', {}).get('url', None),


Test patch:
diff --git a/tests/test_api.py b/tests/test_api.py
index 23a767e..43db647 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -145,7 +145,7 @@ def test_root_structured_data(config, api_):
     assert root['description'] == 'pygeoapi provides an API to geospatial data'
 
     assert '@context' in root
-    assert root['@context'] == 'https://schema.org'
+    assert root['@context'] == 'https://schema.org/docs/jsonldcontext.jsonld'
     expanded = jsonld.expand(root)[0]
     assert '@type' in expanded
     assert 'http://schema.org/DataCatalog' in expanded['@type']