semantic-web

Great RDF visualization tools [closed]

感情迁移 提交于 2020-06-09 07:37:06
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I want to find some great tools or styles to visualize my RDF data so that it can give viewers a shock when they access the RDF data. The problem is that the visualization tools I get now can just generate some simple styles (node,edge...) like below: They look ugly because edges take

Strange query behaviour in OWL!

懵懂的女人 提交于 2020-03-16 06:08:04
问题 In OWL this query works fine "person and hasChild min 3" it works fine and it gives me all persons who have more than 3 children but this one does not work "person and hasChild max 3" it should give me all persons who have less than 3 children however it does not work does any one have an idea about this?? why "min" works while "max" does not give any results!?? Thanks 回答1: The reason why the 2nd query "does not work" is Open World Assumption , and possibly also (the lack of) Unique Name

Strange query behaviour in OWL!

血红的双手。 提交于 2020-03-16 06:07:02
问题 In OWL this query works fine "person and hasChild min 3" it works fine and it gives me all persons who have more than 3 children but this one does not work "person and hasChild max 3" it should give me all persons who have less than 3 children however it does not work does any one have an idea about this?? why "min" works while "max" does not give any results!?? Thanks 回答1: The reason why the 2nd query "does not work" is Open World Assumption , and possibly also (the lack of) Unique Name

Haskell data structure for SKOS (semantic web)

本小妞迷上赌 提交于 2020-03-01 09:15:51
问题 Introduction I am programming a semantic web application in haskell. With hsparql http://hackage.haskell.org/package/hsparql I can access my Tripple Store. Currently I use http://4store.org/ (mainly because it was easy to install). I use snap http://snapframework.com/ to do the servlet programming (Yesod is very cool too!!). Currently I use SKOS to represent bookmarks categories in RDF. Links on SKOS: http://www.w3.org/TR/skos-reference/ http://www.athenaeurope.org/athenawiki/index.php/SKOS

Haskell data structure for SKOS (semantic web)

孤街浪徒 提交于 2020-03-01 09:13:29
问题 Introduction I am programming a semantic web application in haskell. With hsparql http://hackage.haskell.org/package/hsparql I can access my Tripple Store. Currently I use http://4store.org/ (mainly because it was easy to install). I use snap http://snapframework.com/ to do the servlet programming (Yesod is very cool too!!). Currently I use SKOS to represent bookmarks categories in RDF. Links on SKOS: http://www.w3.org/TR/skos-reference/ http://www.athenaeurope.org/athenawiki/index.php/SKOS

How can one extract rdf:about or rdf:ID properties from triples using SPARQL?

China☆狼群 提交于 2020-02-02 11:21:08
问题 It seemed a trivial matter at the beginning but so far I have not managed to get the unique identifier for a given resource using SPARQL. What I mean is given, e.g., rdf:Description rdf:about="http://..." and then some properties identifying this resource, what I want to do is to first find this very resource and then retrieve all the triples given some URI. I have tried naïve approaches by writing statements in a WHERE clause such as: ?x rdf:about ?y and ?x rdfs:about ?y I hope I am being

Defining Protege class with expression of numerical data

£可爱£侵袭症+ 提交于 2020-01-28 10:58:24
问题 I am building a smart home ontology. I now have a class hierarchy like that: I want to give definitions to the subclass of 'RoomStatus'. For example, I want to define that when room temperature is in range of 18-22 Centigrade and Humidity is in range of 40-50%, then the room has a mild status. I tried to use Class Expression Editor in Protege but it doesn't work. How can I realize this definition? Thanks in advance! 回答1: Hatim's answer may work for you, but I think it might be better not to

how to query Dbpedia in Javascript

半城伤御伤魂 提交于 2020-01-23 09:54:53
问题 I want to get the Abtract of english article of civil engineering from Dbdepdia in Javascript. this is what I tried but it fail. <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <style type="text/css"> </style> </head> <script type="text/javascript"> var url = "http://dbpedia.org/sparql"; var query = "\ PREFIX dbpedia2: <http://dbpedia.org/resource/>\ PREFIX Abs: <http://dbpedia.org/ontology/>\ SELECT ?abstract\ WHERE {\ ?s dbpedia2:Civil

Querying DBpedia for English-only description (with SPARQL)

元气小坏坏 提交于 2020-01-22 17:47:05
问题 I'm querying dbpedia.org for a description of Big Ben with this SPARQL query: select ?desc where { <http://dbpedia.org/resource/Big_Ben> <http://www.w3.org/2000/01/rdf-schema#comment> ?desc } This returns a list of descriptions in at least 10 different languages. How do I specify that I only want the English language description? 回答1: The keys you need to know are that str() and lang() pull apart the text and language of the value, so you can do this: select str(?desc) where { <http://dbpedia

How to use Alignment API to generate a Alignment Format file?

≯℡__Kan透↙ 提交于 2020-01-17 07:25:20
问题 I am going to attend the Instance Matching of OAEI, now I need to make my results to Alignment Format. In order to achieve it, I have learned official tutorials.(link:http://alignapi.gforge.inria.fr/tutorial/tutorial1/index.html). But there are many differences between the method taught and the method I want. In other words, I can't understand the API. This is my situation: I have 2 rdf file(person11.rdf and person12.rdf respectively.data link is http://oaei.ontologymatching.org/2010/im/index