Simple Question (Direct)
Simple Question
Q19627512
P136
Q223393
USER
What can be considered as category for Orange Marmalade ?
(Q19627512,P136,c(Q223393))
action filter_type
action find
entity Q19627512
relation P136
type Q223393
['Q19627512', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?z WHERE { resource:Q19627512 property:P136 ?z . ?z rdf:type ontology:Q223393 }
Orange Marmalade
action filter_type
action find
entity Orange Marmalade
relation genre
type literary genre
['Orange Marmalade', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?z WHERE { resource:Orange_Marmalade property:genre ?z . ?z rdf:type ontology:literary_genre }
[]
literary genre
Q132311
SYSTEM
fantasy
Q132311
(Q19627512,P136,c(Q223393))
action filter_type
action find
entity Q19627512
relation P136
type Q223393
The [ANSWER] can be considered as category for Orange Marmalade
['Q19627512', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?z WHERE { resource:Q19627512 property:P136 ?z . ?z rdf:type ontology:Q223393 }
fantasy
The fantasy can be considered as category for Orange Marmalade
fantasy
action filter_type
action find
entity Orange Marmalade
relation genre
type literary genre
['Orange Marmalade', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?z WHERE { resource:Orange_Marmalade property:genre ?z . ?z rdf:type ontology:literary_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19627512
P161
Q502895
USER
Which people starred in Orange Marmalade ?
(Q19627512,P161,c(Q502895))
action filter_type
action find
entity Q19627512
relation P161
type Q502895
['Q19627512', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q19627512 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Orange Marmalade
action filter_type
action find
entity Orange Marmalade
relation cast member
type common name
['Orange Marmalade', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Orange_Marmalade property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
common name
Q16173210 Q488057 Q486338
SYSTEM
Kim Seolhyun, Lee Jong-hyun, Yeo Jin-goo
Q486338 Q15120995 Q16173210 Q488057 Q493519
(Q19627512,P161,c(Q502895))
action filter_type
action find
entity Q19627512
relation P161
type Q502895
[ANSWERS] starred in Orange Marmalade
['Q19627512', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q19627512 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Yeo Jin-goo Lee Il-hwa Kim Seolhyun Lee Jong-hyun Song Jong-ho
Kim Seolhyun, Lee Jong-hyun and Yeo Jin-goo starred in Orange Marmalade
Kim Seolhyun Lee Jong-hyun Yeo Jin-goo
action filter_type
action find
entity Orange Marmalade
relation cast member
type common name
['Orange Marmalade', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Orange_Marmalade property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3632551
Q502895
USER
And how about Baciato dalla fortuna?
(Q3632551,P161,c(Q502895))
action filter_type
action find
entity Q3632551
relation P161
type Q502895
['Q3632551', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3632551 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Baciato dalla fortuna
action filter_type
action find
entity Baciato dalla fortuna
relation cast member
type common name
['Baciato dalla fortuna', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Baciato_dalla_fortuna property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
common name
Q232052 Q4013506 Q1276918
SYSTEM
Asia Argento, Vincenzo Salemme, Alessandro Gassman
Q232052 Q3893598 Q3852550 Q1065319 Q3845923 Q4013506 Q3770667 Q3802324 Q3702561 Q1276918 Q457841
(Q3632551,P161,c(Q502895))
action filter_type
action find
entity Q3632551
relation P161
type Q502895
[ANSWERS]
['Q3632551', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3632551 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Asia Argento Paola Minaccioni Maurizio Casagrande Elena Santarelli Marco Bazzoni Vincenzo Salemme Giuseppe Giacobazzi Isabelle Adriani Dario Bandiera Alessandro Gassman Nicole Grimaudo
Asia Argento Vincenzo Salemme Alessandro Gassman
action filter_type
action find
entity Baciato dalla fortuna
relation cast member
type common name
['Baciato dalla fortuna', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Baciato_dalla_fortuna property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q232052
P19
Q56061
USER
Where was that person born ?
(Q232052,P19,c(Q56061))
action filter_type
action find
entity Q232052
relation P19
type Q56061
['Q232052', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q232052 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Asia Argento
action filter_type
action find
entity Asia Argento
relation place of birth
type administrative territorial entity
['Asia Argento', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Asia_Argento property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q4013506
SYSTEM
Did you mean Vincenzo Salemme ?
Q232052 Q4013506 Q1276918
(Q232052,P19,c(Q56061)) (Q4013506,P19,c(Q56061)) (Q1276918,P19,c(Q56061))
[ANSWER]
['Q232052', 'P19', {'concept': 'Q56061'}] ['Q4013506', 'P19', {'concept': 'Q56061'}] ['Q1276918', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q232052 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Asia Argento Vincenzo Salemme Alessandro Gassman
Did you mean Vincenzo Salemme ?
Vincenzo Salemme
['Asia Argento', 'place of birth', {'concept': 'administrative territorial entity'}] ['Vincenzo Salemme', 'place of birth', {'concept': 'administrative territorial entity'}] ['Alessandro Gassman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Asia_Argento property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Asia Argento. Could you tell me the answer for that?
(Q232052,P19,c(Q56061))
Q232052
['Q232052', 'P19', {'concept': 'Q56061'}]
['Asia Argento', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
Q220
SYSTEM
Rome
Q220
(Q232052,P19,c(Q56061))
action filter_type
action find
entity Q232052
relation P19
type Q56061
That person was born in [ANSWER]
['Q232052', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q232052 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Rome
That person was born in Rome
Rome
action filter_type
action find
entity Asia Argento
relation place of birth
type administrative territorial entity
['Asia Argento', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Asia_Argento property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q220 Q659192
P1376
Q15617994
USER
Does Vrees have that administrative territory as its capital ?
(Q220,P1376,Q659192)
action is_in
entity Q659192
action find
entity Q220
relation P1376
['Q220', 'P1376', 'Q659192']
ASK WHERE { resource:Q220 property:P1376 resource:Q659192 }
Rome Vrees
action is_in
entity Vrees
action find
entity Rome
relation capital of
['Rome', 'capital of', 'Vrees']
ASK WHERE { resource:Rome property:capital_of resource:Vrees }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q220,P1376,Q659192)
action is_in
entity Q659192
action find
entity Q220
relation P1376
[ANSWER]
['Q220', 'P1376', 'Q659192']
ASK WHERE { resource:Q220 property:P1376 resource:Q659192 }
No
action is_in
entity Vrees
action find
entity Rome
relation capital of
['Rome', 'capital of', 'Vrees']
ASK WHERE { resource:Rome property:capital_of resource:Vrees }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7562988 Q488057
P161
Q15416
USER
Which television programs stars Lee Jong-hyun or Sophie Dix as actor ?
OR((c(Q15416),P161,Q488057), (c(Q15416),P161,Q7562988))
action filter_type
action union
action find_reverse
entity Q488057
relation P161
action find_reverse
entity Q7562988
relation P161
type Q15416
{'OR': [[{'concept': 'Q15416'}, 'P161', 'Q488057'], [{'concept': 'Q15416'}, 'P161', 'Q7562988']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?r ) { ( resource:Q488057 ) ( resource:Q7562988 ) } . ?o property:P161 ?r } . ?o rdf:type ontology:Q15416 }
Sophie Dix Lee Jong-hyun
action filter_type
action union
action find_reverse
entity Lee Jong-hyun
relation cast member
action find_reverse
entity Sophie Dix
relation cast member
type television program
{'OR': [[{'concept': 'television program'}, 'cast member', 'Lee Jong-hyun'], [{'concept': 'television program'}, 'cast member', 'Sophie Dix']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?r ) { ( resource:Lee_Jong-hyun ) ( resource:Sophie_Dix ) } . ?o property:cast_member ?r } . ?o rdf:type ontology:television_program }
[]
television program
Q27058163 Q19627512
SYSTEM
Feather Boy, Orange Marmalade
Q27058163 Q19627512
OR((c(Q15416),P161,Q488057), (c(Q15416),P161,Q7562988))
action filter_type
action union
action find_reverse
entity Q488057
relation P161
action find_reverse
entity Q7562988
relation P161
type Q15416
[ANSWERS] star Lee Jong-hyun or Sophie Dix as actor
{'OR': [[{'concept': 'Q15416'}, 'P161', 'Q488057'], [{'concept': 'Q15416'}, 'P161', 'Q7562988']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?r ) { ( resource:Q488057 ) ( resource:Q7562988 ) } . ?o property:P161 ?r } . ?o rdf:type ontology:Q15416 }
Feather Boy Orange Marmalade
Feather Boy and Orange Marmalade star Lee Jong-hyun or Sophie Dix as actor
Feather Boy Orange Marmalade
action filter_type
action union
action find_reverse
entity Lee Jong-hyun
relation cast member
action find_reverse
entity Sophie Dix
relation cast member
type television program
{'OR': [[{'concept': 'television program'}, 'cast member', 'Lee Jong-hyun'], [{'concept': 'television program'}, 'cast member', 'Sophie Dix']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?r ) { ( resource:Lee_Jong-hyun ) ( resource:Sophie_Dix ) } . ?o property:cast_member ?r } . ?o rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q27058163 Q19627512
P495
Q15617994
USER
Which administrative territories are the origin of Feather Boy and Orange Marmalade ?
(Q27058163,P495,c(Q15617994)) (Q19627512,P495,c(Q15617994))
action union
action filter_type
action find
entity Q27058163
relation P495
type Q15617994
action filter_type
action find
entity Q19627512
relation P495
type Q15617994
['Q27058163', 'P495', {'concept': 'Q15617994'}] ['Q19627512', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?q ) { ( resource:Q27058163 ) ( resource:Q19627512 ) } . ?q property:P495 ?s }
Feather Boy Orange Marmalade
action union
action filter_type
action find
entity Feather Boy
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Orange Marmalade
relation country of origin
type designation for an administrative territorial entity
['Feather Boy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Orange Marmalade', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?q ) { ( resource:Feather_Boy ) ( resource:Orange_Marmalade ) } . ?q property:country_of_origin ?s }
[]
designation for an administrative territorial entity
Q145 Q884
SYSTEM
United Kingdom, South Korea
Q145 Q884
(Q27058163,P495,c(Q15617994)) (Q19627512,P495,c(Q15617994))
action union
action filter_type
action find
entity Q27058163
relation P495
type Q15617994
action filter_type
action find
entity Q19627512
relation P495
type Q15617994
[ANSWERS] are the origin of Feather Boy and Orange Marmalade
['Q27058163', 'P495', {'concept': 'Q15617994'}] ['Q19627512', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?q ) { ( resource:Q27058163 ) ( resource:Q19627512 ) } . ?q property:P495 ?s }
United Kingdom South Korea
United Kingdom and South Korea are the origin of Feather Boy and Orange Marmalade
United Kingdom South Korea
action union
action filter_type
action find
entity Feather Boy
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Orange Marmalade
relation country of origin
type designation for an administrative territorial entity
['Feather Boy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Orange Marmalade', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?q ) { ( resource:Feather_Boy ) ( resource:Orange_Marmalade ) } . ?q property:country_of_origin ?s }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q145 Q884
P463
Q874405
USER
Which organizations were those administrative territories a member of ?
(Q145,P463,c(Q874405)) (Q884,P463,c(Q874405))
action filter_type
action find
entity prev_answer
relation P463
type Q874405
['Q145', 'P463', {'concept': 'Q874405'}] ['Q884', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?x ) { ( resource:Q145 ) ( resource:Q884 ) } . ?x property:P463 ?b . ?b rdf:type ontology:Q874405 }
United Kingdom South Korea
action filter_type
action find
entity prev_answer
relation member of
type social group
['United Kingdom', 'member of', {'concept': 'social group'}] ['South Korea', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?x ) { ( resource:United_Kingdom ) ( resource:South_Korea ) } . ?x property:member_of ?b . ?b rdf:type ontology:social_group }
[]
social group
Q8908 Q782942 Q782942
SYSTEM
Australia Group for 2nd, 3rd, Council of Europe for 1st
Q8908 Q782942 Q782942
(Q145,P463,c(Q874405)) (Q884,P463,c(Q874405))
action filter_type
action find
entity prev_answer
relation P463
type Q874405
[ANSWERS]
['Q145', 'P463', {'concept': 'Q874405'}] ['Q884', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?x ) { ( resource:Q145 ) ( resource:Q884 ) } . ?x property:P463 ?b . ?b rdf:type ontology:Q874405 }
Council of Europe Australia Group Australia Group
Council of Europe, Australia Group and Australia Group were those administrative territories a member of
Council of Europe Australia Group Australia Group
action filter_type
action find
entity prev_answer
relation member of
type social group
['United Kingdom', 'member of', {'concept': 'social group'}] ['South Korea', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?x ) { ( resource:United_Kingdom ) ( resource:South_Korea ) } . ?x property:member_of ?b . ?b rdf:type ontology:social_group }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8908
P1001
Q12737077
USER
Which occupation has jurisdiction over that social group ?
(c(Q12737077),P1001,Q8908)
action filter_type
action find_reverse
entity Q8908
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q8908']
SELECT DISTINCT ?r WHERE { ?r property:P1001 resource:Q8908 . ?r rdf:type ontology:Q12737077 }
Council of Europe
action filter_type
action find_reverse
entity Council of Europe
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Council of Europe']
SELECT DISTINCT ?r WHERE { ?r property:applies_to_jurisdiction resource:Council_of_Europe . ?r rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q782942
SYSTEM
Did you mean Australia Group ?
Q8908 Q782942 Q782942
(c(Q12737077),P1001,Q8908) (c(Q12737077),P1001,Q782942) (c(Q12737077),P1001,Q782942)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q8908'] [{'concept': 'Q12737077'}, 'P1001', 'Q782942'] [{'concept': 'Q12737077'}, 'P1001', 'Q782942']
SELECT DISTINCT ?r WHERE { ?r property:P1001 resource:Q8908 . ?r rdf:type ontology:Q12737077 }
Council of Europe Australia Group Australia Group
Did you mean Australia Group ?
Australia Group
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Council of Europe'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Australia Group'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Australia Group']
SELECT DISTINCT ?r WHERE { ?r property:applies_to_jurisdiction resource:Council_of_Europe . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Council of Europe. Could you tell me the answer for that?
(c(Q12737077),P1001,Q8908)
Q8908
[{'concept': 'Q12737077'}, 'P1001', 'Q8908']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Council of Europe']
[]
Q27137568
SYSTEM
member of the Parliamentary Assembly of the Council of Europe
Q27137568
(c(Q12737077),P1001,Q8908)
action filter_type
action find_reverse
entity Q8908
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over that social group
[{'concept': 'Q12737077'}, 'P1001', 'Q8908']
SELECT DISTINCT ?r WHERE { ?r property:P1001 resource:Q8908 . ?r rdf:type ontology:Q12737077 }
member of the Parliamentary Assembly of the Council of Europe
The member of the Parliamentary Assembly of the Council of Europe has jurisdiction over that social group
member of the Parliamentary Assembly of the Council of Europe
action filter_type
action find_reverse
entity Council of Europe
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Council of Europe']
SELECT DISTINCT ?r WHERE { ?r property:applies_to_jurisdiction resource:Council_of_Europe . ?r rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11687285 Q3632551
P27 P495
Q15617994
USER
Which administrative territories are the origins of Baciato dalla fortuna or are the countries of citizenship of Balázs Markgruber ?
OR((Q3632551,P495,c(Q15617994)), (Q11687285,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3632551
relation P495
action find
entity Q11687285
relation P27
type Q15617994
{'OR': [['Q3632551', 'P495', {'concept': 'Q15617994'}], ['Q11687285', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q3632551 property:P495 ?y } UNION { resource:Q11687285 property:P27 ?y } } }
Balázs Markgruber Baciato dalla fortuna
action filter_type
action union
action find
entity Baciato dalla fortuna
relation country of origin
action find
entity Balázs Markgruber
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Baciato dalla fortuna', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Balázs Markgruber', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Baciato_dalla_fortuna property:country_of_origin ?y } UNION { resource:Balázs_Markgruber property:country_of_citizenship ?y } } }
[]
designation for an administrative territorial entity
Q28 Q38
SYSTEM
Hungary, Italy
Q28 Q38
OR((Q3632551,P495,c(Q15617994)), (Q11687285,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3632551
relation P495
action find
entity Q11687285
relation P27
type Q15617994
[ANSWERS] are the origins of Baciato dalla fortuna or are the countries of citizenship of Balázs Markgruber
{'OR': [['Q3632551', 'P495', {'concept': 'Q15617994'}], ['Q11687285', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q3632551 property:P495 ?y } UNION { resource:Q11687285 property:P27 ?y } } }
Hungary Italy
Hungary and Italy are the origins of Baciato dalla fortuna or are the countries of citizenship of Balázs Markgruber
Hungary Italy
action filter_type
action union
action find
entity Baciato dalla fortuna
relation country of origin
action find
entity Balázs Markgruber
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Baciato dalla fortuna', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Balázs Markgruber', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Baciato_dalla_fortuna property:country_of_origin ?y } UNION { resource:Balázs_Markgruber property:country_of_citizenship ?y } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P138
Q2472587 Q41710
USER
How many peoples and ethnic groups are namesakes of that administrative territory ?
(Q28,P138,c(Q2472587)) (Q28,P138,c(Q41710)) (Q28,P138,c(Q2472587)) (Q28,P138,c(Q41710)) (Q38,P138,c(Q2472587)) (Q38,P138,c(Q41710))
['Q28', 'P138', {'concept': 'Q2472587'}] ['Q28', 'P138', {'concept': 'Q41710'}] ['Q28', 'P138', {'concept': 'Q2472587'}] ['Q28', 'P138', {'concept': 'Q41710'}] ['Q38', 'P138', {'concept': 'Q2472587'}] ['Q38', 'P138', {'concept': 'Q41710'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q5943060 property:P138 ?z } UNION { resource:Q5943060 property:P138 ?y } UNION { resource:Q5943060 property:P138 ?z } UNION { resource:Q5943060 property:P138 ?y } UNION { resource:Q977238 property:P138 ?z } UNION { resource:Q977238 property:P138 ?y } } . ?z rdf:type ontology:Q2472587 . ?y rdf:type ontology:Q41710 }
['Hungary', 'named after', {'concept': 'people'}] ['Hungary', 'named after', {'concept': 'ethnic group'}] ['Hungary', 'named after', {'concept': 'people'}] ['Hungary', 'named after', {'concept': 'ethnic group'}] ['Italy', 'named after', {'concept': 'people'}] ['Italy', 'named after', {'concept': 'ethnic group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Hungary property:named_after ?z } UNION { resource:Hungary property:named_after ?y } UNION { resource:Hungary property:named_after ?z } UNION { resource:Hungary property:named_after ?y } UNION { resource:Italy property:named_after ?z } UNION { resource:Italy property:named_after ?y } } . ?z rdf:type ontology:people . ?y rdf:type ontology:ethnic_group }
[]
people ethnic group
Quantitative|Count|Mult. entity type|Clarification
Q28
SYSTEM
Did you mean Hungary ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q5943060 property:P138 ?z } UNION { resource:Q5943060 property:P138 ?y } UNION { resource:Q5943060 property:P138 ?z } UNION { resource:Q5943060 property:P138 ?y } UNION { resource:Q977238 property:P138 ?z } UNION { resource:Q977238 property:P138 ?y } } . ?z rdf:type ontology:Q2472587 . ?y rdf:type ontology:Q41710 }
Did you mean Hungary ?
Hungary
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Hungary property:named_after ?z } UNION { resource:Hungary property:named_after ?y } UNION { resource:Hungary property:named_after ?z } UNION { resource:Hungary property:named_after ?y } UNION { resource:Italy property:named_after ?z } UNION { resource:Italy property:named_after ?y } } . ?z rdf:type ontology:people . ?y rdf:type ontology:ethnic_group }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q28,P138,c(Q2472587)) (Q28,P138,c(Q41710)) (Q28,P138,c(Q2472587)) (Q28,P138,c(Q41710)) (Q38,P138,c(Q2472587)) (Q38,P138,c(Q41710))
['Q28', 'P138', {'concept': 'Q2472587'}] ['Q28', 'P138', {'concept': 'Q41710'}] ['Q28', 'P138', {'concept': 'Q2472587'}] ['Q28', 'P138', {'concept': 'Q41710'}] ['Q38', 'P138', {'concept': 'Q2472587'}] ['Q38', 'P138', {'concept': 'Q41710'}]
['Hungary', 'named after', {'concept': 'people'}] ['Hungary', 'named after', {'concept': 'ethnic group'}] ['Hungary', 'named after', {'concept': 'people'}] ['Hungary', 'named after', {'concept': 'ethnic group'}] ['Italy', 'named after', {'concept': 'people'}] ['Italy', 'named after', {'concept': 'ethnic group'}]
[]
SYSTEM
1 peoples and 1 ethnic groups
Q133032 Q762453
(Q28,P138,c(Q2472587)) (Q28,P138,c(Q41710)) (Q28,P138,c(Q2472587)) (Q28,P138,c(Q41710)) (Q38,P138,c(Q2472587)) (Q38,P138,c(Q41710))
[ANSWER]
['Q28', 'P138', {'concept': 'Q2472587'}] ['Q28', 'P138', {'concept': 'Q41710'}] ['Q28', 'P138', {'concept': 'Q2472587'}] ['Q28', 'P138', {'concept': 'Q41710'}] ['Q38', 'P138', {'concept': 'Q2472587'}] ['Q38', 'P138', {'concept': 'Q41710'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q5943060 property:P138 ?z } UNION { resource:Q5943060 property:P138 ?y } UNION { resource:Q5943060 property:P138 ?z } UNION { resource:Q5943060 property:P138 ?y } UNION { resource:Q977238 property:P138 ?z } UNION { resource:Q977238 property:P138 ?y } } . ?z rdf:type ontology:Q2472587 . ?y rdf:type ontology:Q41710 }
Hungarian people Onogurs
1 peoples and 1 ethnic groups
['Hungary', 'named after', {'concept': 'people'}] ['Hungary', 'named after', {'concept': 'ethnic group'}] ['Hungary', 'named after', {'concept': 'people'}] ['Hungary', 'named after', {'concept': 'ethnic group'}] ['Italy', 'named after', {'concept': 'people'}] ['Italy', 'named after', {'concept': 'ethnic group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Hungary property:named_after ?z } UNION { resource:Hungary property:named_after ?y } UNION { resource:Hungary property:named_after ?z } UNION { resource:Hungary property:named_after ?y } UNION { resource:Italy property:named_after ?z } UNION { resource:Italy property:named_after ?y } } . ?z rdf:type ontology:people . ?y rdf:type ontology:ethnic_group }
[]