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

speed up method fetching of lexical information from the KB #2

Open
mromanello opened this issue May 30, 2018 · 0 comments
Open

speed up method fetching of lexical information from the KB #2

mromanello opened this issue May 30, 2018 · 0 comments

Comments

@mromanello
Copy link
Owner

mromanello commented May 30, 2018

(the same applies to properties KnowledgeBase.author_abbreviations, .work_titles etc.)

in order to be able to parallelize the generation of counts, a method is needed that gets all CTS URNs from the KB. The SPARQL query would be:

PREFIX frbroo: <http://erlangen-crm.org/efrbroo/>
            PREFIX crm: <http://erlangen-crm.org/current/>
            PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
            SELECT ?label ?resource_URI ?resource_type
            WHERE {
                ?resource_URI rdf:type ?resource_type .
                ?resource_URI crm:P1_is_identified_by ?urn .
                ?urn a crm:E42_Identifier .
                ?urn rdfs:label ?label
            }
            LIMIT 10
@mromanello mromanello changed the title speed up method KnowledgeBase.get_statistics() speed up method fetching of lexical information from the KB Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant