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

XSD DataTypes en JSON-LD #6

Open
mikel-egana-aranguren opened this issue Jan 20, 2017 · 0 comments
Open

XSD DataTypes en JSON-LD #6

mikel-egana-aranguren opened this issue Jan 20, 2017 · 0 comments

Comments

@mikel-egana-aranguren
Copy link
Contributor

JSON-LD incluye un mecanismo para añadir XSD datatypes. De cara a Google da igual, pero de cara a insertar el RDF en el Triple Store puede ser útil, para que los valores literales no sean simples Strings.

{
  "@context": {
    "name": "http://schema.org/name",
    "description": "http://schema.org/description",
    "image": {
      "@id": "http://schema.org/image",
      "@type": "@id"
    },
    "geo": "http://schema.org/geo",
    "latitude": {
      "@id": "http://schema.org/latitude",
      "@type": "xsd:float"
    },
    "longitude": {
      "@id": "http://schema.org/longitude",
      "@type": "xsd:float"
    },
    "xsd": "http://www.w3.org/2001/XMLSchema#"
  },
  "name": "The Empire State Building",
  "description": "The Empire State Building is a 102-story landmark in New York City.",
  "image": "http://www.civil.usherbrooke.ca/cours/gci215a/empire-state-building.jpg",
  "geo": {
    "latitude": "40.75",
    "longitude": "73.98"
  }
}
mikel-egana-aranguren added a commit that referenced this issue Jan 24, 2017
Se han añadido 3 archivos:

- Ejemplos desarrollo propiapemente dicho: Urkullu y departamento
desarrollo (a falta de decidir sobre issues #5 y #3 )

- ejemplo tecnico para issue #6

Falta generar más JSON y estructuras comunes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants