Difference between revisions of "Bug/https query problem"

From Wikibase Personal data
Jump to navigation Jump to search
(Created page with "{{ SPARQLexample|query= SELECT ?item ?label ?_image WHERE { ?item pdiot:P3 pdio:Q1591. SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . ?item rdf...")
 
Line 1: Line 1:
 
{{
 
{{
SPARQLexample|query=
+
SPARQLexample|title=A test|query=
 
SELECT ?item ?label ?_image WHERE {
 
SELECT ?item ?label ?_image WHERE {
 
   ?item pdiot:P3 pdio:Q1591.
 
   ?item pdiot:P3 pdio:Q1591.
Line 7: Line 7:
 
     ?item rdfs:label ?label
 
     ?item rdfs:label ?label
 
   }
 
   }
 
 
 
OPTIONAL { ?item pdiot:P47 ?_image. }
 
OPTIONAL { ?item pdiot:P47 ?_image. }
 
}
 
}
 
LIMIT 100
 
LIMIT 100
 
}}
 
}}

Revision as of 23:00, 25 October 2019

A test

Direct link
SELECT ?item ?label ?_image WHERE {

 ?item pdiot:P3 pdio:Q1591.
 SERVICE wikibase:label {
   bd:serviceParam wikibase:language "en" . 
   ?item rdfs:label ?label
 }

OPTIONAL { ?item pdiot:P47 ?_image. } } LIMIT 100
PREFIX pdio: <https://wiki.personaldata.io/entity/> PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/> PREFIX pdiop: <https://wiki.personaldata.io/prop/> PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/> PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/> SELECT ?item ?label ?_image WHERE {

 ?item pdiot:P3 pdio:Q1591.
 SERVICE wikibase:label {
   bd:serviceParam wikibase:language "en" . 
   ?item rdfs:label ?label
 }

OPTIONAL { ?item pdiot:P47 ?_image. } } LIMIT 100