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 "relative" (P1038)). See instructions for applicable format
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 "relative" (P1038)). See instructions for applicable format

    Data type

    String

    Statements

    0 references
    SPARQL query without SELECT * {}, wdt:P31 wd:Q5, but always including ?person and ?relative. Relationship properties: P22 (father), P25 (mother), P40 (child), P26 (spouse), P3373 (sibling) (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
    기준이 될 사람을 나타낸 "?person"과 그 사람과 해당 친족 관계인 사람을 나타낸 "?relative"가 포함된 SPARQL 쿼리를 값으로 넣어주세요. (단, "SELECT * {}" 구문과 "wdt:P31 wd:Q5" 조건문은 쿼리 서비스로 넘어갈 때 자동으로 삽입되니 쿼리에서 빼주세요.) (Korean)
    0 references
    Una query SPARQL senza SELECT * {}, wdt:P31 wd:Q5, ma che include ?person (per il soggetto) e ?relative (per il parente). Proprietà disponibili: P22 (padre), P25 (madre), P40 (figlia/o), P26 (coniuge), P3373 (fratello/sorella) (ed eventualmente altre, ma non P1038) (Italian)
    0 references
    0 references
    0 references
    ?person wdt:P22/wdt:P3373 ?uncle . ?uncle wdt:P40 ?relative . ?uncle wdt:P21 wd:Q6581097 . ?person wdt:P25/wdt:P3373 ?aunt . ?aunt wdt:P40 ?relative . ?aunt wdt:P21 wd:Q6581072 . ?relative wdt:P21 wd:Q6581072
    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