- Bør vi lenke til andre ontologier (f.eks. dbPedia)?
Ja, gjerne, det heter jo tross alt Linked Data
- Hva slags editor foreslår du at vi bruker?
Jeg har mest erfaring med Protegé… Den var bra nok sist jeg sjekket. Den er også blant de eldste.
- Skal vi levere inn en eller to filer?
Selv om det ofte er lurt å dele taksonomien og instansene i to filer, så kan dere også godt legge alt i samme fil…
- Har dere noen forslag til verktøy som kan brukes, og ikke minst fungerer, til kjøring av SPARQL-queries?
Ta en titt på Turtle- og SPARQL-presentasjonene igjen... De brukte for eksempel Twinkle.
SPARQL-tabben i Protege er også bra...
Når vi skal beskrive aspekter ved ontologien vår, er det da “nok” å beskrive hvilke klasser, properties og instanser vi har, og hva de er ment for?
- The differences and similarities should be among the different classes of interest or subclass of each interest?
For example, if there are two classes of social activity and cooking, should I compare these two or compare the subclass of each of them within itself and not with the other type of activity? I think if I am modeling the hobbies, then the differences and similarities within a class should be discussed, am I right?
I think you need do add some properties for all your classes in order to model the similarities and differences. The SPARQL-query for similarity would most probably return two classes of the same superclass, while "the most different interests"-query would probably come from different superclasses, right?
- Should we use the open or closed world assumption?
This post could provide some useful insight: http://semanticweb.com/introduction-to-open-world-assumption-vs-closed-world-assumption_b33688
- Protege has OWL as its basis and even if you are choosing Turtle format, it's not having ".ttl" as the file extension, Is it okay or I should go for notepad ?
Both ".owl" and ".ttl" extension names are fine... And you can rename the file from owl to ".ttl" after you have saved it anyway, as long as the content is turtle,
- På Exercise 1 står det vi skal lage en RDFS ontologi, kan vi bruke OWL (prefix owl: i stedet for rdfs:) i denne ontologien? F.eks owl:differentFrom?
Ja, det er helt greit å bruke litt fra OWL også... Det står til og med litt om det i pensum (2.1.2 omtrent).
- Jeg får ikke til å lenke min ontologi opp mot dbpedia. Jeg har f.eks en interesse "golf" som er en instans av sommeridrett, og ønsker å få lenket den opp til dbpedia, men får ikke til å gjøre dette via object propertyies til http://dbpedia.org/page/Golf. Har dere noen tips?
- Hvor står det om Turtle Syntax?
- https://www.w3.org/TR/owl2-primer/. Rull ned til rett før "kap. 2 What is OWL 2". Der kan du velge hvilke syntaks som vises på alle eksemplene på siden.
- Is it OK to use OWL?
- Not when it says explicitly that RDF(S) should be used.
- Its been a while since my last essay. Any thoughts or visions on how we should write the essay? What should it include and is there any examples on these kind of essays out there?
- Just answer all the questions/tasks one by one, and add your models etc. as an Appendix. We don't have any example essay to copy from, but on the other hand we don't expect it to look like a standard research paper either. Find your own style.
- Are we supposed to use Protégé, or create the ontology in turtle by hand? If both are allowed, what is recommended?
- I recommend Protege. You can find the SPARQL-query tab on "Window -> Tabs -> SPARQL Query"
- The second line in task 2: "Use SPARQL to count and list the songs that two artists share." - What if I don't have artists that share songs in my ontology?
- Then your SPARQL-query should return 0 and an empty list, until two artists that sing the same song are added.
- Task 3 says to recreate the ontology in DL, then point out the constructions in the DL, which are impossible in RDF(S). However, this doesn't make sense since the DL was created fromthe RDF(S) to begin with? Have I misinterpreted the question? Can you rephrase it?
- I found a straightforward explanation on StackOverflow: http://stackoverflow.com/questions/1740341/what-is-the-difference-between-rdf-and-owl
- Rephrase: Create the ontology from scratch (in OWL DL), then ...
- Is it okay to populate the ontology with two/three actual artists with actual songs and the rest with something as simple as "Artist 1 (Song1, Song2)" etc?
- I think it's OK, but I also think it's more interesting with slightly less generic names.
- How are we supposed to submit the rdfs, attach the file or put the code in the pdf we are sending?
- I think you can do both, but if the file is very big, it's better to just keep it as a separate attachment (or zip them together).
- Protege is using OWL for NamedIndividuals, Classes etc, has anyone figured out how to make it use RDF and RDFS only?
(Because the same tags are available in RDFS and RDF).
- For Task 3, do you mean OWL DL or OWL 2 DL?
- I was thinking about OWL 2 DL.
Hvordan tenker du/dere at eksamen i morgen blir lagt opp? Det er meningen av vi skal presentere essayet vi har skrevet?
Får vi ha med hjelpemidler? Type notater eller selve essayet? Burde man lage en presentasjon?
- Det blir en presentasjon av essayet deres.
- Vi ønsker at alle tar med en utskrift av essayet sitt, men forventer ikke noen annen presentasjon enn muntlig og whiteboard.
- Regarding second part of Task 2, i cant seem to get any results querying DBpedia from Protege. Tips anyone?
Workaround: Use Apache Jena Fuseki to run SPARQL queries. Only need to upload the data set files (.rdf / .ttl) to a local server. Explained in this video https://www.youtube.com/watch?v=JZp70uFsZS0 .
- Task 2: "How can you use SPARQL to find the most similar – as you define it – artist to a given artist." Which one is the correct interpretation, a or b?
- We are allowed to post process the result from SPARQL queries to find the most similar. E.g. we run multiple SPARQL queries and use the result from these to rank the most similar
- We only use one SPARQL query, and from this one query we find the most similar
Answer: The goal is b - One SPARQL query
- SPARQL and DBpedia in Task 2: Does anyone know how you can makes queries to DBpedia? I have tried the workaround in 12. a. , but it does not seem to get any DBpedia endpoints. It works with importing the .ttl file, and querying directly to it, but only not with DBpedia. All suggestions are much appreciated!
- Does anyone know how to interpret "find the most similar artists ... artist of a given artist" in Task 2? Would a query that lists all the artists of the same genre be appropriate for this statement?