query-388ccb6277407971c33608aed91d0b77

rq turtle/ttl

added before 2016-10 SELECT DISTINCT ?property ?propertyLabel ?propertyDescription ?subpropertyOf ?subpropertyOfLabel WHERE { ?property rdf:type wikibase:Property . OPTIONAL {?property wdt:P1647 ?subpropertyOf .} SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} added before 2016-10 SELECT DISTINCT ?property ?propertyLabel ?propertyDescription ?subpropertyOf ?subpropertyOfLabel WHERE { ?property rdf:type wikibase:Property . OPTIONAL {?property wdt:P1647 ?subpropertyOf .} SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} added before 2016-10 SELECT DISTINCT ?property ?propertyLabel ?propertyDescription ?subpropertyOf ?subpropertyOfLabel WHERE { ?property rdf:type wikibase:Property . OPTIONAL {?property wdt:P1647 ?subpropertyOf .} SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} added before 2016-10 SELECT DISTINCT ?property ?propertyLabel ?propertyDescription ?subpropertyOf ?subpropertyOfLabel WHERE { ?property rdf:type wikibase:Property . OPTIONAL {?property wdt:P1647 ?subpropertyOf .} SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} added before 2016-10 SELECT DISTINCT ?property ?propertyLabel ?propertyDescription ?subpropertyOf ?subpropertyOfLabel WHERE { ?property rdf:type wikibase:Property . OPTIONAL {?property wdt:P1647 ?subpropertyOf .} SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} added before 2016-10 SELECT DISTINCT ?property ?propertyLabel ?propertyDescription ?subpropertyOf ?subpropertyOfLabel WHERE { ?property rdf:type wikibase:Property . OPTIONAL {?property wdt:P1647 ?subpropertyOf .} SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} added before 2016-10 SELECT DISTINCT ?property ?propertyLabel ?propertyDescription ?subpropertyOf ?subpropertyOfLabel WHERE { ?property rdf:type wikibase:Property . OPTIONAL {?property wdt:P1647 ?subpropertyOf .} SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} added before 2016-10 SELECT DISTINCT ?property ?propertyLabel ?propertyDescription ?subpropertyOf ?subpropertyOfLabel WHERE { ?property rdf:type wikibase:Property . OPTIONAL {?property wdt:P1647 ?subpropertyOf .} SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} added before 2016-10 SELECT DISTINCT ?property ?propertyLabel ?propertyDescription ?subpropertyOf ?subpropertyOfLabel WHERE { ?property rdf:type wikibase:Property . OPTIONAL {?property wdt:P1647 ?subpropertyOf .} SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX bd: <http://www.bigdata.com/rdf#>
# added before 2016-10
SELECT DISTINCT ?property ?propertyLabel ?propertyDescription ?subpropertyOf ?subpropertyOfLabel 
WHERE
{
    ?property rdf:type wikibase:Property .
    OPTIONAL {?property wdt:P1647  ?subpropertyOf .}
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }   
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?property"):::projected v2("?subpropertyOf"):::projected c5(["bd:serviceParam"]):::iri c2(["wikibase:Property"]):::iri c7(["en"]):::literal v1 --"a"--> c2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P1647".-> v2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end