Databases often having information about the various name parts, so
forcing serialization into BibJSON as a single name string will result
in a lossy transformation which is difficult to undo later.
Tom
p.s. The JSON schema is pretty difficult to work with in its raw
format. What modeling tools are recommended for viewing, editing,
etc?
Hope this helps!
[1] http://openstructs.org/iron/iron-specification
[2] http://openstructs.org/iron/iron-specification#mozTocId462570
[3] http://openstructs.org/iron/iron-specification#mozTocId408837
[4] http://openstructs.org/iron/iron-specification#mozTocId603499
Thanks,
Take care,
Fred
On Fri, Dec 18, 2009 at 10:20 AM, Frederick Giasson <fr...@fgiasson.com> wrote:
> Hi Tom,
>>
>> I was looking at the BibJSON spec dated 25 Nov 2009 and the associated
>> schema at http://www.bibkn.org/drupal/bibjson/bibjson_schema_v012.json
>> and, as far as I can tell, there's no provision for including any
>> structure in names (e.g. surname, given name, etc). Is there a way to
>> specify this information? If not, is there a plan to include it?
>
> BKN did talk about this, but it didnlt make it in so far. I would suggest
> you to use the same method (vocab) as BIBO (http://bibliontology.com), and
> to extends BIBJSON with this new schema extension.
So to unwrap the layering here, that would appear to be givenname and
family_name from FOAF and a private prefixName and suffixName?
I'd definitely recommend something along those lines, although
choosing just one of underscores, camelCase, or simple concatenated
names as a naming convention might make it easier for users. A way to
indicate preferred name for collating purposes might be useful as
well, although I recognize that there are often
culture/language/application-specific requirements on collating
sequences that make any such information in an interchange format
advisory at best. If you're not going to support honoricPrefix from
FOAF, you might want to at least mention it so that people are aware
it could get dropped.
>> p.s. The JSON schema is pretty difficult to work with in its raw
>> format. What modeling tools are recommended for viewing, editing,
>> etc?
>
> Unfortunately nothing else than text editors for now (like notepad++). I
> don't particularly like the general JSON serialization myself, and I know
> others that don't neither. So it is the reason why we helped BKN to
> integrate BibJSON into the irON [1] notation and its irJSON profile [2].
> That way, you can serialize BibJSON into other serialization formats such as
> irXML [3] and commON [4].
I've never heard of irON and as far as I can tell none of my modeling
tools support it. By 'modeling tool' I mean something which shows the
relationships between types/properties, allows navigation around the
model, etc. Examples might be Protégé for OWL or the Rational tools
(commercial) or ArgoUML (open source) for UML. What are the
equivalents for JSON schema (or irON)? Even a simple HTML based
browser like ontology-browser would be an improvement over paging
around a text file.
Tom
Certainly a conversion tool would have to follow the rules, but
there's no reason they need to pollute the BibJSON spec itself if
BibJSON supports explicit declaration of the necessary information.
For example, using the English word "and" as a list separator wasn't a
particularly good practice in the 1980s, but it would be positively
hideous in 2010, particularly when JSON has native list structures.
The various name pieces that the conversion tool parses out using the
idiosyncratic rules would result in a set of tagged name pieces that
could be encoded directly in JSON. Users can then correct errors
directly rather than having to remember what the parsing rules will
do.
Tom