New pages

New pages
Show bots | Hide redirects
  • 15:36, 13 March 2024Solution examples 2021 (hist | edit) ‎[5,857 bytes]Sinoa (talk | contribs) (Created page with "<pre> *** Examples related to the "OWL in TTL" task from 2021: A country has one or more regions. @prefix : <http://ex.org/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . :Country rdfs:subClassOf [ a owl:Restriction ; owl:onProperty :hasRegion ; owl:someValuesFrom :Region ] . A city is located in exactly one country. @prefix : <http://ex.org/> . @prefix owl: <http://www.w3.org...")
  • 15:35, 13 March 2024Solution examples 2022 (hist | edit) ‎[7,532 bytes]Sinoa (talk | contribs) (Created page with "<pre> *** Examples related to the Part 2 - Programming task from 2022: The examples only show the triples that should be in the solution, not the actual programming code, so they are not sufficient as answers on their own. See Robin's suggestions for how to program this. Question 26: :Agent rdf:type owl:Class . :Author rdfs:subClassOf :Agent . :Organization rdfs:subClassOf :Agent . :Country rdfs:subClassOf :Agent . :Publication rd...")
  • 15:31, 13 March 2024Solution examples 2023 (hist | edit) ‎[9,207 bytes]Sinoa (talk | contribs) (Created page with "<pre> *** SHACL examples - includes answers to the exam questions @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix dc: <http://purl.org/dc/elements/1.1/> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix sh: <http://www.w3.org/ns/shacl#> . @prefix : <http://info216.uib.no/movies/> . :Di...")
  • 10:55, 6 March 2024Lab: JSON-LD (hist | edit) ‎[8,418 bytes]Sinoa (talk | contribs) (Created page with " ==Topics== Programming regular (non-semantic) Web APIs (RESTful web services) with JSON-LD. We will use Web APIs to retrieve regular JSON data from ConceptNet, parse them programmatically, use JSON-LD to turn them into semantic data, and include them in an existing knowledge graph. ==Useful Reading== * [https://stackabuse.com/reading-and-writing-json-to-a-file-in-python/ Reading and writing with JSON - stackabuse.com] * [https://realpython.com/python-requests/ Request...")
  • 18:47, 3 March 2024Lab: DBpedia Spotlight (hist | edit) ‎[2,561 bytes]Sinoa (talk | contribs) (Created page with "== If you have more time == '''Task:''' If you have more time, you can use DBpedia Spotlight to try to link the people (and other "named entities") mentioned in the dataset to DBpedia resources. pip install pyspotlight You can start with the code example below, but you will need exception-handling when DBpedia is unable to find a match. For instance: <syntaxhighlight> import spotlight ENDPOINT = 'https://api.dbpedia-spotlight.org/en/annotate' CONFIDENCE = 0.5 # filt...")
  • 10:47, 21 February 2024Lab: Wikidata in RDF (hist | edit) ‎[6,725 bytes]Sinoa (talk | contribs) (Created page with "==Topics== Wikidata in RDF: * retrieve ''truthy'' triples about a Wikidata entity * retrieve semantic metadata (such as qualifications and references) about the triples * loa...")
  • 10:52, 11 February 2024Lab: SPARQL 2 (hist | edit) ‎[3,287 bytes]Bamos3003 (talk | contribs) (Created page with "==Topics== * SPARQL updates * SPARQL insertions * SPARQL deletions * DESCRIBE and CONSTRUCT ==Useful materials== GraphDB documentation: * [https://graphdb.ontotext.com/docume...")