Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Ali Gajani
1. Right, it depends on exactly that, the direction of the edges. At the moment, my query returns influencer: influencee, so that clearly means if the edges run towards the first column in the table, which is influencer. Am I right? 2. I know we can't do PR from counts. I didn't mean that at all.

Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Tom Morris
On Sat, Dec 21, 2013 at 2:58 PM, Ali Gajani wrote: > Many thanks for your input Tom. An in-degree is the number of incoming > edges towards that node. I think that captures *influencer: influencee > (Aristotle : Alexander, Aristotle : Myself)*, which means, in this > scenario, Aristotle (the node

Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Ali Gajani
Many thanks for your input Tom. An in-degree is the number of incoming edges towards that node. I think that captures *influencer: influencee (Aristotle : Alexander, Aristotle : Myself)*, which means, in this scenario, Aristotle (the node), has an in-degree of 2. I thought in-degree was a measure o

Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Tom Morris
On Sat, Dec 21, 2013 at 2:24 PM, Ali Gajani wrote: > ... I want to make sure I can use this dataset to count indegrees (high > influencers) properly. It is impossible to survey all the rows to ensure > the knowledge is true, but I am asking anyway. > Presumably you mean out-degree if you're talk

Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Joshua TAYLOR
On Sat, Dec 21, 2013 at 2:38 PM, Ali Gajani wrote: > Thanks, I get this table is pretty cool (and yeah, I thought Aristotle > would be first but I was wrong) but I'd like to keep my table in this form: > *Influencee > : Influencer *so I can actually plot it in Gephi and then do the rest. I > thi

Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Ali Gajani
Thanks, I get this table is pretty cool (and yeah, I thought Aristotle would be first but I was wrong) but I'd like to keep my table in this form: *Influencee : Influencer *so I can actually plot it in Gephi and then do the rest. I think the earlier query you mentioned does that, however, my questi

Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Joshua TAYLOR
On Sat, Dec 21, 2013 at 2:24 PM, Ali Gajani wrote: > Firstly, thank you so much for helping me discover new knowledge (for > myself) through this beautifully crafted SPARQL. This makes a lot more > sense that you have used the DISTINCT keyword to actually eliminate any > duplicates, but will this

Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Ali Gajani
Firstly, thank you so much for helping me discover new knowledge (for myself) through this beautifully crafted SPARQL. This makes a lot more sense that you have used the DISTINCT keyword to actually eliminate any duplicates, but will this query ensure the truth is captured in one table in the same

Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Joshua TAYLOR
On Sat, Dec 21, 2013 at 1:04 PM, Ali Gajani wrote: > SELECT * > WHERE { > ?p a > . > { ?p ?influenced. } > UNION > { ?p ?influencedBy.} > } > With a query like this, I'd expec

Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Ali Gajani
Thanks for your prompt reply Ben. I have on StackOverFlow but I am interested in some immediate expertise as I am entirely new to SPARQL. I am going to get a directed graph plotted on Gephi, just saying, so I did this, the SPARQL query below. Now, do you think it makes senses because the two tab

Re: [Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Ben Companjen
Hi Ali, To combine two (or more) sets of conditions for a query, use the UNION operator. See for a similar usecase of DBpedia this question on StackOverflow (usually a better place to ask programming questions, by the way): http://stackoverflow.com/questions/10720471/figuring-out-the-right-sparql-

[Dbpedia-discussion] Constructing the right SPARQL query

2013-12-21 Thread Ali Gajani
Hello everyone. I am looking into getting the list of the most influential people in history. To achieve this, I am going to be using this query as shown below. Now, I modify the query to get by adding 'influencedBy' to get a second table. Is there not a decent way to get these two tables queri

[Dbpedia-discussion] Annotation missed

2013-12-21 Thread Olivier Austina
Hi, I try to annotate this text "La Cour pénale internationale" using this url : http://spotlight.sztaki.hu:2225/rest/annotate?text=La Cour pénale internationale&confidence=0.0&support=0 I got the following xml file: The annotation is missed but it works fine in web browser or for the demo pa

[Dbpedia-discussion] Authority control; ORCID

2013-12-21 Thread Andy Mabbett
Am I right in thinking that DBpedia exposes people's VIAF identifiers? And does that from the {{Authority control}} template on the Engklish (and other) Wikiepdia? Does it also expose ORCID identifiers, and if not, could it do so in future, please? -- Andy Mabbett @pigsonthewing http://pigsonthe