5
Using this SPARQL end-point: http://dbpedia.org/sparql you can enter this query:
SELECT DISTINCT ?YA ?A ?YB ?B where {
?A dbo:influenced ?B.
?A a dbo:Philosopher.
?B a dbo:Philosopher.
?A dbo:birthYear ?YSA.
?B dbo:birthYear ?YSB.
BIND( SUBSTR( xsd:string(?YSA), 1, 4) AS ?YA )
BIND( SUBSTR( xsd:string(?YSB), 1, 4) AS ?YB )
} LIMIT 10000
which ...
4
I found the solution myself. I needed to make the last four attributes optional
SELECT * WHERE {
?player a <http://dbpedia.org/ontology/Athlete> .
?player foaf:name ?firstname .
?player foaf:surname ?lastname .
optional {?player <http://dbpedia.org/ontology/country> ?birthplace .}
optional {?player <http://dbpedia.org/ontology/...
3
I had to make the last four attributes optional
SELECT * WHERE {
?player a <http://dbpedia.org/ontology/Athlete> .
?player foaf:name ?firstname .
?player foaf:surname ?lastname .
optional {?player <http://dbpedia.org/ontology/country> ?birthplace .}
optional {?player <http://dbpedia.org/ontology/birthDate> ?birthDate .}
...
3
DBpedia (http://dbpedia.org/sparql) holds a static dataset, updated in batches roughly every 6-12 months. Changes made on Wikipedia will eventually show up here.
DBpedia-Live (http://live.dbpedia.org/sparql) holds a dynamic dataset, updated from the Wikipedia firehose on a near-constant basis. Changes made on Wikipedia generally show up here within hours ...
3
DBpedia
The answer provided by @svick will probably be most useful one in the long run, but for the time being dbp:iso3166code is unusable.
However, I noticed that (apparently) all the country pages are the targets of redirects of this kind:
dbr:ISO_3166-1:DO dbo:wikiPageRedirects dbr:Dominican_Republic
Therefore, I can extract ISO 3166-1 code like this:
...
3
There is dbp:iso3166code, but it seems it's not set for a lot of countries.
3
Q1: Are all DBpedia concepts associated with its relevent wikidata ID?
Those kind of links are usually generated by the people on either side into the direction of the other side. Since it is sometimes very hard to automatically detect links, it is very unlikely that a link between all concepts, properties or entities exist. If you are interested in the ...
2
First, I assume all NLP-related aspects are subtracted from your question.
DBpedia is considered as belonging to the Linguistic Linked Open Data Cloud (interactive SVG), but I'd suggest to try more specialized resources, e. g. RDF version of BabelNet.
One can't retrieve the whole list of English words with the number of meanings on the public endpoint.
...
1
Here below I'm using examples from comments to your previous question.
Linked Data Fragments
For simple queries, you could use Linked Data Fragments:
Query 1
Query 2
Add Accept: application/json header, if you need a JSON response.
SPARQL
For complex queries, you could use SPARQL.
For example, you don't need to know preliminarily, whether a resource ...
1
YAGO Demo page lists two possible ways:
Explore YAGO with our graph browser (YAGO3)
Explore YAGO with our ontology browser (YAGO2)
You can find what you need using query builder.
There also exists SPARQL endpoint.
1
Try
SELECT (count(?player) as ?count) WHERE {
?player a <http://dbpedia.org/ontology/Athlete> .
?player foaf:name ?firstname .
?player foaf:surname ?lastname .
?player <http://dbpedia.org/ontology/country> ?birthplace .
?player <http://dbpedia.org/ontology/birthDate> ?birthDate .
?player <http://dbpedia.org/ontology/Person/...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
dbpedia × 13linked-data × 6
uses-of-open-data × 5
rdf × 5
wikidata × 3
ontology × 3
wikipedia × 2
geospatial × 1
nlp × 1
research × 1
sparql × 1
json × 1