Main Page: Difference between revisions

3,959 bytes added ,  2 years ago
Line 57: Line 57:
*[https://kbtestwikibase.wikibase.cloud/query/#%23%20Find%20claim%20ids%20%28GUID%29%20for%20Qnumbers%20in%20this%20Wikibase%0A%23%20https%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fw%2Fapi.php%3Faction%3Dhelp%26modules%3Dwbgetclaims%0APREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0APREFIX%20p%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fprop%2F%3E%0APREFIX%20ps%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fprop%2Fstatement%2F%3E%0A%0ASELECT%20%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3Fclaim%20%3FIsEenLabel%0AWHERE%20%0A%7B%0A%20%20%20%20%3Fitem%20wikibase%3Aidentifiers%20%3Fb.%0A%20%20%20%20%3Fitem%20p%3AP3%20%3Fclaim.%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%3Fclaim%20ps%3AP3%20%3FIsEen.%20%20%20%20%20%20%20%20%20%20%20%0A%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22nl%22.%20%7D%0A%7D%0AORDER%20BY%20ASC%28xsd%3Ainteger%28STRAFTER%28STR%28%3Fitem%29%2C%20%27Q%27%29%29%29%0ALIMIT%2035 Claim ids (GUID) for Qnumbers in this Wikibase]
*[https://kbtestwikibase.wikibase.cloud/query/#%23%20Find%20claim%20ids%20%28GUID%29%20for%20Qnumbers%20in%20this%20Wikibase%0A%23%20https%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fw%2Fapi.php%3Faction%3Dhelp%26modules%3Dwbgetclaims%0APREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0APREFIX%20p%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fprop%2F%3E%0APREFIX%20ps%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fprop%2Fstatement%2F%3E%0A%0ASELECT%20%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3Fclaim%20%3FIsEenLabel%0AWHERE%20%0A%7B%0A%20%20%20%20%3Fitem%20wikibase%3Aidentifiers%20%3Fb.%0A%20%20%20%20%3Fitem%20p%3AP3%20%3Fclaim.%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%3Fclaim%20ps%3AP3%20%3FIsEen.%20%20%20%20%20%20%20%20%20%20%20%0A%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22nl%22.%20%7D%0A%7D%0AORDER%20BY%20ASC%28xsd%3Ainteger%28STRAFTER%28STR%28%3Fitem%29%2C%20%27Q%27%29%29%29%0ALIMIT%2035 Claim ids (GUID) for Qnumbers in this Wikibase]


=== Eenvoudige zoekvragen ===
* [https://kbtestwikibase.wikibase.cloud/query/#%23%20Overview%20of%20properties%20in%20this%20Wikibase%2C%20%0A%23%20with%20their%20Labels%2C%20Descriptions%20and%20Aliases%2C%20%0A%23%20both%20in%20NL%20and%20in%20EN%2C%20%0A%23%20as%20well%20their%20equivalent%20properties%20in%20Wikidata%20%28if%20applicable%29%20%0A%0APREFIX%20skos%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0APREFIX%20schema%3A%20%3Chttp%3A%2F%2Fschema.org%2F%3E%0APREFIX%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0APREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3Fp%20%3FpType%20%0A%3FpLabelNL%20%3FpLabelEN%20%0A%3FpDescriptionNL%20%3FpDescriptionEN%20%0A%28GROUP_CONCAT%28DISTINCT%20%3FpAliasNL%20%3B%20separator%20%3D%20%22%20%7C%20%22%29%20as%20%3FpAliasesNL%20%29%0A%28GROUP_CONCAT%28DISTINCT%20%3FpAliasEN%20%3B%20separator%20%3D%20%22%20%7C%20%22%29%20as%20%3FpAliasesEN%20%29%0A%3FwikidataEquivalentProperty%0A%0AWHERE%20%7B%0A%0A%20%20%3Fp%20wikibase%3ApropertyType%20%3FpType%20.%0A%20%20OPTIONAL%7B%3Fp%20wdt%3AP1%20%3FwikidataEquivalentProperty.%7D%20%0A%0A%20%20OPTIONAL%7B%3Fp%20rdfs%3Alabel%20%3FpLabelNL%20FILTER%28LANG%28%3FpLabelNL%29%3D%27nl%27%29.%7D%0A%20%20OPTIONAL%7B%3Fp%20rdfs%3Alabel%20%3FpLabelEN%20FILTER%28LANG%28%3FpLabelEN%29%3D%27en%27%29.%7D%0A%20%20%0A%20%20OPTIONAL%7B%3Fp%20schema%3Adescription%20%3FpDescriptionNL%20FILTER%28LANG%28%3FpDescriptionNL%29%20%3D%20%22nl%22%29.%20%7D%20%20%0A%20%20OPTIONAL%7B%3Fp%20schema%3Adescription%20%3FpDescriptionEN%20FILTER%28LANG%28%3FpDescriptionEN%29%20%3D%20%22en%22%29.%20%7D%0A%20%20%0A%20%20OPTIONAL%7B%3Fp%20skos%3AaltLabel%20%3FpAliasNL%20FILTER%28LANG%28%3FpAliasNL%29%20%3D%20%22nl%22%29.%20%7D%20%20%0A%20%20OPTIONAL%7B%3Fp%20skos%3AaltLabel%20%3FpAliasEN%20FILTER%28LANG%28%3FpAliasEN%29%20%3D%20%22en%22%29.%20%7D%20%20%20%20%20%0A%20%20%20%20%0A%7D%0AGROUP%20BY%20%3Fp%20%3FpType%20%3FpLabelNL%20%3FpLabelEN%20%3FpDescriptionNL%20%3FpDescriptionEN%20%3FwikidataEquivalentProperty%0AORDER%20BY%20ASC%28xsd%3Ainteger%28STRAFTER%28STR%28%3Fp%29%2C%20%27P%27%29%29%29 Overview of properties in this Wikibase, with their Labels, Descriptions and Aliases, both in NL and in EN, as well their equivalent properties in Wikidata (if applicable)]  
* [https://kbtestwikibase.wikibase.cloud/query/#%23%20Overview%20of%20properties%20in%20this%20Wikibase%2C%20%0A%23%20with%20their%20Labels%2C%20Descriptions%20and%20Aliases%2C%20%0A%23%20both%20in%20NL%20and%20in%20EN%2C%20%0A%23%20as%20well%20their%20equivalent%20properties%20in%20Wikidata%20%28if%20applicable%29%20%0A%0APREFIX%20skos%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0APREFIX%20schema%3A%20%3Chttp%3A%2F%2Fschema.org%2F%3E%0APREFIX%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0APREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3Fp%20%3FpType%20%0A%3FpLabelNL%20%3FpLabelEN%20%0A%3FpDescriptionNL%20%3FpDescriptionEN%20%0A%28GROUP_CONCAT%28DISTINCT%20%3FpAliasNL%20%3B%20separator%20%3D%20%22%20%7C%20%22%29%20as%20%3FpAliasesNL%20%29%0A%28GROUP_CONCAT%28DISTINCT%20%3FpAliasEN%20%3B%20separator%20%3D%20%22%20%7C%20%22%29%20as%20%3FpAliasesEN%20%29%0A%3FwikidataEquivalentProperty%0A%0AWHERE%20%7B%0A%0A%20%20%3Fp%20wikibase%3ApropertyType%20%3FpType%20.%0A%20%20OPTIONAL%7B%3Fp%20wdt%3AP1%20%3FwikidataEquivalentProperty.%7D%20%0A%0A%20%20OPTIONAL%7B%3Fp%20rdfs%3Alabel%20%3FpLabelNL%20FILTER%28LANG%28%3FpLabelNL%29%3D%27nl%27%29.%7D%0A%20%20OPTIONAL%7B%3Fp%20rdfs%3Alabel%20%3FpLabelEN%20FILTER%28LANG%28%3FpLabelEN%29%3D%27en%27%29.%7D%0A%20%20%0A%20%20OPTIONAL%7B%3Fp%20schema%3Adescription%20%3FpDescriptionNL%20FILTER%28LANG%28%3FpDescriptionNL%29%20%3D%20%22nl%22%29.%20%7D%20%20%0A%20%20OPTIONAL%7B%3Fp%20schema%3Adescription%20%3FpDescriptionEN%20FILTER%28LANG%28%3FpDescriptionEN%29%20%3D%20%22en%22%29.%20%7D%0A%20%20%0A%20%20OPTIONAL%7B%3Fp%20skos%3AaltLabel%20%3FpAliasNL%20FILTER%28LANG%28%3FpAliasNL%29%20%3D%20%22nl%22%29.%20%7D%20%20%0A%20%20OPTIONAL%7B%3Fp%20skos%3AaltLabel%20%3FpAliasEN%20FILTER%28LANG%28%3FpAliasEN%29%20%3D%20%22en%22%29.%20%7D%20%20%20%20%20%0A%20%20%20%20%0A%7D%0AGROUP%20BY%20%3Fp%20%3FpType%20%3FpLabelNL%20%3FpLabelEN%20%3FpDescriptionNL%20%3FpDescriptionEN%20%3FwikidataEquivalentProperty%0AORDER%20BY%20ASC%28xsd%3Ainteger%28STRAFTER%28STR%28%3Fp%29%2C%20%27P%27%29%29%29 Overview of properties in this Wikibase, with their Labels, Descriptions and Aliases, both in NL and in EN, as well their equivalent properties in Wikidata (if applicable)]  


Line 97: Line 96:
ORDER BY ASC(xsd:integer(STRAFTER(STR(?p), 'P')))
ORDER BY ASC(xsd:integer(STRAFTER(STR(?p), 'P')))
</sparql>
</sparql>
* [https://kbtestwikibase.wikibase.cloud/query/#%23%20Overview%20of%20properties%20in%20this%20Wikibase%2C%20%0A%23%20with%20their%20Labels%2C%20Descriptions%20and%20Aliases%2C%20%0A%23%20both%20in%20NL%20and%20in%20EN%2C%20%0A%23%20as%20well%20their%20equivalent%20properties%20in%20Wikidata%20%28if%20applicable%29%20%0A%0APREFIX%20skos%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0APREFIX%20schema%3A%20%3Chttp%3A%2F%2Fschema.org%2F%3E%0APREFIX%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0APREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3Fp%20%3FpType%20%0A%3FpLabelNL%20%3FpLabelEN%20%0A%3FpDescriptionNL%20%3FpDescriptionEN%20%0A%28GROUP_CONCAT%28DISTINCT%20%3FpAliasNL%20%3B%20separator%20%3D%20%22%20%7C%20%22%29%20as%20%3FpAliasesNL%20%29%0A%28GROUP_CONCAT%28DISTINCT%20%3FpAliasEN%20%3B%20separator%20%3D%20%22%20%7C%20%22%29%20as%20%3FpAliasesEN%20%29%0A%3FwikidataEquivalentProperty%0A%0AWHERE%20%7B%0A%0A%20%20%3Fp%20wikibase%3ApropertyType%20%3FpType%20.%0A%20%20OPTIONAL%7B%3Fp%20wdt%3AP1%20%3FwikidataEquivalentProperty.%7D%20%0A%0A%20%20OPTIONAL%7B%3Fp%20rdfs%3Alabel%20%3FpLabelNL%20FILTER%28LANG%28%3FpLabelNL%29%3D%27nl%27%29.%7D%0A%20%20OPTIONAL%7B%3Fp%20rdfs%3Alabel%20%3FpLabelEN%20FILTER%28LANG%28%3FpLabelEN%29%3D%27en%27%29.%7D%0A%20%20%0A%20%20OPTIONAL%7B%3Fp%20schema%3Adescription%20%3FpDescriptionNL%20FILTER%28LANG%28%3FpDescriptionNL%29%20%3D%20%22nl%22%29.%20%7D%20%20%0A%20%20OPTIONAL%7B%3Fp%20schema%3Adescription%20%3FpDescriptionEN%20FILTER%28LANG%28%3FpDescriptionEN%29%20%3D%20%22en%22%29.%20%7D%0A%20%20%0A%20%20OPTIONAL%7B%3Fp%20skos%3AaltLabel%20%3FpAliasNL%20FILTER%28LANG%28%3FpAliasNL%29%20%3D%20%22nl%22%29.%20%7D%20%20%0A%20%20OPTIONAL%7B%3Fp%20skos%3AaltLabel%20%3FpAliasEN%20FILTER%28LANG%28%3FpAliasEN%29%20%3D%20%22en%22%29.%20%7D%20%20%20%20%20%0A%20%20%20%20%0A%7D%0AGROUP%20BY%20%3Fp%20%3FpType%20%3FpLabelNL%20%3FpLabelEN%20%3FpDescriptionNL%20%3FpDescriptionEN%20%3FwikidataEquivalentProperty%0AORDER%20BY%20ASC%28xsd%3Ainteger%28STRAFTER%28STR%28%3Fp%29%2C%20%27P%27%29%29%29 Overview of items (Qs) in this Wikibase, with their Labels, Descriptions and Aliases, both in NL and in EN, as well their equivalent Q-items en URIs in Wikidata (if applicable)]
<sparql tryit="1">
# Overview of items (Qs) in this Wikibase,
# with their Labels, Descriptions and Aliases,
# both in NL and in EN,
# as well their equivalent Q-items en URIs in Wikidata (if applicable)
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <https://kbtestwikibase.wikibase.cloud/prop/direct/>
SELECT ?item ?itemLabelNL ?itemLabelEN
?itemDescriptionNL ?itemDescriptionEN
(GROUP_CONCAT(DISTINCT ?itemAliasNL ; separator = "|") as ?itemAliasesNL )
(GROUP_CONCAT(DISTINCT ?itemAliasEN ; separator = "|") as ?itemAliasesEN )
?wikidataEquivalentURI ?wikidataEquivalentItem
WHERE
{
  ?item wikibase:identifiers ?b
  OPTIONAL{?item wdt:P1 ?wikidataEquivalentURI.}
  OPTIONAL{?item wdt:P4 ?wikidataEquivalentItem.}
  OPTIONAL{?item rdfs:label ?itemLabelNL FILTER(LANG(?itemLabelNL)='nl').}
  OPTIONAL{?item rdfs:label ?itemLabelEN FILTER(LANG(?itemLabelEN)='en').}
 
  OPTIONAL{?item schema:description ?itemDescriptionNL FILTER(LANG(?itemDescriptionNL) = "nl"). } 
  OPTIONAL{?item schema:description ?itemDescriptionEN FILTER(LANG(?itemDescriptionEN) = "en"). }
 
  OPTIONAL{?item skos:altLabel ?itemAliasNL FILTER(LANG(?itemAliasNL) = "nl"). } 
  OPTIONAL{?item skos:altLabel ?itemAliasEN FILTER(LANG(?itemAliasEN) = "en"). }   
   
}
GROUP BY ?item ?itemLabelNL ?itemLabelEN ?itemDescriptionNL ?itemDescriptionEN ?wikidataEquivalentURI ?wikidataEquivalentItem 
ORDER BY ASC(xsd:integer(STRAFTER(STR(?item), 'Q')))
</sparql>
* [https://kbtestwikibase.wikibase.cloud/query/#%23kbwb%20%3D%20KB%20Wikibase%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0A%0ASELECT%20%3Fding%20%3FdingLabel%20%3FdingDescription%20%20%3FIsEen%20%3FIsEenLabel%20%3FIsEenDescription%20WHERE%0A%7B%0A%3Fding%20wdt%3AP3%20%3FIsEen%20%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22nl%22.%20%7D%0A%7D Dingen die een instantie (P3) zijn van andere dingen]
* [https://kbtestwikibase.wikibase.cloud/query/#%23kbwb%20%3D%20KB%20Wikibase%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0A%0ASELECT%20%3Fding%20%3FdingLabel%20%3FdingDescription%20%20%3FIsEen%20%3FIsEenLabel%20%3FIsEenDescription%20WHERE%0A%7B%0A%3Fding%20wdt%3AP3%20%3FIsEen%20%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22nl%22.%20%7D%0A%7D Dingen die een instantie (P3) zijn van andere dingen]
<sparql tryit="1">
<sparql tryit="1">
emailconfirmed
952

edits