New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

addwiki/wikibase-query

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

addwiki/wikibase-query

Wikibase Query library

Source
Packagist
This package is abandoned and is no longer maintained.
The author recommends using addwiki/addwiki instead.
This version has been yanked by its maintainers and should not be used.
Version
3.1.0
Version published
Total downloads
403
Maintainers
1
Created
Source

wikibase-query

GitHub issue custom search in repo Latest Stable Version Download count

Issue tracker: https://github.com/addwiki/addwiki/issues

Installation

Use composer to install the library and all its dependencies:

composer require "addwiki/wikibase-query:~3.0"

Examples

Use the SimpleQueryService with wikidata.

use Addwiki\Wikibase\Query\WikibaseQueryFactory;
use Addwiki\Wikibase\Query\PrefixSets;

$factory = new WikibaseQueryFactory(
    "https://query.wikidata.org/sparql",
    PrefixSets::WIKIDATA
);

$r = $factory->newSimpleQueryService()->query(["P31:Q1"]);

Keywords

api

FAQs

Package last updated on 12 Jul 2024

Related posts