-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reformulate the 'type' parameter as another property #145
Comments
I think |
Thanks for raising this question because perhaps the specifications could be clearer on the functional requirements and options of 'types'. Should a 'type' always rely on the use of properties? Alternatively, should the 'properties' field allow for 'pseudo-properties' to accommodate types that work a little differently? To clarify, I am currently in a situation with MediaWiki and Semantic MediaWiki where I aim to support three different kinds of 'types', which requires the system to know or recognise which of these is intended. In addition to the property-based approach using either 'things or strings', there are also categories (https://www.mediawiki.org/wiki/Help:Categories) and concepts (https://www.semantic-mediawiki.org/wiki/Help:Concepts). Back to the reconciliation query. If I had to declare a concept or category under 'properties' rather than 'type', what to do with 'pid'? I could probably go for 'pseudo-properties', special-purpose identifiers, that tell the system internally which kind of 'type' to handle. Arguably, that approach would be slightly more transparent than using the 'type' field. Because categories and concepts come with so-called namespace prefixes (e.g. Category:People, Concept:People), it should be easy to tell them apart, multilinguality issues aside, but other systems may not offer that luxury. [Edit] P.S. I realise that at the level of abstraction at which the specs are operating, it matters little whether the properties of the providing system are really semantic properties in the formal sense. I just wanted to highlight that 'type' could be ambiguous and that the proposed change could help differentiate between different kinds of types. |
At the moment (in the 0.2 specs and still in the current draft), the "types" and "properties" are two different concepts. So you can use types without using properties, and the other way around.
At the moment, you can generate pseudo-properties that mirror types, but you don't have to.
You would just pick a particular
(if your type system consists of MediaWiki categories). You could do that for multiple "type systems": one |
Thanks, it makes sense to follow that approach. In fact, I've now built in the possibility for users to use properties instead of types to achieve the same thing. Both approaches are working for me on the test bench. |
Given that we are thinking about changing the
query
field of reconciliation queries into a property (#134), I think it's tempting to think whether we could do the same for types. It would then let us use the additional settings on properties (#131), essentially offering users the choice between:any
)all
)none
)One problem is that the
property values
we currently allow in a reconciliation query do not include type ids. I am not too sure what to do about this.But overall I feel like #115 is likely going in the wrong direction, given the recurrent feedback we get in OpenRefine about needing support for reconciling against multiple types. (See the discussion in #109 too)
The text was updated successfully, but these errors were encountered: