Comments (12)
we will use json-ld embedded in the html. Please remember to use a branch and git pull mannor to hand-over the source code.
from gerbil.
The first version looks good. :)
But are you sure that this is correct?
"annotator" : "http://gerbil.aksw.org/ns#http://gerbil.aksw.org/ns#annotator/dataid.ttl"
from gerbil.
URIs depend on the namespaces we want to choose. I would just drop the files into the webResources folder. So URIs should be
http://gerbil.aksw.org/gerbil/webResources/corpora/N3-RSS-500
for the corpora and
http://gerbil.aksw.org/gerbil/webResources/annotators/AGDISTIS
for the annotators.
Vocabulary namespace should then be
http://gerbil.aksw.org/gerbil/webResources/vocab#
That way, you don't have to change server configuration. Would that be ok @MichaelRoeder ?
@cirola2000 can you make the changes?
from gerbil.
This is a good idea. However, I would prefer to use something like
http://gerbil.aksw.org/gerbil/dataId/corpora/N3-RSS-500.ttl for the corpora and
http://gerbil.aksw.org/gerbil/dataId/annotators/AGDISTIS.ttl for the annotators,
because webResource sounds a little bit inappropriate. I think, I can add the dataId to the routing.
The same holds for the Vocabulary. I think we could use http://gerbil.aksw.org/gerbil/vocab#
from gerbil.
I Added a mapping for the dataId files. Now, you can add the files und src/main/resource/dataId/corpora or src/main/resource/dataId/annotators. I added two files that are accessible by the URIs http://gerbil.aksw.org/gerbil/dataId/corpora/test.txt
and http://gerbil.aksw.org/gerbil/dataId/annotators/test.txt
(They are commited to the master branch but not on the running server).
But I'm not sure what you need to refere to parts of the vocabulary. Are these files, too?
from gerbil.
Hi,
I took a closer look into the DataIDGenerator, because it creates an exception if I try to open an experiment which does not exist. (Well, normally nobody should do this, but I wanted to know where the excpetion came from)
For better understanding it I structured the class and made some minor changes.
- I didn't really understand why everything has been created as Properties.
- I think we should discuss how an experiment is defined and with which Resource the results (F1, precision, recall) should be connected.
- I didn't really understand
gerbil:dsd
. What does it mean? - I think it is not possible to give the experiment resource a URI like
http://gerbil.aksw.org/gerbil/experiment&id=201411070000
?
Maybe I just got an unfinished version of the DataIDGenerator and I hope it wasn't cheeky that I made changes to your class without discussing these issues. Because I didn't wanted to override your class, I pushed my changes into a separate branch. Maybe you want to look at it: https://github.com/AKSW/gerbil/tree/dataId-temp
from gerbil.
@MichaelRoeder
The first version of the dataid class was very straightforward since it was made before @der-bruemmer create the ontology. Hence on Thursday I just changed the properties names. I was planning for today creating vocabulary classes and restructuring the generator class.
I notice that you have done a good job in the dataidtmp branch and thanks for that. Feel free to marge it with the master branch!
About the experiment URI we definitely can change it for http://gerbil.aksw.org/gerbil/experiment&id=201411070000
.
About the gerbil:dsd
maybe @der-bruemmer could answer us.
from gerbil.
@MichaelRoeder gerbil:dsd is a concept defined by the RDF Data cube vocabulary. Basically, it specifies the structure of the dataset (the dimensions, measures and so on that can be found in every observation).
The vocabulary is only a single file, but maybe we could have http://gerbil.aksw.org/gerbil/vocab/gerbil# or something like that to keep the routing strategy?
from gerbil.
@cirola2000 merge is done.
from gerbil.
@der-bruemmer I couldn't find a good solution for creating a mapping from http://gerbil.aksw.org/gerbil/vocab#* to a single file. I added some methods to the MainController class that simply load the files from the classpath and return them as String depending on the accept header of the request.
application/json+ld --> vocab/gerbil.json
application/json --> vocab/gerbil.json
application/rdf+xml --> vocab/gerbil.rdf
text/turtle --> vocab/gerbil.ttl
text/plain --> vocab/gerbil.ttl
Is this the mapping you wanted to have?
from gerbil.
@MichaelRoeder I changed the URI to:
http://gerbil.aksw.org/gerbil/experiment?id=201411090001#experiment_201411090001_task_0
The base URL (http://gerbil.aksw.org/gerbil) is automatically created.
@der-bruemmer the dataid URIs now looks like:
http://gerbil.aksw.org/gerbil/dataId/corpora/DBpediaSpotlight.ttl
http://gerbil.aksw.org/gerbil/dataId/corpora/AIDA_CoNLL.ttl
What do you think?
from gerbil.
@cirola2000 can you map all AIDA_CoNLL (-Training; -Test etc) corpora to just AIDA_CoNLL ? Can you do the same for Microposts? We don't really have a way to describe the differences between these corpora yet, so they should link the same description (imho).
Depending on @MichaelRoeder's reply regarding content negotiation, can you remove the file format from the URIs? Like this: http://gerbil.aksw.org/gerbil/dataId/corpora/DBpedia_Spotlight
@MichaelRoeder Great! Yes, content negotiation is very nice. Can you add a rule to forward html requests to rdf-xml? Is there content negotiation for the corpora and annotator DataID files, too?
from gerbil.
Related Issues (20)
- GERBIL aborts the start of an experiment without informing the user HOT 4
- File-based cache can slow down experiments HOT 3
- QAnswer not displayed in the systems list HOT 5
- Getting timeout while using the automatic upload HOT 2
- Error running experiment with DBPedia Spotlight on N3-Reuters-128 HOT 2
- sorry,i donot know whether this can run on my linux and just put the url in edge/chrome , or i should use the api? or the HOT 5
- Integrate MasakhaNER datasets
- [QA] The about page does not work HOT 5
- deny the annotator HOT 4
- Elasticsearch causes module errors
- SameAs retrieval causes problems in a JUnit test
- Increase Spring version
- Sometimes in experiment results statusCode is 0 but there are no results yet HOT 1
- Add IndQNER
- LP: Implement GERBIL instance for the evaluation of Link Prediction
- Integrate NameTag and other EOSC tools
- [QA] Leaderboard for challenges is too slow
- The link to gerbil_data.zip has to be manually updated in Github actions
- Check file after upload
- User defined description of experiments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gerbil.