[TYPO3-semantic] Serialisation of Query for DAM - JSON-LD
Fabien Udriot
fabien.udriot at ecodev.ch
Wed Aug 24 15:19:52 CEST 2011
Hi all,
As pointed out on the wireframe, you can see the Filter Bar containing many Filter Criterias
http://forge.typo3.org/attachments/download/18317
I would need a way to serialize the query and this JSON-LD - as talk during our last Meeting -
sounds as a good way to follow / get inspired to represent data in a RDF format.
Unless, you would see another syntax, I would go for something like:
{
"t3d:term":
"td3:is"
"Lorem Ipsum",
},
{
"t3d:category",
"td3:is"
"urn:xxx"
},
{
"t3d:field:foo",
"td3:is",
"urn:xxx"
},
{
"t3d:operator",
"t3d:is",
"and"
},
{
"t3d:collection":
"t3d:is",
"urn:xxx"
}
Other possible syntax on two levels (which is definitely less RDF, I reckon)
{
t3d:term: {
"t3d:is"
"Lorem Ipsum",
},
t3d:category: {
"t3d:is"
"urn:xxx"
},
t3d:fieldType: {
"fieldFoo",
"t3d:contains",
"valueBar"
},
t3d:operator: {
"and"
},
t3d:collection: {
"t3d:is"
"urn:xxx"
}
}
Cheers,
Fabien
More information about the TYPO3-team-semantic
mailing list