Here is the JSON data I am working with:
{
"head":{
"vars":[
"uri",
"label"
]
},
"results":{
"bindings":[
{
"uri":{
"type":"uri",
"value":"http://tematres.befdata.biow.uni-leipzig.de/vocab/?tema=751"
},
"label":{
"type":"literal",
"xml:lang":"en",
"value":"15n"
}
},
{
"uri":{
"type":"uri",
"value":"http://tematres.befdata.biow.uni-leipzig.de/vocab/?tema=916"
},
"label":{
"type":"literal",
"xml:lang":"en",
"value":"16s analysis"
}
},
{
"uri":{
"type":"uri",
"value":"http://tematres.befdata.biow.uni-leipzig.de/vocab/?tema=622"
},
"label":{
"type":"literal",
"xml:lang":"en",
"value":"16s rrna"
}
},
{
"uri":{
"type":"uri",
"value":"http://tematres.befdata.biow.uni-leipzig.de/vocab/?tema=917"
},
"label":{
"type":"literal",
"xml:lang":"en",
"value":"16s rrna gene analysis"
}
},
{
"uri":{
"type":"uri",
"value":"http://tematres.befdata.biow.uni-leipzig.de/vocab/?tema=618"
},
"label":{
"type":"literal",
"xml:lang":"en",
"value":"18s rdna"
}
}
]
}
}
I am looking for a way to extract only the uri
and corresponding label
values in a map or similar format, so that I can easily populate a table with these values later on.