sparql Questions
1
Solved
I'm doing a small exercise on sparql. Using Dbpedia Endpoint, I need to count number of triples.
This is my query
// Get the number of triples //
SELECT (COUNT(*) as ?Triples) WHERE { ?s ?p ?...
Tav asked 11/7, 2018 at 14:29
0
I have triples data where subjects starts with uri's like
<http://www.test.com/work/12353>
<http://www.test.com/term/12353>
<http://www.test.com/name/12353>
there are approx 70...
Gandzha asked 12/6, 2018 at 7:23
1
Solved
I am working with an instance of Ontotext GraphDB and often want to clear a named graph with a large number of triples.
Currently, my technique involves issuing a SPARQL command to the graph serv...
Guardado asked 10/5, 2018 at 20:24
3
Solved
I'm doing a lot of research right now on Semantic Web and complex data models that represent relationships between individuals and organizations.
I knew a little semantic ontologies although I neve...
Bradeord asked 27/4, 2018 at 13:12
2
Solved
Is there a SPARQL equivalence for the SQL IN() operator? I filter my results and now use:
FILTER ( lang(?label) = 'en' )
I want something like:
FILTER ( lang(?label) IN ('en', 'de') )
Is this...
Ld asked 27/8, 2011 at 13:32
2
Solved
I am quite comfortable using SQL but having an impossible time understanding SPARQL. For starters, I don't even understand how to look at the structure of the data (in MySQL I would just do describ...
1
I would like to know how to query Wikidata by using the alias ("also known as").
Right now I am trying
SELECT ?item
WHERE
{
?item rdfs:aliases ?alias.
FILTER(CONTAINS(?alias, "Angela Kasner"@en)...
Prieto asked 20/10, 2017 at 13:50
2
Solved
I am trying to get labels in multiple languages from Wikidata's SPARQL endpoint. The following example is given here:
SELECT ?country ?country_EN ?country_DE ?country_FR
WHERE {
?country wdt:P31...
Hecto asked 5/3, 2018 at 20:15
1
Solved
Suppose I want to get a list of every country (Q6256) and its most recently recorded Human Development Index (P1081) value. The Human Development Index property for the country contains a list of d...
2
Solved
I want to get started using DBpedia. At the moment all I know is that DBpedia is a structured form of Wikipedia data and it can be queried using SPARQL. To me the basic idea of DBpedia (giving stru...
1
Solved
Trying to query DBpedia for a list of all countries with the dbo:longName property and the capital of each country listed but get 0 results returned. Can't see whats wrong with the query.
PREFIX d...
1
Solved
While examining the results of the official example query "Continents, countries, regions and capitals" (on https://query.wikidata.org/, limited to Germany for your convenience here: link), I notic...
Haleigh asked 3/11, 2017 at 16:10
2
Solved
I'm interested in downloading some boundary files from statistics.gov.scot, which is an official statistical repository for sharing statistical data that utilises SPARQL queries.
Background
Statist...
Latoyialatreece asked 26/2, 2016 at 16:51
1
Solved
My question is how I can extract all properties and their respective labels that are also rendered on the webpage from wikidata preferably over SPARQL.
Take for example the Google entry on wikidata...
3
Solved
I'm looking for an easy way to insert triples from two or more named graphs (but not the entire unnamed default graph) into another named graph. I'm using GraphDB.
I guess this could be done by wr...
Smithers asked 20/9, 2017 at 18:19
1
Solved
I am attempting to retrieve data about the lifespans of certain people. This is problematic in cases of people that have lived a while ago. The dataset for e.g. Pythagoras seems to have a so called...
2
I need to know the difference between RDB2RDF tools.
Could anybody tell me what are the pros and cons of RDB2RDF tools? Especially for the following ones: Virtuoso, Ultrawrap, Ontop, Morph, X...
Mckeehan asked 3/8, 2017 at 6:37
3
Solved
I like to get visuals based on RDF data from a SPARQL endpoint. It would be a nice addition to d3 to get an additional external data loader which can pull data by issuing SPARQL queries.
Did alrea...
1
Solved
I am intrigued by Using Property Chains to get inferred Knowledge in an OWL Ontology(Protege)
The accepted answer has two solutions: two OWL expressions, or a SWRL rule. I get the sense that the O...
1
Solved
I want to get the city /settlement at a specific gps location.
meaning the closest one in a given range or at best the closest.
i found some example queries in the wikimedia data examples.
I try ...
Celadon asked 23/6, 2017 at 9:39
1
Solved
I want to retrieve the members of the Wikimedia Category American rock singers. I must use Wikidata and it tells me to use P31 with Q4167836 . The query below only returns information about the Cat...
Amadeo asked 6/6, 2017 at 10:43
1
Solved
I am using RDFLib to query on the Semantic Dicom Ontology. I am querying for owl:Class in the graph constructed from the above ontology. RDFLib returns results which contain blank nodes and I wish ...
Connolly asked 22/5, 2017 at 10:52
2
I am writing a sparql query in java to delete rdf data with a specific id. I am trying with
Delete ?ID ?name Where {
?ID rdf:type ex:example ex:name ?name
FILTER(?ID ="something")
}
but it ...
Epos asked 14/3, 2012 at 16:1
2
What the asterisk mean in this SPARQL query?
SELECT ?uri ?type
WHERE{
?uri a ?type.
?type rdfs:subClassOf* example:Device.
}
Does it mean "subclass of a subclass"?
Can I use it with other pred...
Wintertime asked 8/5, 2017 at 3:0
1
I have found this query, but i'm not able what does it do.
I don't know what the "^a" means, particularly.
select distinct ?type where {
dbpedia:Stephen_King a ?type .
filter not exists {
?su...
Unstopped asked 7/5, 2017 at 1:47
© 2022 - 2024 — McMap. All rights reserved.