Mais conteúdo relacionado
Semelhante a Intro to Semantic Web for Work & Co (20)
Mais de Rodrigo Senra (20)
Intro to Semantic Web for Work & Co
- 46. select ?x
where {
?x a <http://www.wikidata.org/entity/Q159719> .
}
LIMIT 100
select distinct ?Concept
where {
[] a ?Concept
} LIMIT 100
http://dbpedia.org/sparql
- 59. Brainiak is …
• 100% Python
•API RESTful
• Hypermidia (HATEOAS)
• Json-schema ☜☞ RDF
- 63. Brainiak Response
{
"@context": {
"@language": "pt"
},
"items": [
{
"title": "Atlético-MG",
"@id": "http://semantica.globo.com/esportes/equipe/282",
"class_prefix": "esportes",
"resource_id": "282"
},
{
"title": "Bahia de Feira",
"@id": "http://semantica.globo.com/esportes/equipe/2590",
"class_prefix": "esportes",
"resource_id": "2590"
}
],
"@id": "esportes:Equipe"
}
- 65. Brainiak Schema
{
"links": [
{
"href": "/esportes/Equipe/_schema?class_prefix=http://semantica.globo.com/esportes/",
"method": "GET",
"rel": "class"
},
{
"href": "/esportes/Equipe?class_prefix=http://semantica.globo.com/esportes/",
"method": "POST",
"rel": "create",
"schema": {"$ref": "{+_base_url}"}
},
{
"href": "/_/_/_?instance_uri={value}",
"method": "GET",
"rel": "relatedInstance"
},
…
/esportes/Equipe/_schema
- 68. Thank you
for your time.
Rodrigo Dias Arruda Senra
http://rodrigo.senra.nom.br
senra@work.co