Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
schaertl_andreas
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
supervision
schaertl_andreas
Commits
a6d7fcbb
Commit
a6d7fcbb
authored
4 years ago
by
Andreas Schärtl
Browse files
Options
Downloads
Patches
Plain Diff
report: [x] implement Q5
parent
7e357208
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/report/applications.tex
+36
-3
36 additions, 3 deletions
doc/report/applications.tex
doc/report/report.tex
+3
-0
3 additions, 0 deletions
doc/report/report.tex
with
39 additions
and
3 deletions
doc/report/applications.tex
+
36
−
3
View file @
a6d7fcbb
...
...
@@ -117,9 +117,9 @@ proof of concept implementations.
is asking by works of a given author~
$
A
$
. It also ask for their
main contributions, e.g.
\
what paragraphs or code~
$
A
$
has authored.
ULO has no concept of authors,
contributors dates and so
on. Rather, the idea is to take advantage
of the Dublin Core
project which provides an ontology for such
\textbf
{
Organizational Aspect
}
ULO has no concept of authors,
contributors dates and so
on. Rather, the idea is to take advantage
of the Dublin Core
project which provides an ontology for such
metadata~
\cite
{
dcreport, dcowl
}
. For example, Dublin Core provides
us with the
\texttt
{
dcterms:creator
}
predicate. Servicing this
query would mean looking for the creator~
$
A
$
and then listing all
...
...
@@ -133,4 +133,37 @@ proof of concept implementations.
result by number of references might be a good start. Again, this
is something that should serviceable with just organizational
knowledge.
\textbf
{
Implementation
}
Search for contributions by a given author
can easily be formulated in
{
SPARQL
}
.
\begin{lstlisting}
PREFIX ulo: <https://mathhub.info/ulo#>
PREFIX dcterms: <http://purl.org/dc/terms/>
SELECT ?work
WHERE
{
?work dcterms:contributor "John Smith" .
}
GROUP BY ?work
\end{lstlisting}
To get all main contributions, we rate each
individual
\texttt
{
?work
}
by its number of
\texttt
{
ulo:uses
}
references. Extending the
{
SPARQL
}
query, we can query the database
for a ordered list of works, starting with the one that has the
most references.
\begin{lstlisting}
PREFIX ulo: <https://mathhub.info/ulo#>
PREFIX dcterms: <http://purl.org/dc/terms/>
SELECT ?work (COUNT(?user) as ?refcount)
WHERE
{
?work dcterms:contributor "John Smith" .
?user ulo:uses ?work .
}
GROUP BY ?work
ORDER BY DESC(?refcount)
\end{lstlisting}
We see that we can formulate the idea behind~
$
\mathcal
{
Q
}_{
5
}$
with
one not very complicated SPARQL query. Because here everything is
handled by the database access should be quick.
\end{itemize}
This diff is collapsed.
Click to expand it.
doc/report/report.tex
+
3
−
0
View file @
a6d7fcbb
...
...
@@ -7,6 +7,7 @@
\usepackage
{
graphicx
}
\usepackage
{
hyperref
}
\usepackage
{
lipsum
}
\usepackage
{
listings
}
\usepackage
{
multicol
}
\usepackage
{
subcaption
}
\usepackage
{
verbatim
}
...
...
@@ -26,6 +27,8 @@
\setkomafont
{
disposition
}{
\normalfont\bfseries
}
\addtokomafont
{
descriptionlabel
}{
\normalfont\bfseries
}
\lstset
{
basicstyle=
\footnotesize\ttfamily
,breaklines=true
}
\title
{
ulo-storage
}
\subtitle
{
Indexing and Querying Organizational Data in Mathematical Libraries
}
\author
{
Andreas Schärtl (
\texttt
{
ru64tiji
}
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment