Open alanruttenberg opened 8 years ago
@yongqunh and I discussed the issue #63, and we would like to have both PURL link and internal Ontobee link at the same time. Because for some ontologies, such as BAO, the term IRI does not follow PURL format. Clicking the links returned by Ontobee, will direct the user to external pages.
So we tried to provide both options. For example,
http://purl.obolibrary.org/obo/OBI_0000749 (OBI): classification and regression trees in Ontobee: OBI
The term IRI, http://purl.obolibrary.org/obo/OBI_0000749, will be the actual PURL/external link. And the OBI in the second line gives Ontobee page.
The example above is actually the second version. The first version displayed the results like this:
http://purl.obolibrary.org/obo/OBI_0000749 (OBI): classification and regression trees also in: OBI
Notice that this version followed the suggestion given in issue #66. However, @linikujp pointed out that it is confusing to her. It was not clear that the link following also in maps back to Ontobee. So @yongqunh suggested to use in Ontobee instead.
We welcome any suggestions to improve the search result display.
As I suggested, the way is to show the URL as is, but have a click handler on the link that goes to the ontobee page.
If you also want to have non-ontobee links for non-purls, then having both and marking each it makes sense. However having them all say the same thing isn't useful.
Every one of these results says "in Ontobee". This is first of all redundant and make it harder to read and second I am unclear as to what it should mean.
In addition, I see that the links are still not to the PURLs (issue #63)
http://purl.obolibrary.org/obo/OBI_0000749 (OBI): classification and regression trees in Ontobee: OBI http://purl.obolibrary.org/obo/OBI_0200179 (OBI): classification objective in Ontobee: OBI class prediction objective in Ontobee: OBI supervised classification objective in Ontobee: OBI http://purl.obolibrary.org/obo/OBI_0000023 (OBI): classified data set in Ontobee: OBI data set with assigned class labels in Ontobee: OBI http://purl.obolibrary.org/obo/OBI_0000663 (OBI): class prediction data transformation in Ontobee: OBI supervised classification data transformation in Ontobee: OBI http://purl.obolibrary.org/obo/OBI_0200175 (OBI): class discovery data transformation in Ontobee: OBI unsupervised classification data transformation in Ontobee: OBI http://purl.obolibrary.org/obo/OBI_0200178 (OBI): class discovery objective in Ontobee: OBI unsupervised classification objective in Ontobee: OBI http://purl.obolibrary.org/obo/OBI_0200192 (OBI): classified data visualization in Ontobee: OBI http://purl.obolibrary.org/obo/OBI_0000648 (OBI): data set with assigned discovered class labels in Ontobee: OBI http://purl.obolibrary.org/obo/IAO_0000420 (IAO): defined class in Ontobee: OBI http://purl.obolibrary.org/obo/IAO_0000421 (IAO): named class expression in Ontobee: OBI http://www.geneontology.org/formats/oboInOwl#ObsoleteClass (oboInOwl): Obsolete Class in Ontobee: OBI http://purl.obolibrary.org/obo/OBI_0200098 (OBI): soft independent modeling of class analogy analysis in Ontobee: OBI