Support for Multiple Formats #22
Replies: 1 comment
-
Also, brainstorming, yet more expressive and extensible possibilities for describing data alternatives include providing a means of attaching arbitrary metadata to each data alternative, e.g., fully-fledged semantic metadata. Metadata describing data alternatives would then be more expressive than those attributes considered above for the <data uri="...">
<about type="text/n3"><!CDATA[[ ... ]]></about>
<content><!CDATA[[ ... ]]></content>
</data> In this example, the contents of the Also possible is that the actual content for the data alternative could be stored in a string or XML literal in the semantic data. <data uri="...">
<about type="text/n3"><!CDATA[[ ... ]]></about>
</data> or retrieved from a specified location. <data uri="..." src="...">
<about type="text/n3"><!CDATA[[ ... ]]></about>
</data> In any event, it should be possible to provide expressiveness for describing multiple data alternatives for each property of each element of a planning domain, these elements including: types, objects, predicates, assertions, operators/actions, constraints, and preferences. |
Beta Was this translation helpful? Give feedback.
-
Inspired by content negotiation, multipart MIME, and MathML's
<annotation>
and<annotation-xml>
elements, we can, instead of necessitating that content authors commit to one format for portions of content, provide the expressiveness for content authors to include content in multiple formats simultaneously.Combining this idea with client-side preprocessing:
or
Using this convention, the running example of defining a parametrically polymorphic type,
widget<T>
, might resemble:In this way, deserializers could select from provided alternatives.
With respect to describing data alternatives, factors to consider include:
With respect to making explicit the ontologies utilized in a data alternative, a space-delimited list of URI's could be provided for an
ontologies
attribute on<data>
elements:With respect to internationalization, could use the
xml:lang
or alang
attribute on<data>
elements:Additionally, the language preferences of a client could be among those data available to client-side preprocessing scripting languages.
Beta Was this translation helpful? Give feedback.
All reactions