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

Adding GeoCoordinates queries to address #100 #125

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

iannesbitt
Copy link

This PR adds queries that should match the following spatialCoverage definition in a schema.org JSON-LD. It also adds a test file and accompanying systemmetadata.

    "spatialCoverage": {
      "@type": "Place",
      "geo": [
        {
          "@type": "GeoCoordinates",
          "latitude": "36.7016",
          "longitude": "-121.90504"
        },
        {
          "@type": "GeoCoordinates",
          "latitude": "36.837017",
          "longitude": "-121.88215"
        },
        {
          "@type": "GeoCoordinates",
          "latitude": "36.873",
          "longitude": "-122.03484"
        },
        {
          "@type": "GeoCoordinates",
          "latitude": "37.04653",
          "longitude": "-122.404"
        }
      ]
    },

I once again need help testing this as I don't know how to get it set up myself.

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

Successfully merging this pull request may close these issues.

Expand sparql query for extracting spatial coverage info from schema.org documents
1 participant