Все вопросы: [rdf]
76 вопросов
Проблема с SPARQLWrapper (Python)
Я делаю SPARQL-запрос к хранилищу Sesame на локальном хосте, используя SPARQLWrapper : sparql = SPARQLWrapper('http://localhost:8080/openrdf-sesame/repositories/rep/statements') sparql.setQuery(query) sparql.setReturnFormat(JSON) results = sparql.query().convert() Однако я получа...
Базы данных корпоративного уровня, которые могут обрабатывать большие наборы данных RDF?
Существуют ли какие-либо механизмы баз данных корпоративного уровня (Oracle, MS SQL и т. д.), которые могут обрабатывать большие наборы данных RDF (320 миллионов) и запросы SPARQL?Полагаю, мой вопрос также заключается в следующем: готов ли SPARQL / RDF / OWL для обслуживания крупных хранилищ реа...
RDF и uuid.почему нет схемы урны?
<rdf:Description about='uuid:8949dbc6-31ad-11d9-9c7d-d112c21f7031'> Почему этот about не содержит urn:uuid:8949dbc6-31ad-11d9-9c7d-d112c21f7031?Разве uuid не является урной и, следовательно, не требует наличия перед ней схемы urn: scheme?
SPARQL Отрицание: Все foaf: Агенты, которые не являются foaf: Люди
Я пытаюсь написать запрос SPARQL, который должен дать мне все foaf:Agents, а не foaf:Persons. Я не вижу способа применить этот ДОПОЛНИТЕЛЬНЫЙ / СВЯЗАННЫЙпостроить для этой проблемы, потому что все свойства, такие как rdfs:subClassOf и rdf:type, транзитивны и рефлексивны. Я пробовал это: ...
JQuery/Javascript RDF plugin
Any ideas about JQuery plugins/Javascript libraries for working with RDF?
SPARQL Query gives unexpected result
I hope someone can help me on this probably totally easy-to-solve problem: I want to run a SPARQL query against the following RDF (noted in N3, the RDF/XMl sits here). This is the desription of a journal article and descriptions of the journal, author and publisher: @prefix bibo: <http://pu...
Using the Jena RDF library, how do I return the property of a URI resource?
I have a Jena URI Resource (Resource reference to an object where isURIResource() returns true). An example Resource URI is this: http://d.opencalais.com/er/company/ralg-tr1r/4ee13d20-b44f-3bce-98bc-49a303e72db5 If you open that in a web browser, you'll probably be given the HTML representa...
get base namespace from an OWL ontology
Is there a way to get the base namespace from a OWL ontology file, without using DOM or similar, but just using Jena's API? E.g., from an OWL file: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#" xm...
Help with putting RDF in a web page (jsp)
When I read the documentation on Common-Tags, I thought it would be easy to put this in a jsp because the examples were cut and paste <body xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged"> <span typeof="ctag:Tag" rel="ctag:means" resource="http://rdf.freeb...
Do we have a RDF net?
We can give some information in HTML form. Then different peoples provides different HTML pages which are interconnected and in this way we get WWW. Information can also be given in the with the usage of RDF form (let say XML implementation of RDF). Different peoples can provide different RDF doc...
Browsing/editing RDF/OWL Instances
I'm looking for a graphical browser for examining large networks of OWL/RDF instances. Protege's instance browser isn't really useful and if COE supports instance browsing, I've not discovered how. Network size is around a million nodes. I'm hoping to be able to search for an instance, expand it...
Retrieving all the ancestors of a rdf:Class
Imagine the following Taxonomy (acyclic & directed graph): <my:Eukaryota> <rdfs:subClassOf> <my:Organism>. <my:Mammal> <rdfs:subClassOf> <my:Eukaryota>. <my:Primate> <rdfs:subClassOf> <my:Mammal>. <my:HomoSapiens> <rdfs:subClassO...
How can I access RDF-XML from Perl (or other scripting language)?
I'm backing up my Flickr pics locally using a Perl script and the Net::Flickr::Backup module. This pulls down the original picture, a thumbnail, and the associated metadata (title, tags etc) in a RDF-XML file. I'd like to extract a subset of this metadata so I can generate a "poor man's Flickr" ...
Rowlex: A property node cannot contain more than one entity description
when using Rowlex OwlGrinder to generate an assembly from an OWL file the above error message is shown. The offending piece of OWL/XML is for example: <DisjointClasses> <Class URI="&foaf;Document"/> <Class URI="&foaf;Organization"/> </DisjointClasses> ...
Simple example of reification in RDF
Could anybody be so kind to give me a simple example of reification in RDF? I want to see if I understood it correctly. For example, I propose the following case Tolkien -> wrote -> Lord of the rings /|\ | Wikipedia said that How would you write it with an...
Should elements of RDF triple always be URI?
Is it possible to use URI for the subject, predicate and object in RDF or should there be a keyword in at least one of the triple, example: David <http://www.someuri.com/predicate> <http://www.someuri.com/object> Is it possible to have this kind of structure in an RDF file or shoul...
How do I deserialize a OWL document?
I created a bunch of classes using ROWLEX and had them serialized to RDF using RdfDocument rdfDocument = Rdfizer.Serialize(ontology); Now i would like to deserialize it (similar to how XmlSerializer.Deserialize() works) so that I could have the data in the ontology populated in my object I wo...
How to define a property with same name on two different types in ROWLEX?
If I have those two classes that have two different properties but with the same name: [RdfSerializable] public class Type1 { [RdfProperty(true), Name = "title"] public string Title { get; set; } } [RdfSerializable] public class Type2 { [RdfProperty(true), Name = "title"] public...
RDF integration with C#
I'm working on a project where i had been asked to do a semantic search. The scenario is a database with a table containing 3 pieces of information, Doctor Name, Patient Name, and Date of Visit. I had been asked to create a form that contains 3 fields: Doctor, Patient and Date. So when a user wan...
Is there a way to read a Hibernate Session as RDF triples?
I need to query my local Hibernate managed datastore for persisted objects based on criteria where the relevant data for the WHERE clause is in the Linked Open Data cloud. Is there a way to read a Hibernate Session as RDF? If so, I can at least use the combined Dataset to decide what objects to ...
Trackback implementation: rel="trackback" vs RDF
I want my Rails App to parse external websites for a trackback URL but I'm not really sure if I should just look for a <a href="url" rel="trackback">Text</a> or follow the RDF specifications described by sixapart. Or both. Wordpress and Techcrunch both only offer a rel="trackback"...
Doubled tags for one property in ROWLEX
I have this code: [RdfSerializable( HasResourceUri=false )] public class Item { [RdfProperty(true)] public string MyProp; } [RdfSerializable] public class AllItems { [RdfProperty(true)] public string mTitle; private int id = new Random().Next(0, 20)...
In ROWLEX is there a way to remove "rdf:datatype" from serialized object?
In ROWLEX is it possible to remove "rdf:datatype" attribute of each property and/or use common RDF Schema instead? Example: <MyOntology:Channel> <MyOntology:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">My news</MyOntology:title> <MyOntology:description...
Is ROWLEX supports natively IEnumerable<>?
Is ROWLEX supports IEnumerable? Because when I use RdfProperty(true) with string[] it is working correctly, but when I write IEnumerable type of property and return string[] (that is casting implicitly to IEnumerable) and it is not working. It is good if generic enumerables are supported, not on...
Использование RdfProperty массива для настраиваемого класса
Я определил: [RdfSerializable] public class SomeItem { // Unique identificator of the resource [ResourceUri] public string ID { get; set; } [RdfProperty( true )] public string SomeData { get; set; } } and in some other class: [RdfProperty(true)] public SomeItem[] MyTestProp...
Получите индивидуумов класса онтологии в .Net
Что касается моего предыдущего сообщения , сейчас, когда я тестирую, progFields внизу: System.Reflection.FieldInfo[] progFields = typeof(Program).GetFields(); ничего не возвращает. Моя онтология программы выглядит так: <owl:Class rdf:about="http://www.owl-ontologies.com/Ontology124...
использование Uri и Url в семантической сети
Я работаю над семантическим веб-проектом, и у меня возникли проблемы с Uri и URL. Прежде всего , общий вопрос: как на Uris ссылается пользовательское приложение во всемирной паутине? Существуют ли подобные URL-адреса, хранящиеся на некоторых международных серверах, и ресурс предоставляется по...
Лица и свойства в семантической сети
В настоящее время я работаю над проектом электронного обучения семантической сети. Сделал онтологию и классы. Однако при заполнении файлов RDF я создаю отдельного человека (например, курс) и помещаю его в RDF. Впоследствии, если мне необходимо связать другого человека с этим с помощью свойства о...
Удаление лиц и свойств из RDF
В моем проекте семантической сети есть файл RDF, и я использую Rowlex для управления им. Мне нужно было удалить человека из RDF, поэтому я использовал <RDFDoc instance>.RemoveIndividual(new OwlThing(<individual URI>, <RDFDoc instance>)); С этим кодом мой индивидуум ушел,...
Присвоение свойствам нескольких значений
Я использую в своем проекте rowlex. У меня есть свойство, назначенное человеку в моем RDF-файле, у которого есть значение. Например, для индивидуального «Студент» существует свойство «isMemberOf» со значением класса uri «class00021». Затем я хочу добавить этому свойству второе значение. Например...