semantic-web

Semantic analysis of text

放肆的年华 提交于 2019-12-21 06:39:06
问题 Which tools would you recommend to look into for semantic analysis of text? Here is my problem: I have a corpus of words (keywords, tags). I need to process sentences, input by users and find if they are semantically close to words in the corpus that I have. Any kind of suggestions (books or actual toolkits / APIs) are very welcome. Regards, 回答1: Some useful links to begin with: http://alias-i.com/lingpipe/demos/tutorial/sentiment/read-me.html http://kmandcomputing.blogspot.com/2008/06

OWL Property Restrictions vs. SHACL

六眼飞鱼酱① 提交于 2019-12-21 04:25:20
问题 Given a choice between OWL Property Restrictions and SHACL, is there any reason to choose the OWL approach any more? Particularly with respect to cardinality constraints, I'm wondering whether SHACL is considered to supercede OWL. The syntax appears similar, to my casual inspection. I am probably missing the purpose of OWL cardinality constraints. As part of an ontology, they should facilitate inferencing (a separate concern from validation). But how do cardinality constraints facilitate

Ontology vs vocabulary

[亡魂溺海] 提交于 2019-12-21 03:17:07
问题 I have recently started working with semantic web and linked data technologies, I have been always confused about one thing though. What is the difference between an Ontology and a vocabulary? Which is preferable? 回答1: In the driest sense, a "vocabulary" is a context-less list of terms, with no defined interrelationships. "Ontology" is meatier, implying the presence of interrelationships, axioms, classes, etc. Nevertheless, the term "vocabulary" is almost never used to mean ONLY "list of

How to query RDF/OWL using SWI-Prolog's Semantic Web Library?

泪湿孤枕 提交于 2019-12-20 12:35:58
问题 How can I use the SWI-Prolog Semantic Web Library to make a query into the OWL/RDF file and extract some information? The OWL/RDF file is having information about all the Debian packages so I need to make the query in order to find package dependencies. For Example: The OWL file is structured as follows: package: A Depends: package: B pacakge: C How can I load a OWL/RDF file into a Prolog script and what is the syntax to make a query within the Prolog script such that I put A as a parameter

SPARQL query against DBPedia to get all property-value of the item

允我心安 提交于 2019-12-20 07:25:54
问题 I am a novice in Semantic Web and I would like to retrieve all property-value pairs of "apple" from DBPedia using SPARQL query. Below I have written the query in http://dbpedia.org/sparql editor, but it returns no any results.Could you tell me where I make a mistake, please? PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix dbo: <http://dbpedia.org/ontology/> prefix owl: <http://www.w3.org/2002/07/owl#> prefix prov: <http:/

SPARQL full aggregation on a group aggregation

 ̄綄美尐妖づ 提交于 2019-12-20 06:25:08
问题 I have an Ontology where users can use one of five predicates to express how much they like an item. The Ontology contains specific predicates that have a property called hasSimilarityValue. I am trying to do the following: Having a user let's say rs:ania Extract all the items that this user has rated before. (this is easy because the Ontology already contains triple from the user to the items) Extract similary items to the items that have been extracted in step 2 and calculate their

How do I start a Fuseki server from Jena API Eclipse project?

做~自己de王妃 提交于 2019-12-20 05:58:13
问题 Hi I am new to the Semantic Web domain and Apache Jena enviroments too, which is why I am posting this question. I have a project that makes use of Jena API. And when I run it, it shows output in the console. I did run Fuseki server from cmd line and it ran as a local server and I could do some playing around with queries and all that. My question is, is it possible to run the project on the server through my project that makes use of the API, and if so, why it should be done? I am confused

Could anyone help me with a tool for RDF/OWL visualization?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-20 04:24:54
问题 I tried searching over the internet but could not find the right tool for the purpose,so if anyone could provide me a link to the tool which could parse and display a graph for RDF and OWL ontologies 回答1: SemWebGraphicalNotation — W3C-maintained list of graphical notations and software applications (outdated); RDF Visualization at Ontotext Research Space; VOWL: Visual Notation for OWL Ontologies — almost standard graphical notation for OWL visualization, the page contains links to

Fetching a list of books adapted into films from dbpedia

我只是一个虾纸丫 提交于 2019-12-19 12:01:27
问题 I am trying to fetch a list of American movies adapted from books from dbpedia. This is what I have so far: PREFIX onto: <http://dbpedia.org/ontology/> PREFIX dcterms: <http://purl.org/dc/terms/> SELECT * WHERE { ?movie dcterms:subject <http://dbpedia.org/resource/Category:American_films> . ?movie dcterms:subject <http://dbpedia.org/resource/Category:Films_based_on_novels> . ?movie onto:basedOn ?book . ?book a onto:Book . } I get only 4 results back. Is there another property I can use to get

What is the difference between dublin core terms and dublin core elements vocabularies

只谈情不闲聊 提交于 2019-12-19 09:03:16
问题 There's 2 Dublin Core vocabularies DC terms and DC elements. They define almost the same classes and properties. So what is the key differences between them, and when to use each one. 回答1: Element Set: Namespace: http://purl.org/dc/elements/1.1/ Predefined prefix: dc11 It defines 15 terms . These terms are also published as the standards ISO 15836, ANSI/NISO Z39.85, and RFC 5013. Terms: Namespace: http://purl.org/dc/terms/ Predefined prefixes: dc , dcterms It defines all terms , including the