This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This SPARQL query could be used to calculate facets for SPARQL result set. | |
# The base result is defined as a subquery. | |
# Facets are calculated for the result set, and are returned as rows consisting of a facet id, a label, | |
# and a count. | |
# This query works against Virtuoso SPARQL endpoints. | |
# You can try it the against dbpedia virtuoso sparql endpoint, but it will probably fail due to the DBPedia endpoint's | |
# performance limitations. | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provides 'user_public_keys' | |
require 'etc' | |
# Initialize mash. | |
user_public_keys Mash.new | |
# For each entry in the password file... | |
Etc.passwd do |entry| |