sparql Questions
1
I have problem with SPARQL. I want to select something from category. For example subjects. I make query like this in http://dbpedia.org/snorql.
SELECT ?category ?subject WHERE
{
?category a sko...
Masjid asked 3/5, 2017 at 16:16
1
Solved
Given a graph:
@prefix da: <http://example.com/data/> .
@prefix on: <http://example.com/on/> .
da:Shenaz on:husband da:Javed .
da:Rita on:friend da:Noor ;
on:sister da:Tom .
da:Noo...
Condolence asked 10/4, 2017 at 7:55
2
Solved
I'm traying to get the regions of Italy in both Italian and English. I can get then in one laguage with this query...
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www....
1
If I have a dbpedia url (i.e., http://dbpedia.org/page/Abraham_Lincoln), how can I query SPARQL to verify if the entity (in this case Abraham Lincoln) is a person? It occurred to me that I could re...
2
Solved
I don't quite understand why in SPARQL they haven't implemented the basic logic operators. However in most of the cases is possible to obtain the same result in a number of way.
The purpose of this...
Solubilize asked 28/5, 2015 at 8:28
4
I'm doing a SPARQL query on the DBpediaset, but I am having some issues (due to lack of detailed SPARQL knowledge) with a query limitation:
I first 'get' all music artists:
?person rdf:type <h...
2
I'm building a small prototype of a Movies semantic search engine based on the data of LinkedIMDB
I've defined some Query Types as an example of use cases
search by entity name search by
entit...
Urus asked 16/11, 2011 at 6:45
1
Solved
I'm stuck with a recursive query in SPARQL, I cant wrap my head around it. I want to get all ancestors of an instance "a" (a hasParent b, b hasParent c, c hasParent d) so the result would be "b, c ...
Puente asked 10/1, 2017 at 16:43
6
Solved
In this simple sparql query I get a list of subjects whose object is 42
SELECT ?v WHERE { ?v ?p 42 }
If I add ?p as a variable
SELECT ?v ?p WHERE { ?v ?p 42 }
I will get two entities per row...
Sanctimony asked 19/11, 2009 at 4:44
1
Solved
I have the following RDF structure that I cannot change:
Multiple Assignments can be associated to each employee (Manager). The output I'd like would be (including the word "in" and "&):
Emp...
2
I want to get the name of all existing graphs in my Fuseki server, it should return a message with a list of all graphs name.
Bibliomania asked 28/8, 2015 at 15:24
1
Solved
How can I get the labels in English or any other language in Wikidata by ID using SPARQL endpoint?
Neuroglia asked 26/10, 2016 at 17:0
1
Solved
I've got one (maybe) simple question: Can I assign more than one ObjectResource to a fixed Subject-Property Statement?
I want my RDF-Triples look like that:
[http://somewhere/Angela_Merkel, http:...
1
Solved
I've a dbpedia resource and I'd like to obtain all the dbpedia categories associated. For this purpose I wrote this SPARQL query
SELECT ?p ?o WHERE
{
<http://dbpedia.org/resource/Rihanna> ?...
Tibbitts asked 19/8, 2016 at 13:16
2
Solved
I'm new to querying DBPedia. How can I get all companies from http://dbpedia.org/sparql?
This query returns only 50'000 organizations:
SELECT DISTINCT * WHERE {?company a dbpedia-owl:Company}
1
I'm new to SPARQL. I'm trying to run this query --
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http:/...
Tailback asked 8/8, 2016 at 9:8
1
I have a list with movie titles and want to look these up in DBpedia for meta information like "director". But I have trouble to identify the correct movie with SPARQL, because the titles sometimes...
2
I'm trying to build an interface for my tool to query from Semantic/Relational DB using C#.NET
I now need to have a layer above the query layer to convert NL input to SQL/SPARQL, I read through pa...
1
Solved
If a Wikidata resource returned by my query has no available label in the language I filtered for I obtained an empty cell.
SELECT *
WHERE
{
?country wdt:P31 wd:Q6256.
?country rdfs:label ?coun...
Greeley asked 13/7, 2016 at 11:8
1
Solved
I have unmanaged triples stored as part of individual documents that I am storing in my content db. Essentially each document represent a person, and the defined triple specifies the document URI f...
Franconian asked 20/6, 2016 at 11:47
1
Solved
Is it possible to bound the length of property path? For example getting all the triples with lengths that are between (m,n) or all that are not between this range? For instance, how could this be ...
Desberg asked 27/5, 2016 at 17:40
2
My question is similar to what was asked on this thread Is it possible to combine those 2 SPARQL INSERT into one?
I want to have multiple INSERT WHERE statements in a query, but for different subj...
2
Solved
I am trying to query all instances of an entity from Wikidata. I found out that currently the only way to do this is to use the SPARQL endpoint.
I found an example query which does about what I wan...
3
I'm looking for a tool that would help to provide RDF support to Django projects.
So far I've found two:
django-rdf - last modification was 4 yesrs ago so it looks like a dead project.
djubby - ...
Schnell asked 11/12, 2012 at 16:1
1
Solved
I have a problem with my query. I need to search through variables and if there is . in a string I need to replace that specific character to _.
I can replace empty spots and - but I have a problem...
Fruge asked 17/5, 2016 at 7:57
© 2022 - 2024 — McMap. All rights reserved.