Property talk:P8539

Latest comment: 3 years ago by UWashPrincipalCataloger in topic ERIC Thesaurus ID links not working correctly

Documentation

ERIC Thesaurus ID
identifier for a term in the Education Resources Information Center (ERIC) Thesaurus
[create Create a translatable help page (preferably in English) for this property to be included here]
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: cell biology (Q7141), cytology (Q3009579)
List of violations of this constraint: Database reports/Constraint violations/P8539#Unique value, SPARQL (every item), SPARQL (by value)
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: biology (Q420)
List of violations of this constraint: Database reports/Constraint violations/P8539#Single value, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P8539#Scope, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P8539#Entity types
Format “[A-Za-z0-9][A-Za-z0-9\s\(\)]+: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P8539#Format, SPARQL

ERIC Thesaurus ID links not working correctly edit

Copied from Special:Permalink/1260909288#ERIC_Thesaurus_ID_links_not_working_correctly

Hi,

Thank you for creating the ERIC Thesaurus ID property. I discovered that the links from identifiers that have the + character are not working properly. For example the link for Attention+Span gets converted to https://eric.ed.gov/?ti=Attention%2BSpan That link doesn't work, whereas https://eric.ed.gov/?ti=Attention+Span does work fine. It seems that the + is the only problem. In the example with parentheses, only the plus gets changed: https://eric.ed.gov/?ti=Accessibility%2B(for%2BDisabled)

Is there a way to fix this so that the links from Wikidata to ERIC will work?

Thanks.

--- Adam Schiff

Hi UWashPrincipalCataloger I replaced the "+" by a "blank" (see on attention span (Q4115119)) and it seems to do the job. ERIC replaces "+" by "%2B" while it replaces " " by "+". Strange... Pamputt (talk) 21:50, 19 August 2020 (UTC)Reply
@Pamputt:, @UWashPrincipalCataloger:. it appears the issue, you encountered here, has recently been fixed in T271126. unfortunately https://eric.ed.gov/ does not work for me right now, so I can't verify it--Shisma (talk) 12:55, 28 February 2021 (UTC)Reply
@Shisma: I'm not sure why the ERIC site doesn't work for you. I just checked and it was working fine. I checked some items that have the ERIC identifier with multiple words: allied health profession (Q349843), quantum mechanics (Q944) and molecular biology (Q7202). The links to ERIC all work perfectly. UWashPrincipalCataloger (talk) 19:42, 28 February 2021 (UTC)Reply
UWashPrincipalCataloger: the website was offline when I checked. I wanted to verify that the effect observed by Pamputt does not longer occur. And indeed, Q4115119#P8539 has changed:
Previous Link New Link
Unencoded https://eric.ed.gov/?ti=Attention+Span https://eric.ed.gov/?ti=Molecular Biology
Encoded https://eric.ed.gov/?ti=Attention%2BSpan https://eric.ed.gov/?ti=Molecular%20Biology
The (space) is not longer converted to +. It seems to work either way. What was the problem in the first place? --Shisma (talk) 20:35, 28 February 2021 (UTC)Reply
When the ERIC property was first created, identifiers with a + in them didn't work and Pamputt fixed it by taking out the + and just recording a blank space. This was actually a great solution since the result matched exactly the term in the thesaurus, so it was actually an exact match for the identifier. https://eric.ed.gov/?ti=Attention%2BSpan still doesn't work, but https://eric.ed.gov/?ti=Attention%20Span does. UWashPrincipalCataloger (talk) 22:40, 28 February 2021 (UTC)Reply
Return to "P8539" page.