Arsip untuk Kategori ‘ semantic web ’

SPARQL 1.1 Federated Query

Fuseki Output

silahkan dipilih mana output yang kita inginkan


./s-query --service http://vmlidrc02.deri.ie:8000/dailymed/query 'select * {?s ?P ?o} limit 2' --output=text
./s-query --service http://localhost:8000/dailymed/query 'select * {?s ?P ?o} limit 2' --output=text
./s-query --service http://localhost:8000/dailymed/query 'select * {?s ?P ?o} limit 2' --output=xml
./s-query --service http://localhost:8000/dailymed/query 'select * {?s ?P ?o} limit 2' --output=json
./s-query --service http://localhost:8000/dailymed/query 'select * {?s ?P ?o} limit 2' --output=csv
./s-query --service http://localhost:8000/dailymed/query 'select * {?s ?P ?o} limit 2' --output=tsv

#LinkTraversal in a nutshell

  1. Discover relevant source at runtime #LinkTraversal #LinkedData
  2. Intermediate result triggers to find other relevant data source #LinkTraversal #LinkedData
  3. Zero knowledge of data statistic #LinkTraversal #LinkedData
  4. follow your nose concept #LinkTraversal #LinkedData
  5. hard to achieve completeness result #LinkTraversal #LinkedData
  6. could not execute any type of SPARQL query pattern.Ex : unbound predicate #LinkTraversal #LinkedData
  7. example #LinkTraversal : SQUIN, LTBQE, LIDAQ  #LinkedData

Statistik RDFDump

#author : Nur Aini Rakhmawati#
#twitter : @nuraini
#Date : 18 October 2012
awk '
{
s=$1
p=$2
o=$3
subj[s]=1
pre[p]=1
obj[o]=1
triple++
if ( match(p,"http://www.w3.org/1999/02/22-rdf-syntax-ns#type")!=0)
{
	entity++
	class[o]=1
	
}
else if(match(o, "^<", obj)!=0 )
	{
		uri++		
	}
else if(match(o, "^_:", obj)!=0 )
		bnode++
else
	literal++
}
END { 
for(no in class) { 
	totalC=totalC+class[no]	
}
for(no in subj) { 
	totalS=totalS+subj[no]	
}
for(no in pre) { 
	totalP=totalP+pre[no]	
}
for(no in obj) { 
	totalO=totalO+obj[no]	
}

printf("Triples %d\n",triple)
printf("Subject %d\n",totalS)
printf("Predicate %d\n",totalP)
printf("Object %d\n",totalO)

printf("class %d\n",totalC)
printf("entity %d\n",entity)
printf("uri %d\n",uri)
printf("literal %d\n",literal)
printf("bnode %d\n",bnode)
}' $1

[SPARQL] Tranlasi SPARQL Operators Ke SPARQL Algebra

Saya menemukan 1 bagian slide yang menurut saya penting bagi kita yang mengukur estimasi biaya sebuah SPARQL query dari presentasi Michael Schmidt, Michael Meier, Georg Lausen.  Slide tersebut menrangkan bagaimana kita mengubah SPARQL menajdi oerasi aljabar sebagaimana terlihat pada gambar berikut :

Ikuti

Get every new post delivered to your Inbox.

Bergabunglah dengan 3.135 pengikut lainnya.