ontology

Semantic web application - using BBC Sports ontology

扶醉桌前 提交于 2019-11-30 19:08:54
问题 I am trying to make a semantic web application about running races in my area (10k, half marathons, marathons). More specifically I want to collect and publish (in RDF) data about races, participants and results, and merge similar data. The last few weeks I have been testing Jena (including TDB), doing some web scraping from static web sites about running races and reading about vocabularies and ontologies. I think the most reputable ontology to use for my application, and also the one with

Ordering of entities in an ontology

眉间皱痕 提交于 2019-11-30 18:20:37
问题 I have a system that models some domain data in an ontology, the usual sort of triplestore. I've been looking around for a way to express plurality and ordering but haven't found anything via the googles. My main use case is something like one entity in the domain can be a list of tasks, (get groceries, cook meal, eat meal, something like that) but in general I feel like having the ability to 'weight' your edges might be useful across the board. Is there an accepted way of doing this? Just go

How get DBpedia data in a specific language?

限于喜欢 提交于 2019-11-30 12:18:50
i tried this request http://lookup.dbpedia.org/api/search.asmx/KeywordSearch?QueryClass=film&QueryString=transformers&MaxHits=1 but if i want to retrieve info in italian language? it there another service (similar this) that can? You could use dbpedia SPARQL endpoint to run query. For example: PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?film ?description ?film_name WHERE { ?film rdf:type <http://dbpedia.org/ontology/Film>. ?film foaf:name ?film_name. ?film rdfs:comment

how can i add some triple to my Ontology by Jena?

大憨熊 提交于 2019-11-30 10:46:48
I have instance1 of class1 and instance2 of class2 . Also I have defined HasName(object property) in my ontology. Now, how can I add the triple ( instance1 HasName instance2 ) to my ontology by jena? Here's a way without dealing with intermediate Statements . // RDF Nodes -- you can make these immutable in your own vocabulary if you want -- see Jena's RDFS, RDF, OWL, etc vocabularies Resource class1 = ResourceFactory.createResource(yourNamespace + "class1"); Resource class2 = ResourceFactory.createResource(yourNamespace + "class1"); Property hasName = ResourceFactory.createProperty

Add multiple individual at once in Protege

陌路散爱 提交于 2019-11-30 09:33:41
问题 There is a wizard tab for Protege 3 to add multiple instances at once, but not for Protege 5. How may I add multiple instances to a class at once, for example copy & paste them from Excel to Protege? 回答1: Try to use Cellfie plugin. It is bundled with Protégé 5.2.0 and available from Tools > Create axioms from Excel workbook... Mapping language for transformation rules is described here. In fact, it is just a Manchester syntax dialect with spreadsheet references. 来源: https://stackoverflow.com

How to extend ontology with other standard ontologies in Protégé?

落爺英雄遲暮 提交于 2019-11-30 04:56:29
问题 I am building an ontology using Protégé, but wan to extend it with other standard ontologies such as frbr, prov, and org. Is there a standard way to integrate our ontology with these standard ontologies or can we merge these ontologies with each other? I want to do these tasks using Protégé. 回答1: Unless I'm missing something about your question (which didn't really provide enough information to diagnose the problem that you're actually having), this is what owl:imports is for. You can import

how can I recognize object properties vs datatype properties?

旧巷老猫 提交于 2019-11-30 00:52:38
My ontology is book classification library. I have problems in this. I want to build a book classification ontology by protégé 4.1, this classification has 14 categories, beside the sibling classes Author, book, Isbn. Individuals in book class are book’s subject(about 600 subjects) , and individuals in author class are name’s author and also isbn class. then I'm confused in object properties and datatype properties. if hasEdition is in properties in my ontology then i say that every book in class book have relation with edition class. so i use object properties but individual in this class

How to query Classes with Object Property in Sparql

安稳与你 提交于 2019-11-29 18:23:15
问题 Does any one know how to query Classes with Object Property in Sparql? Assume we have an OWL file which contains follows Human ----(hasPizza)---> Pizzas Human and Pizzas are classes (or concepts). In SPARQL, this query returns nothing: select ?x ?y where { ?x hasPizza ?y } But if I add two individuals (or entities) under those concepts like Human:Jim ----(hasPizza)---> Pizzas:cheesePizza that query will return ?x=Jim and ?y=cheesePizza How can I get ?x=Human and ?y=Pizza using SPARQL? 回答1:

Choosing appropriate sense of a word from wordnet

白昼怎懂夜的黑 提交于 2019-11-29 14:41:16
问题 I am using Wordnet for finding synonyms of ontology concepts. How can i find choose the appropriate sense for my ontology concept. e.g there is an ontlogy concept "conference" it has following synsets in wordnet The noun conference has 3 senses (first 3 from tagged texts) (12) conference -- (a prearranged meeting for consultation or exchange of information or discussion (especially one with a formal agenda)) (2) league, conference -- (an association of sports teams that organizes matches for

How to import specific classes and object properties from an ontology in Protege?

依然范特西╮ 提交于 2019-11-29 05:12:16
I want to import some classes in Protege from different ontologies to my ontology. For example, I need the classes foaf:Person , org:Site , vcard:Organization , and many more. I don't want to create them by myself (and modifying their IRI). When I did import the whole ontology (Schema.org, vCard, FOAF, …), I had many elements that I don't need. Is there any way to do it? — Have you looked at this thread: protege-project.136.n4.nabble.com/… — I tried to use it, but it didn't work. There are subtle moments, especially on step 5. Open your target ontology. Open the source ontology in the same