You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing the same issue. I am able to do it, using the inline schema without the key word "@context". However, rdflib returns an empty list or just the schema reference when used with graph.
For example:
[
{
"@id": ":b131978533",
"@type": [
"http://schema.org/Organization"
],
"https://schema.org/subject_duns": [
{
"@value": "131978533"
}
],
"https://schema.org/country_code": [
{
"@value": 1073
}
],
"https://schema.org/business_name": [
{
"@value": "KMART HOLDING CORPORATION"
}
],
"https://schema.org/owner_duns": [
{
"@value": "191222244"
}
],
"https://schema.org/owner_association_type": [
{
"@value": "Parent"
}
],
"https://schema.org/Subsidiary": [
{
"@id": ":b191222244"
}
]
}
]
RDFLib output a empty graph after parsing this file. is this a known bug ?
{
"@context": {
"@vocab": "http://xmlns.com/foaf/0.1/",
"knows": {"@type": "@id"}
},
"@graph": [{
"name": "Manu Sporny",
"@type": "Person",
"knows": "https://greggkellogg.net/foaf#me"
}, {
"@id": "https://greggkellogg.net/foaf#me",
"@type": "Person",
"name": "Gregg Kellogg"
}]
}
The text was updated successfully, but these errors were encountered: