You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2011/07/25 10:11:09 UTC

[jira] [Created] (STANBOL-298) Improve JSON serialization of FieldQuery

Improve JSON serialization of FieldQuery
----------------------------------------

                 Key: STANBOL-298
                 URL: https://issues.apache.org/jira/browse/STANBOL-298
             Project: Stanbol
          Issue Type: Improvement
          Components: Entity Hub
            Reporter: Rupert Westenthaler


1. convert keys that use plural

* dataTypes -> dataType
* languages -> language

the old keys are deprecated but still supported

2. add support for both single and multiple values for

* datatype
* language
* text (already implemented by STANBOL-297)

String values of such keys are supported for single values. JSON arrays are supported for single and multiple values.
For serialization String values has to be used in case of a single value

3. add support for "prefix:localName" style values for "datatype"

Currently for datatype users has to parse the full URI (e.g. "http://www.iks-project.eu/ontology/rick/model/text").
In future there should be also support for using "entityhub:text" as well as "xsd:int" ...
Serialization has also to use the "prefix:localname" style.

4. attach the executed field query to result sets formatted in any available RDF serialization.

Currently the fieldQuery as executed is only returned for the JSON serialization. Here the goal is to return the JSON as String value for the Triple

    <http://www.iks-project.eu/ontology/rick/query/QueryResultSet> <http://www.iks-project.eu/ontology/rick/query/fieldQuery> "{field-query-as-JSON}"

5. adapt the online documentation to reflect this changes

All such MUST NOT break existing clients



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (STANBOL-298) Improve JSON serialization of FieldQuery

Posted by "Rupert Westenthaler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STANBOL-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rupert Westenthaler updated STANBOL-298:
----------------------------------------

    Description: 
1. convert keys that use plural

* dataTypes -> datatype (NOTE also the lower case 't')
* languages -> language

the old keys are deprecated but still supported

2. add support for both single and multiple values for

* datatype
* language
* text (already implemented by STANBOL-297)

String values of such keys are supported for single values. JSON arrays are supported for single and multiple values.
For serialization String values has to be used in case of a single value

3. add support for "prefix:localName" style values for "datatype"

Currently for datatype users has to parse the full URI (e.g. "http://www.iks-project.eu/ontology/rick/model/text").
In future there should be also support for using "entityhub:text" as well as "xsd:int" ...
Serialization has also to use the "prefix:localname" style.

4. attach the executed field query to result sets formatted in any available RDF serialization.

Currently the fieldQuery as executed is only returned for the JSON serialization. Here the goal is to return the JSON as String value for the Triple

    <http://www.iks-project.eu/ontology/rick/query/QueryResultSet> <http://www.iks-project.eu/ontology/rick/query/fieldQuery> "{field-query-as-JSON}"

5. adapt the online documentation to reflect this changes

All such MUST NOT break existing clients



  was:
1. convert keys that use plural

* dataTypes -> dataType
* languages -> language

the old keys are deprecated but still supported

2. add support for both single and multiple values for

* datatype
* language
* text (already implemented by STANBOL-297)

String values of such keys are supported for single values. JSON arrays are supported for single and multiple values.
For serialization String values has to be used in case of a single value

3. add support for "prefix:localName" style values for "datatype"

Currently for datatype users has to parse the full URI (e.g. "http://www.iks-project.eu/ontology/rick/model/text").
In future there should be also support for using "entityhub:text" as well as "xsd:int" ...
Serialization has also to use the "prefix:localname" style.

4. attach the executed field query to result sets formatted in any available RDF serialization.

Currently the fieldQuery as executed is only returned for the JSON serialization. Here the goal is to return the JSON as String value for the Triple

    <http://www.iks-project.eu/ontology/rick/query/QueryResultSet> <http://www.iks-project.eu/ontology/rick/query/fieldQuery> "{field-query-as-JSON}"

5. adapt the online documentation to reflect this changes

All such MUST NOT break existing clients




> Improve JSON serialization of FieldQuery
> ----------------------------------------
>
>                 Key: STANBOL-298
>                 URL: https://issues.apache.org/jira/browse/STANBOL-298
>             Project: Stanbol
>          Issue Type: Improvement
>          Components: Entity Hub
>            Reporter: Rupert Westenthaler
>
> 1. convert keys that use plural
> * dataTypes -> datatype (NOTE also the lower case 't')
> * languages -> language
> the old keys are deprecated but still supported
> 2. add support for both single and multiple values for
> * datatype
> * language
> * text (already implemented by STANBOL-297)
> String values of such keys are supported for single values. JSON arrays are supported for single and multiple values.
> For serialization String values has to be used in case of a single value
> 3. add support for "prefix:localName" style values for "datatype"
> Currently for datatype users has to parse the full URI (e.g. "http://www.iks-project.eu/ontology/rick/model/text").
> In future there should be also support for using "entityhub:text" as well as "xsd:int" ...
> Serialization has also to use the "prefix:localname" style.
> 4. attach the executed field query to result sets formatted in any available RDF serialization.
> Currently the fieldQuery as executed is only returned for the JSON serialization. Here the goal is to return the JSON as String value for the Triple
>     <http://www.iks-project.eu/ontology/rick/query/QueryResultSet> <http://www.iks-project.eu/ontology/rick/query/fieldQuery> "{field-query-as-JSON}"
> 5. adapt the online documentation to reflect this changes
> All such MUST NOT break existing clients

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (STANBOL-298) Improve JSON serialization of FieldQuery

Posted by "Rupert Westenthaler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STANBOL-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rupert Westenthaler closed STANBOL-298.
---------------------------------------

    Resolution: Fixed
      Assignee: Rupert Westenthaler

implemented with revision 1151013

> Improve JSON serialization of FieldQuery
> ----------------------------------------
>
>                 Key: STANBOL-298
>                 URL: https://issues.apache.org/jira/browse/STANBOL-298
>             Project: Stanbol
>          Issue Type: Improvement
>          Components: Entity Hub
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>
> 1. convert keys that use plural
> * dataTypes -> datatype (NOTE also the lower case 't')
> * languages -> language
> the old keys are deprecated but still supported
> 2. add support for both single and multiple values for
> * datatype
> * language
> * text (already implemented by STANBOL-297)
> String values of such keys are supported for single values. JSON arrays are supported for single and multiple values.
> For serialization String values has to be used in case of a single value
> 3. add support for "prefix:localName" style values for "datatype"
> Currently for datatype users has to parse the full URI (e.g. "http://www.iks-project.eu/ontology/rick/model/text").
> In future there should be also support for using "entityhub:text" as well as "xsd:int" ...
> Serialization has also to use the "prefix:localname" style.
> 4. attach the executed field query to result sets formatted in any available RDF serialization.
> Currently the fieldQuery as executed is only returned for the JSON serialization. Here the goal is to return the JSON as String value for the Triple
>     <http://www.iks-project.eu/ontology/rick/query/QueryResultSet> <http://www.iks-project.eu/ontology/rick/query/fieldQuery> "{field-query-as-JSON}"
> 5. adapt the online documentation to reflect this changes
> All such MUST NOT break existing clients

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira