101companies / 101wiki

We are moving gradually 101wiki-related efforts to here (from 101dev or wherever).
0 stars 1 forks source link

Make metadata rendering robust under predicate evolution #399

Closed rlaemmel closed 10 years ago

rlaemmel commented 10 years ago

cc @burgua

cc (fyi) @avaranovich @tschmorleiz

This appears to be the issue behind #392

Just talked to A&A, wo confirmed that the handling of metadata links relies on some degree of hardcoded names (presumably for the predicates).

We need to be very flexible in terms of predicates. So I guess a solution needs to be found such that such hardcoding is either not needed or the set of predicates is retrieved from a central description (such as Andrei's ontology).

Anyway, Alex and Arkadi, please discuss with Andrei, if necessary, or perhaps you find a flexible solution anyway.

ghost commented 10 years ago

:cry:

avaranovich commented 10 years ago

Here is an example: http://101companies.org/wiki/Factorial

does not display sameAs property.

The models are here http://worker.101companies.org/data/onto/models/

burgua commented 10 years ago

We made it dynamically

https://github.com/101companies/101rails/commit/3d6b6af780259839a4814558676a5075e6b67658

burgua commented 10 years ago

So, I see some rendering problem here:

http://take.ms/4oiKE Triple is found and delivered to client, but not rendered.

burgua commented 10 years ago

Works now

avaranovich commented 10 years ago

Did I miss something, but http://101companies.org/wiki/Factorial does not display "sameAs".

http://monosnap.com/image/h4Osb8oWlfN2GSrUtZlnG6bBQPwHre

burgua commented 10 years ago

Yes, you are missing smth. Investigate all the sections.

avaranovich commented 10 years ago

All sections are rendered OK. And "instanceOf" is displayed anyhow.

burgua commented 10 years ago

And you also looked at Resources section??

avaranovich commented 10 years ago

OK, see it here. Closing.