kinship equivalent in SPARQL at Wikidata (P4316)

From Wikidata
Jump to navigation Jump to search
part of a SPARQL query that lists this type of ?relative of a ?person. Use with relationship properties (except P1038). See instructions for applicable format.
edit
Language Label Description Also known as
English
kinship equivalent in SPARQL at Wikidata
part of a SPARQL query that lists this type of ?relative of a ?person. Use with relationship properties (except P1038). See instructions for applicable format.

    Data type

    String

    Statements

    SPARQL query without SELECT * {}, wdt:P31 wd:Q5, but always including ?person and ?relative. Relationship properties: P22, P25, P40, P26, P3373 (add more if needed, not P1038) (English)
    0 references
    SPARQL-запит без SELECT * {}, wdt:P31 wd:Q5, але завжди включаючи ?person та ?relative. Властивості взаємозв'язку: P22, P25, P40, P26, P3373 (додайте більше, якщо потрібно, але не P1038) (Ukrainian)
    0 references
    SPARQL查询,不带“SELECT * {}”、“wdt:P31 wd:Q5”,但总是包含“?person”和“?relative”。相关属性:P22、P25、P40、P26、P3373(如有需要可添加更多,但不能是P1038) (Simplified Chinese)
    0 references
    0 references
    0 references
    https://query.wikidata.org/#SELECT%20%3Fperson%20%3FpersonLabel%20%3Frelative%20%3FrelativeLabel%0A%7B%20%0A%20%20$1.%0A%20%20%3Fperson%20wdt%3AP31%20wd%3AQ5%20.%20%3Frelative%20wdt%3AP31%20wd%3AQ5%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0ALIMIT%2010
    0 references
    https://query.wikidata.org/#SELECT%20%0A%20%20%28COUNT%28%2a%29%20as%20%3Fct1%29%20%0A%20%20%28COUNT%28DISTINCT%20%3Fperson%29%20as%20%3Fct2%29%20%0A%20%20%28COUNT%28DISTINCT%20%3Frelative%29%20as%20%3Fct3%29%20%0AWHERE%0A%7B%20%20%0A%20%20%20%20$1%20.%20%0A%20%20%20%20%3Fperson%20wdt%3AP31%20wd%3AQ5%20.%20%0A%20%20%20%20%3Frelative%20wdt%3AP31%20wd%3AQ5%0A%7D
    0 references

    Constraints