query-91c6087b12127fac5be2cabd3138b1a0
symmetric property = symmetric property constraint? ]reply[11:50, 9 November 2017 (UTC)) talk (JakobVoss. Here is a common list of properties with any of both. -- (Q18647518)symmetric property differ? If they differ this should be documented with examples. If both are the same, I'd propose to delete (Q21510862)symmetric constraint and property constraint (Q18647518)symmetric property : How do Infovarius@
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?p ?pLabel ?pDescription (GROUP_CONCAT(?type) AS ?types) {
{
{ ?p wdt:P31 wd:Q18647518 . BIND ("instance" AS ?type) } UNION
{ ?p wdt:P2302 wd:Q21510862 . BIND ("constraint" As ?type) }
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} GROUP BY ?p ?pLabel ?pDescription
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?p"):::projected
v3("?type"):::projected
v3("?types")
c6(["bd:serviceParam"]):::iri
c2(["wd:Q18647518"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q21510862"]):::iri
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P2302"--> c4
bind0[/"'constraint'"/]
bind0 --as--o v3
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> c2
bind1[/"'instance'"/]
bind1 --as--o v3
end
union0r <== or ==> union0l
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
bind3[/"?type"/]
v3 --o bind3
bind3 --as--o v3