Simple Question (Direct)
Simple Question
Q971941
P272
Q4830453
USER
Which business enterprise produces The Lady ?
(Q971941,P272,c(Q4830453))
action filter_type
action find
entity Q971941
relation P272
type Q4830453
['Q971941', 'P272', {'concept': 'Q4830453'}]
SELECT DISTINCT ?j WHERE { resource:Q971941 property:P272 ?j . ?j rdf:type ontology:Q4830453 }
The Lady
action filter_type
action find
entity The Lady
relation production company
type business enterprise
['The Lady', 'production company', {'concept': 'business enterprise'}]
SELECT DISTINCT ?j WHERE { resource:The_Lady property:production_company ?j . ?j rdf:type ontology:business_enterprise }
[]
business enterprise
Q525894
SYSTEM
France 2
Q525894
(Q971941,P272,c(Q4830453))
action filter_type
action find
entity Q971941
relation P272
type Q4830453
[ANSWER] produces The Lady
['Q971941', 'P272', {'concept': 'Q4830453'}]
SELECT DISTINCT ?j WHERE { resource:Q971941 property:P272 ?j . ?j rdf:type ontology:Q4830453 }
France 2
France 2 produces The Lady
France 2
action filter_type
action find
entity The Lady
relation production company
type business enterprise
['The Lady', 'production company', {'concept': 'business enterprise'}]
SELECT DISTINCT ?j WHERE { resource:The_Lady property:production_company ?j . ?j rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q971941
P344
Q502895
USER
Who is appointed as the cinematographer of The Lady ?
(Q971941,P344,c(Q502895))
action filter_type
action find
entity Q971941
relation P344
type Q502895
['Q971941', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q971941 property:P344 ?n }
The Lady
action filter_type
action find
entity The Lady
relation director of photography
type common name
['The Lady', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:The_Lady property:director_of_photography ?n }
[]
common name
Q580810
SYSTEM
Thierry Arbogast
Q580810
(Q971941,P344,c(Q502895))
action filter_type
action find
entity Q971941
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of The Lady
['Q971941', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q971941 property:P344 ?n }
Thierry Arbogast
Thierry Arbogast is appointed as the cinematographer of The Lady
Thierry Arbogast
action filter_type
action find
entity The Lady
relation director of photography
type common name
['The Lady', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:The_Lady property:director_of_photography ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
How many applications have been dubbed by atmost 3 people ?
(c(Q166142),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 3
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?t ) WHERE { ?b property:P725 ?d . ?b rdf:type ontology:Q166142 . ?d rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?t <= 3 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type application
type common name
value 3
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?t ) WHERE { ?b property:voice_actor ?d . ?b rdf:type ontology:application . ?d rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?t <= 3 ) }
[]
common name application
SYSTEM
88
Q5319170 Q602979 Q1371495 Q1065670 Q8059682 Q7379808 Q3546883 Q7379806 Q6902732 Q3274352 Q1191681 Q2709892 Q3291127 Q2987460 Q1986800 Q14831173 Q166060 Q1302197 Q1141572 Q1035512 Q2887359 Q840449 Q338486 Q538150 Q483103 Q239288 Q756856 Q14785138 Q216995 Q3823700 Q2819427 Q2525598 Q3992270 Q838707 Q1068256 Q207981 Q1154327 Q1037042 Q2005910 Q1801455 Q699815 Q6133492 Q847471 Q1868703 Q483120 Q2627892 Q537389 Q706638 Q482472 Q482500 Q17911588 Q1153316 Q6143593 Q839091 Q5944170 Q484072 Q277021 Q857823 Q887421 Q3178243 Q515254 Q16547653 Q914286 Q2760871 Q1205695 Q1105802 Q3267335 Q2471350 Q746438 Q484233 Q1347470 Q385228 Q1774415 Q1113356 Q531552 Q2457536 Q2403902 Q129277 Q891706 Q3866908 Q3715363 Q476230 Q239889 Q165929 Q600707 Q5968518 Q2473832 Q1075410
(c(Q166142),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 3
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?t ) WHERE { ?b property:P725 ?d . ?b rdf:type ontology:Q166142 . ?d rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?t <= 3 ) }
Dynasty Warriors 8 Tokyo Majin System Shock 2 Shuffle! Ys Seven Rune Factory 4 Hourglass of Summer Rune Factory: Tides of Destiny Monster Hunter Diary: Poka Poka Airu Village Poyopoyo Kansatsu Nikki Battle Vixens Phantasy Star Online 2 Arc Rise Fantasia Tsuyokiss Megazone 23 Space Dandy Umineko: When They Cry Princess Lover! Miracle Girls Danganronpa: Trigger Happy Havoc God Eater 2 Kenran Butohsai Street Fighter X Tekken To Love-Ru Nogizaka Haruka no Himitsu StarCraft II: Wings of Liberty Hitman: Codename 47 Kantai Collection Super Mario 64 Princess Minerva ASH: Archaic Sealed Heat Zegapain Tokimeki Memorial Online Mario Kart Wii Gakuen Utopia Manabi Straight! Code Geass XIII Hitman 2: Silent Assassin Metroid: Other M Saints Row: The Third Galaxy Angel Shippū! Iron Leaguer Full Throttle Lollipop Chainsaw Nichijou Tales of Innocence Soul Eater Future GPX Cyber Formula School Rumble Bludgeoning Angel Dokuro-Chan Saints Row: Gat out of Hell Dragon Nest Zettai Bōei Leviathan Lucky Star Nora to Toki no Kōbō: Kiri no Mori no Majo Granado Espada A Certain Magical Index Fate/stay night Queen's Blade Luminous Arc Record of Agarest War Zero Under Night In-Birth Street Fighter IV Sengoku Collection Akaneiro ni Somaru Saka Lagrange: The Flower of Rin-ne Luminous Arc 2 Godannar Hiiro no Kakera Dungeon Fighter Online (DFO) 11eyes: Tsumi to Batsu to Aganai no Shōjo Spice and Wolf Final Fantasy Type-0 Atelier Meruru: The Apprentice of Arland Angel Beats! Galaxy Angel II Disgaea 4: A Promise Unforgotten Hitman: Absolution Super Robot Wars UX Mugen Souls Tanken Driland Claymore Hitman: Blood Money StarCraft Hitman: Contracts Rune Factory 3: A Fantasy Harvest Moon Tantei Opera Milky Holmes Fate/Extra
88
action count
action atmost
action find_tuple_counts
relation voice actor
type application
type common name
value 3
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?t ) WHERE { ?b property:voice_actor ?d . ?b rdf:type ontology:application . ?d rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?t <= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4040528
P162
Q502895
USER
Who is the producer of Hell ?
(Q4040528,P162,c(Q502895))
action filter_type
action find
entity Q4040528
relation P162
type Q502895
['Q4040528', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q4040528 property:P162 ?j . ?j rdf:type ontology:Q502895 }
Hell
action filter_type
action find
entity Hell
relation producer
type common name
['Hell', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Hell property:producer ?j . ?j rdf:type ontology:common_name }
[]
common name
Q1964732
SYSTEM
Johnny K
Q1964732
(Q4040528,P162,c(Q502895))
action filter_type
action find
entity Q4040528
relation P162
type Q502895
The producer of Hell is the [ANSWER]
['Q4040528', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q4040528 property:P162 ?j . ?j rdf:type ontology:Q502895 }
Johnny K
The producer of Hell is the Johnny K
Johnny K
action filter_type
action find
entity Hell
relation producer
type common name
['Hell', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Hell property:producer ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1964732
P136
Q151885
USER
Which concept is the genre for that person ?
(Q1964732,P136,c(Q151885))
action filter_type
action find
entity Q1964732
relation P136
type Q151885
['Q1964732', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q1964732 property:P136 ?u . ?u rdf:type ontology:Q151885 }
Johnny K
action filter_type
action find
entity Johnny K
relation genre
type concept
['Johnny K', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Johnny_K property:genre ?u . ?u rdf:type ontology:concept }
[]
concept
Q83270
SYSTEM
hard rock
Q83270
(Q1964732,P136,c(Q151885))
action filter_type
action find
entity Q1964732
relation P136
type Q151885
' [ANSWER] is the genre for that person
['Q1964732', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q1964732 property:P136 ?u . ?u rdf:type ontology:Q151885 }
hard rock
' hard rock is the genre for that person
hard rock
action filter_type
action find
entity Johnny K
relation genre
type concept
['Johnny K', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Johnny_K property:genre ?u . ?u rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q11424 Q7725634
USER
Which works of art were approximately 1 films or literary works inspired by ?
(c(Q11424)|c(Q7725634),P941,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
value 1
[[{'concept': 'Q11424'}, {'concept': 'Q7725634'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?s WHERE { { ?h property:P941 ?s . ?s rdf:type ontology:Q838948 . ?h rdf:type ontology:Q11424 } UNION { ?h property:P941 ?s . ?s rdf:type ontology:Q838948 . ?h rdf:type ontology:Q7725634 } } GROUP BY ?s } . FILTER ( ?l = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
value 1
[[{'concept': 'film'}, {'concept': 'literary work'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?s WHERE { { ?h property:inspired_by ?s . ?s rdf:type ontology:work_of_art . ?h rdf:type ontology:film } UNION { ?h property:inspired_by ?s . ?s rdf:type ontology:work_of_art . ?h rdf:type ontology:literary_work } } GROUP BY ?s } . FILTER ( ?l = 1 ) }
[]
work of art film literary work
Q1217787 Q1856846 Q41567
SYSTEM
The Time Machine, The Ballad of Cable Hogue, Hamlet
Q1217787 Q1856846 Q41567 Q5968141 Q83186
(c(Q11424)|c(Q7725634),P941,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
value 1
[ANSWERS] were approximately 1 films or literary works inspired by
[[{'concept': 'Q11424'}, {'concept': 'Q7725634'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?s WHERE { { ?h property:P941 ?s . ?s rdf:type ontology:Q838948 . ?h rdf:type ontology:Q11424 } UNION { ?h property:P941 ?s . ?s rdf:type ontology:Q838948 . ?h rdf:type ontology:Q7725634 } } GROUP BY ?s } . FILTER ( ?l = 1 ) }
The Time Machine The Ballad of Cable Hogue Hamlet La sirena varada Romeo and Juliet
The Time Machine, The Ballad of Cable Hogue and Hamlet were approximately 1 films or literary works inspired by
The Time Machine The Ballad of Cable Hogue Hamlet
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
value 1
[[{'concept': 'film'}, {'concept': 'literary work'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?s WHERE { { ?h property:inspired_by ?s . ?s rdf:type ontology:work_of_art . ?h rdf:type ontology:film } UNION { ?h property:inspired_by ?s . ?s rdf:type ontology:work_of_art . ?h rdf:type ontology:literary_work } } GROUP BY ?s } . FILTER ( ?l = 1 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P144
Q838948 Q5398426
USER
How many works of art are more number of television series adapted from than that work of art ?
(c(Q5398426),P144,c(Q838948))
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
work of art television series
Comparative|Count over More/Less|Single entity type|Clarification
Q41567
SYSTEM
Did you mean Hamlet ?
(c(Q5398426),P144,c(Q838948))
[ANSWER]
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
Did you mean Hamlet ?
Hamlet
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q5398426),P144,c(Q838948))
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
[]
SYSTEM
1
Q2337685
(c(Q5398426),P144,c(Q838948))
[ANSWER]
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
Angels in America: A Gay Fantasia on National Themes
1
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q41567
P144 P495
Q838948
USER
Which works of art are an extension Hamlet and originated in United States of America ?
AND((c(Q838948),P144,Q41567), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q41567
relation P144
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P144', 'Q41567'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q838948 . ?f property:P144 resource:Q41567 . ?f property:P495 resource:Q30 }
United States of America Hamlet
action filter_type
action intersection
action find_reverse
entity Hamlet
relation based on
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'based on', 'Hamlet'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:work_of_art . ?f property:based_on resource:Hamlet . ?f property:country_of_origin resource:United_States_of_America }
[]
work of art
Q1422824 Q898721 Q6533081 Q1393651
SYSTEM
Hamlet, Hamlet, Let the Devil Wear Black, Hamlet
Q1422824 Q898721 Q6533081 Q1393651
AND((c(Q838948),P144,Q41567), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q41567
relation P144
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P144', 'Q41567'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q838948 . ?f property:P144 resource:Q41567 . ?f property:P495 resource:Q30 }
Hamlet Hamlet Let the Devil Wear Black Hamlet
Hamlet, let the Devil Wear Black and Hamlet are an extension Hamlet and originated in United States of America
Hamlet Hamlet Let the Devil Wear Black Hamlet
action filter_type
action intersection
action find_reverse
entity Hamlet
relation based on
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'based on', 'Hamlet'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:work_of_art . ?f property:based_on resource:Hamlet . ?f property:country_of_origin resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1422824
P86
Q502895
USER
Who composed Hamlet ?
(Q1422824,P86,c(Q502895))
action filter_type
action find
entity Q1422824
relation P86
type Q502895
['Q1422824', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1422824 property:P86 ?m }
Hamlet
action filter_type
action find
entity Hamlet
relation composer
type common name
['Hamlet', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Hamlet property:composer ?m }
[]
common name
Q23848
SYSTEM
Ennio Morricone
Q23848
(Q1422824,P86,c(Q502895))
action filter_type
action find
entity Q1422824
relation P86
type Q502895
[ANSWER] composed Hamlet
['Q1422824', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1422824 property:P86 ?m }
Ennio Morricone
Ennio Morricone composed Hamlet
Ennio Morricone
action filter_type
action find
entity Hamlet
relation composer
type common name
['Hamlet', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Hamlet property:composer ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3548707
Q502895
USER
And how about Man Without a Name?
(Q3548707,P86,c(Q502895))
action filter_type
action find
entity Q3548707
relation P86
type Q502895
['Q3548707', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3548707 property:P86 ?t . ?t rdf:type ontology:Q502895 }
Man Without a Name
action filter_type
action find
entity Man Without a Name
relation composer
type common name
['Man Without a Name', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Man_Without_a_Name property:composer ?t . ?t rdf:type ontology:common_name }
[]
common name
Q95492
SYSTEM
Hans-Otto Borgmann
Q95492
(Q3548707,P86,c(Q502895))
action filter_type
action find
entity Q3548707
relation P86
type Q502895
[ANSWER]
['Q3548707', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3548707 property:P86 ?t . ?t rdf:type ontology:Q502895 }
Hans-Otto Borgmann
Hans-Otto Borgmann
action filter_type
action find
entity Man Without a Name
relation composer
type common name
['Man Without a Name', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Man_Without_a_Name property:composer ?t . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q1048835
USER
How many political territories do that person belong to ?
(Q95492,P27,c(Q1048835))
action count
action filter_type
action find
entity Q95492
relation P27
type Q1048835
['Q95492', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q95492 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity Hans-Otto Borgmann
relation country of citizenship
type political territorial entity
['Hans-Otto Borgmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Hans-Otto_Borgmann property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q95492,P27,c(Q1048835))
action count
action filter_type
action find
entity Q95492
relation P27
type Q1048835
[ANSWER]
['Q95492', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q95492 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Hans-Otto Borgmann
relation country of citizenship
type political territorial entity
['Hans-Otto Borgmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Hans-Otto_Borgmann property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]