We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When exporting objects referring to the same anonymous object like:
$quantity = new Quantity( connector: $connector, unit: $connector->fetch("https://github.com/datafoodconsortium/taxonomies/releases/latest/download/measures.rdf#Kilogram"), value: 1.0 ); $obj1 = new ConnectorObject1(quantity: $quantity); $obj2 = new ConnectorObject2(quantity: $quantity); $connector->export([$obj1, $obj2]);
The resulting JSON-LD will contain 2 blank nodes:
{ "@id": "_:b0", "@type": "dfc-b:Quantity", "dfc-b:hasUnit": "dfc-m:Kilogram", "dfc-b:value": 1 }, { "@id": "_:b1", "@type": "dfc-b:Quantity", "dfc-b:hasUnit": "dfc-m:Kilogram", "dfc-b:value": 1 },
But it should contain only one, I suppose.
The text was updated successfully, but these errors were encountered:
lecoqlibre
No branches or pull requests
When exporting objects referring to the same anonymous object like:
The resulting JSON-LD will contain 2 blank nodes:
But it should contain only one, I suppose.
The text was updated successfully, but these errors were encountered: