Skip to content
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

Add relevant information for different types of organization #34

Open
timbl opened this issue Dec 10, 2020 · 5 comments
Open

Add relevant information for different types of organization #34

timbl opened this issue Dec 10, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@timbl
Copy link
Contributor

timbl commented Dec 10, 2020

VCARD allows contact cards to be about two types of thing: Individual, and Organization. Organization there covers all kinds of things -- for profit and non-profit, on what sort of organization, and parts of them, like and unofficial things like sports teams and rock bands. https://schema.org/Oraganization mentions some subclasses.

Some classes of large "important' organization have data about them in public data bases, and so it is wise to link to that to be able to query for eg people who went to the same school, etc. Where that exists, some data can be pulled from those databases.

Interesting cases are organizations which re part of the developer workflow, like github and gitlab organization.

As we build up the capacity in Solid to do things around project management and software management, then increasingly the creation of a new Organization could be an easy way to start using ever more powerful tools for running that organization.

@angelo-v angelo-v added the enhancement New feature or request label Dec 10, 2020
@timbl
Copy link
Contributor Author

timbl commented Dec 19, 2020

See https://opendata.stackexchange.com/questions/15780/does-wikidata-offer-inferencing-reasoning

One workaround is to use, property paths. For example, entering the below query, even without inferencing, will return all subclasses of author in any level. Try it:

SELECT ?author ?authorLabel
WHERE
{
?author wdt:P279* wd:Q482980.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Try it

@timbl
Copy link
Contributor Author

timbl commented Dec 19, 2020

So like

SELECT ?item ?name ?klass
WHERE
{
   ?klass wdt:P279* wd:Q4671277 .
?item wdt:P31 ?klass .
?item wdt:P18 ?pic ; rdfs:label ?name.
FILTER regex(?name, "law", "i")

SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
} LIMIT 200 

@timbl
Copy link
Contributor Author

timbl commented Dec 20, 2020

need to find similar classes to serch for for other types of or, do I mapped set ofwikidata subclasees of wikidata Organization. Here is the result: https://www.w3.org/DesignIssues/diagrams/solid/wikidata-classes.svg The colored ones are the different cases the user picks first, then searches for the name. I have only done the yellow case so far. Basically, you should find anything in research or education. There is overlap - better to add more things into the list the user is looking for to make the choice of list less critical. so MIT would come up under non-profit or educational as it is both.

@timbl
Copy link
Contributor Author

timbl commented Dec 21, 2020

Then we have wikifata CORS problems tying to actually get the data

Access to fetch at 'https://www.wikidata.org/entity/Q49108' (redirected from 'http://www.wikidata.org/entity/Q49108') from origin 'http://localhost:3080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

@timbl
Copy link
Contributor Author

timbl commented Dec 22, 2020

Template queries eg for location info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants