Simple Question (Direct)
Simple Question
Q6292705
P1412
Q34770
USER
Which language is spoken by José Longinos Martínez ?
(Q6292705,P1412,c(Q34770))
action filter_type
action find
entity Q6292705
relation P1412
type Q34770
['Q6292705', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q6292705 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
José Longinos Martínez
action filter_type
action find
entity José Longinos Martínez
relation languages spoken, written or signed
type language
['José Longinos Martínez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:José_Longinos_Martínez property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6292705,P1412,c(Q34770))
action filter_type
action find
entity Q6292705
relation P1412
type Q34770
Is [ANSWER] is spoken by José Longinos Martínez
['Q6292705', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q6292705 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Spanish
Is Spanish is spoken by José Longinos Martínez
Spanish
action filter_type
action find
entity José Longinos Martínez
relation languages spoken, written or signed
type language
['José Longinos Martínez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:José_Longinos_Martínez property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2336795 Q6292705
P27
Q15617994
USER
Which administrative territories do José Longinos Martínez or Esteban Giglio belong to ?
OR((Q6292705,P27,c(Q15617994)), (Q2336795,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6292705
relation P27
action find
entity Q2336795
relation P27
type Q15617994
{'OR': [['Q6292705', 'P27', {'concept': 'Q15617994'}], ['Q2336795', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q6292705 property:P27 ?g } UNION { resource:Q2336795 property:P27 ?g } } }
Esteban Giglio José Longinos Martínez
action filter_type
action union
action find
entity José Longinos Martínez
relation country of citizenship
action find
entity Esteban Giglio
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Longinos Martínez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Esteban Giglio', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:José_Longinos_Martínez property:country_of_citizenship ?g } UNION { resource:Esteban_Giglio property:country_of_citizenship ?g } } }
[]
designation for an administrative territorial entity
Q29 Q414
SYSTEM
Spain, Argentina
Q29 Q414
OR((Q6292705,P27,c(Q15617994)), (Q2336795,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6292705
relation P27
action find
entity Q2336795
relation P27
type Q15617994
José Longinos Martínez or Esteban Giglio belong to both [ANSWERS]
{'OR': [['Q6292705', 'P27', {'concept': 'Q15617994'}], ['Q2336795', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q6292705 property:P27 ?g } UNION { resource:Q2336795 property:P27 ?g } } }
Spain Argentina
José Longinos Martínez or Esteban Giglio belong to both Spain and Argentina
Spain Argentina
action filter_type
action union
action find
entity José Longinos Martínez
relation country of citizenship
action find
entity Esteban Giglio
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Longinos Martínez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Esteban Giglio', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:José_Longinos_Martínez property:country_of_citizenship ?g } UNION { resource:Esteban_Giglio property:country_of_citizenship ?g } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1527059
P106
Q12737077
USER
What does Heinrich Meier do for a living ?
(Q1527059,P106,c(Q12737077))
action filter_type
action find
entity Q1527059
relation P106
type Q12737077
['Q1527059', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q1527059 property:P106 ?j }
Heinrich Meier
action filter_type
action find
entity Heinrich Meier
relation occupation
type occupation
['Heinrich Meier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Heinrich_Meier property:occupation ?j }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1527059,P106,c(Q12737077))
action filter_type
action find
entity Q1527059
relation P106
type Q12737077
Heinrich Meier does a [ANSWER] for a living
['Q1527059', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q1527059 property:P106 ?j }
politician
Heinrich Meier does a politician for a living
politician
action filter_type
action find
entity Heinrich Meier
relation occupation
type occupation
['Heinrich Meier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Heinrich_Meier property:occupation ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1527059
P734
Q82799
USER
Who has the surname that person ?
(Q82955,P734,c(Q82799))
action filter_type
action find
entity Q1527059
relation P734
type Q82799
['Q82955', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q1527059 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Heinrich Meier
action filter_type
action find
entity Heinrich Meier
relation family name
type name
['politician', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Heinrich_Meier property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q6582006
SYSTEM
Meier
Q6582006
(Q82955,P734,c(Q82799))
action filter_type
action find
entity Q1527059
relation P734
type Q82799
[ANSWER] has the surname that person
['Q82955', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q1527059 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Meier
Meier has the surname that person
Meier
action filter_type
action find
entity Heinrich Meier
relation family name
type name
['politician', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Heinrich_Meier property:family_name ?n . ?n rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4273021 Q6292705
P27
Q15617994
USER
Which administrative territories do José Longinos Martínez or Taufik Savalas belong to ?
OR((Q6292705,P27,c(Q15617994)), (Q4273021,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6292705
relation P27
action find
entity Q4273021
relation P27
type Q15617994
{'OR': [['Q6292705', 'P27', {'concept': 'Q15617994'}], ['Q4273021', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:P27 ?z . VALUES ( ?s ) { ( resource:Q6292705 ) ( resource:Q4273021 ) } } . ?z rdf:type ontology:Q15617994 }
Taufik Savalas José Longinos Martínez
action filter_type
action union
action find
entity José Longinos Martínez
relation country of citizenship
action find
entity Taufik Savalas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Longinos Martínez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Taufik Savalas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:country_of_citizenship ?z . VALUES ( ?s ) { ( resource:José_Longinos_Martínez ) ( resource:Taufik_Savalas ) } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q252
SYSTEM
Spain, Indonesia
Q29 Q252
OR((Q6292705,P27,c(Q15617994)), (Q4273021,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6292705
relation P27
action find
entity Q4273021
relation P27
type Q15617994
José Longinos Martínez or Taufik Savalas belong to both [ANSWERS]
{'OR': [['Q6292705', 'P27', {'concept': 'Q15617994'}], ['Q4273021', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:P27 ?z . VALUES ( ?s ) { ( resource:Q6292705 ) ( resource:Q4273021 ) } } . ?z rdf:type ontology:Q15617994 }
Spain Indonesia
José Longinos Martínez or Taufik Savalas belong to both Spain and Indonesia
Spain Indonesia
action filter_type
action union
action find
entity José Longinos Martínez
relation country of citizenship
action find
entity Taufik Savalas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Longinos Martínez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Taufik Savalas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:country_of_citizenship ?z . VALUES ( ?s ) { ( resource:José_Longinos_Martínez ) ( resource:Taufik_Savalas ) } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2547246
P530
Q1048835
USER
Do Talavera District have ambassadorial relations with those administrative territories ?
(Q2547246,P530,Q29) (Q2547246,P530,Q252)
action is_in
entity prev_answer
action find
entity Q2547246
relation P530
['Q2547246', 'P530', 'Q29'] ['Q2547246', 'P530', 'Q252']
ASK WHERE { VALUES ( ?s ) { ( resource:Q29 ) ( resource:Q252 ) } . resource:Q2547246 property:P530 ?s }
Talavera District
action is_in
entity prev_answer
action find
entity Talavera District
relation diplomatic relation
['Talavera District', 'diplomatic relation', 'Spain'] ['Talavera District', 'diplomatic relation', 'Indonesia']
ASK WHERE { VALUES ( ?s ) { ( resource:Spain ) ( resource:Indonesia ) } . resource:Talavera_District property:diplomatic_relation ?s }
[]
political territorial entity
SYSTEM
NO
(Q2547246,P530,Q29) (Q2547246,P530,Q252)
action is_in
entity prev_answer
action find
entity Q2547246
relation P530
[ANSWER]
['Q2547246', 'P530', 'Q29'] ['Q2547246', 'P530', 'Q252']
ASK WHERE { VALUES ( ?s ) { ( resource:Q29 ) ( resource:Q252 ) } . resource:Q2547246 property:P530 ?s }
No
action is_in
entity prev_answer
action find
entity Talavera District
relation diplomatic relation
['Talavera District', 'diplomatic relation', 'Spain'] ['Talavera District', 'diplomatic relation', 'Indonesia']
ASK WHERE { VALUES ( ?s ) { ( resource:Spain ) ( resource:Indonesia ) } . resource:Talavera_District property:diplomatic_relation ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P163
Q14660
USER
Which flag is associated with Argentina ?
(Q414,P163,c(Q14660))
action filter_type
action find
entity Q414
relation P163
type Q14660
['Q414', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { resource:Q414 property:P163 ?o . ?o rdf:type ontology:Q14660 }
Argentina
action filter_type
action find
entity Argentina
relation flag
type flag
['Argentina', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { resource:Argentina property:flag ?o . ?o rdf:type ontology:flag }
[]
flag
Q130774
SYSTEM
flag of Argentina
Q130774
(Q414,P163,c(Q14660))
action filter_type
action find
entity Q414
relation P163
type Q14660
War [ANSWER] is associated with Argentina
['Q414', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { resource:Q414 property:P163 ?o . ?o rdf:type ontology:Q14660 }
flag of Argentina
War flag of Argentina is associated with Argentina
flag of Argentina
action filter_type
action find
entity Argentina
relation flag
type flag
['Argentina', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { resource:Argentina property:flag ?o . ?o rdf:type ontology:flag }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q237 Q414
P163
Q14660
USER
Or Vatican City?
OR((Q414,P163,c(Q14660)), (Q237,P163,c(Q14660)))
action filter_type
action union
action find
entity Q414
relation P163
action find
entity Q237
relation P163
type Q14660
{'OR': [['Q414', 'P163', {'concept': 'Q14660'}], ['Q237', 'P163', {'concept': 'Q14660'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q414 property:P163 ?w } UNION { resource:Q237 property:P163 ?w } } . ?w rdf:type ontology:Q14660 }
Vatican City Argentina
action filter_type
action union
action find
entity Argentina
relation flag
action find
entity Vatican City
relation flag
type flag
{'OR': [['Argentina', 'flag', {'concept': 'flag'}], ['Vatican City', 'flag', {'concept': 'flag'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Argentina property:flag ?w } UNION { resource:Vatican_City property:flag ?w } } . ?w rdf:type ontology:flag }
[]
flag
Q130774 Q79198
SYSTEM
flag of Argentina, Flag of Vatican City
Q130774 Q79198
OR((Q414,P163,c(Q14660)), (Q237,P163,c(Q14660)))
action filter_type
action union
action find
entity Q414
relation P163
action find
entity Q237
relation P163
type Q14660
[ANSWERS]
{'OR': [['Q414', 'P163', {'concept': 'Q14660'}], ['Q237', 'P163', {'concept': 'Q14660'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q414 property:P163 ?w } UNION { resource:Q237 property:P163 ?w } } . ?w rdf:type ontology:Q14660 }
flag of Argentina Flag of Vatican City
flag of Argentina Flag of Vatican City
action filter_type
action union
action find
entity Argentina
relation flag
action find
entity Vatican City
relation flag
type flag
{'OR': [['Argentina', 'flag', {'concept': 'flag'}], ['Vatican City', 'flag', {'concept': 'flag'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Argentina property:flag ?w } UNION { resource:Vatican_City property:flag ?w } } . ?w rdf:type ontology:flag }
[]
Clarification
Simple Question|Single Entity|Indirect
Q79198
P462
Q4373292
USER
What are the colors that that flag are associated with ?
(Q79198,P462,c(Q4373292))
action filter_type
action find
entity Q79198
relation P462
type Q4373292
['Q79198', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?y WHERE { resource:Q79198 property:P462 ?y . ?y rdf:type ontology:Q4373292 }
Flag of Vatican City
action filter_type
action find
entity Flag of Vatican City
relation color
type physical property
['Flag of Vatican City', 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?y WHERE { resource:Flag_of_Vatican_City property:color ?y . ?y rdf:type ontology:physical_property }
[]
physical property
Clarification for simple ques.
Q130774
SYSTEM
Did you mean flag of Argentina ?
Q130774 Q79198
(Q130774,P462,c(Q4373292)) (Q79198,P462,c(Q4373292))
[ANSWER]
['Q130774', 'P462', {'concept': 'Q4373292'}] ['Q79198', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?y WHERE { resource:Q79198 property:P462 ?y . ?y rdf:type ontology:Q4373292 }
flag of Argentina Flag of Vatican City
Did you mean flag of Argentina ?
flag of Argentina
['flag of Argentina', 'color', {'concept': 'physical property'}] ['Flag of Vatican City', 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?y WHERE { resource:Flag_of_Vatican_City property:color ?y . ?y rdf:type ontology:physical_property }
[]
Simple Question (Coreferenced)
USER
No, I meant Flag of Vatican City. Could you tell me the answer for that?
(Q79198,P462,c(Q4373292))
Q79198
['Q79198', 'P462', {'concept': 'Q4373292'}]
['Flag of Vatican City', 'color', {'concept': 'physical property'}]
[]
Q23444 Q208045
SYSTEM
white, gold
Q23444 Q208045
(Q79198,P462,c(Q4373292))
action filter_type
action find
entity Q79198
relation P462
type Q4373292
The colors that flag are associated with are the [ANSWERS]
['Q79198', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?y WHERE { resource:Q79198 property:P462 ?y . ?y rdf:type ontology:Q4373292 }
white gold
The colors that flag are associated with are the white and gold
white gold
action filter_type
action find
entity Flag of Vatican City
relation color
type physical property
['Flag of Vatican City', 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?y WHERE { resource:Flag_of_Vatican_City property:color ?y . ?y rdf:type ontology:physical_property }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q134627
P462
Q14660
USER
Do flag of the Philippines have those physical properties as their color ?
(Q134627,P462,Q23444) (Q134627,P462,Q208045)
action is_in
entity prev_answer
action find
entity Q134627
relation P462
['Q134627', 'P462', 'Q23444'] ['Q134627', 'P462', 'Q208045']
ASK WHERE { resource:Q134627 property:P462 ?h . VALUES ( ?h ) { ( resource:Q23444 ) ( resource:Q208045 ) } }
flag of the Philippines
action is_in
entity prev_answer
action find
entity flag of the Philippines
relation color
['flag of the Philippines', 'color', 'white'] ['flag of the Philippines', 'color', 'gold']
ASK WHERE { resource:flag_of_the_Philippines property:color ?h . VALUES ( ?h ) { ( resource:white ) ( resource:gold ) } }
[]
flag
SYSTEM
YES
(Q134627,P462,Q23444) (Q134627,P462,Q208045)
action is_in
entity prev_answer
action find
entity Q134627
relation P462
[ANSWER]
['Q134627', 'P462', 'Q23444'] ['Q134627', 'P462', 'Q208045']
ASK WHERE { resource:Q134627 property:P462 ?h . VALUES ( ?h ) { ( resource:Q23444 ) ( resource:Q208045 ) } }
Yes
action is_in
entity prev_answer
action find
entity flag of the Philippines
relation color
['flag of the Philippines', 'color', 'white'] ['flag of the Philippines', 'color', 'gold']
ASK WHERE { resource:flag_of_the_Philippines property:color ?h . VALUES ( ?h ) { ( resource:white ) ( resource:gold ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q23444
P138 P17
Q1048835
USER
Which political territories are the eponym of white and are located in Spain ?
AND((c(Q1048835),P138,Q23444), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q23444
relation P138
action find_reverse
entity Q29
relation P17
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P138', 'Q23444'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q23444 . ?y property:P17 resource:Q29 . ?y rdf:type ontology:Q1048835 }
Spain white
action filter_type
action intersection
action find_reverse
entity white
relation named after
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'named after', 'white'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:white . ?y property:country resource:Spain . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q761735
SYSTEM
Montblanc
Q761735
AND((c(Q1048835),P138,Q23444), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q23444
relation P138
action find_reverse
entity Q29
relation P17
type Q1048835
[ANSWER] is the eponym of white and is located in Spain
{'AND': [[{'concept': 'Q1048835'}, 'P138', 'Q23444'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q23444 . ?y property:P17 resource:Q29 . ?y rdf:type ontology:Q1048835 }
Montblanc
Montblanc is the eponym of white and is located in Spain
Montblanc
action filter_type
action intersection
action find_reverse
entity white
relation named after
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'named after', 'white'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:white . ?y property:country resource:Spain . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q252
P27
Q16979650 Q5
USER
How many sibling groups and humen are a citizen of Indonesia ?
(c(Q16979650),P27,Q252) (c(Q5),P27,Q252)
action count
action union
action filter_type
action find_reverse
entity Q252
relation P27
type Q16979650
action filter_type
action find_reverse
entity Q252
relation P27
type Q5
[{'concept': 'Q16979650'}, 'P27', 'Q252'] [{'concept': 'Q5'}, 'P27', 'Q252']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:Q16979650 ) ( ontology:Q5 ) } }
Indonesia
action count
action union
action filter_type
action find_reverse
entity Indonesia
relation country of citizenship
type sibling group
action filter_type
action find_reverse
entity Indonesia
relation country of citizenship
type human
[{'concept': 'sibling group'}, 'country of citizenship', 'Indonesia'] [{'concept': 'human'}, 'country of citizenship', 'Indonesia']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:sibling_group ) ( ontology:human ) } }
[]
sibling group human
SYSTEM
1 sibling groups and 1 humen
Q23688634 Q11697561
(c(Q16979650),P27,Q252) (c(Q5),P27,Q252)
action count
action union
action filter_type
action find_reverse
entity Q252
relation P27
type Q16979650
action filter_type
action find_reverse
entity Q252
relation P27
type Q5
[ANSWER]
[{'concept': 'Q16979650'}, 'P27', 'Q252'] [{'concept': 'Q5'}, 'P27', 'Q252']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:Q16979650 ) ( ontology:Q5 ) } }
Melati and Isabel Wijsen Pandji Pragiwaksono
1 sibling groups and 1 humen
action count
action union
action filter_type
action find_reverse
entity Indonesia
relation country of citizenship
type sibling group
action filter_type
action find_reverse
entity Indonesia
relation country of citizenship
type human
[{'concept': 'sibling group'}, 'country of citizenship', 'Indonesia'] [{'concept': 'human'}, 'country of citizenship', 'Indonesia']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:sibling_group ) ( ontology:human ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q135034
P180
Q44539 Q3516658 Q14660
USER
Which flags demonstrate greater number of temples or heraldic symbols than Flag of Antigua and Barbuda ?
(c(Q14660),P180,c(Q44539)|c(Q3516658))
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q44539
action find_tuple_counts
relation P180
type Q14660
type Q3516658
action count
action filter_multi_types
action find
entity Q135034
relation P180
type Q44539
type Q3516658
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q44539'}, {'concept': 'Q3516658'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) ?x WHERE { { ?x property:P180 ?z . ?z rdf:type ontology:Q44539 . ?x rdf:type ontology:Q14660 } UNION { ?x rdf:type ontology:Q14660 . ?z rdf:type ontology:Q3516658 . ?x property:P180 ?z } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q135034 property:P180 ?r . { ?r rdf:type ?u . VALUES ( ?u ) { ( ontology:Q44539 ) ( ontology:Q3516658 ) } } } } . FILTER ( ?t > ?v ) }
Flag of Antigua and Barbuda
action greater
action union
action find_tuple_counts
relation depicts
type flag
type temple
action find_tuple_counts
relation depicts
type flag
type heraldic symbol
action count
action filter_multi_types
action find
entity Flag of Antigua and Barbuda
relation depicts
type temple
type heraldic symbol
[{'concept': 'flag'}, 'depicts', [{'concept': 'temple'}, {'concept': 'heraldic symbol'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) ?x WHERE { { ?x property:depicts ?z . ?z rdf:type ontology:temple . ?x rdf:type ontology:flag } UNION { ?x rdf:type ontology:flag . ?z rdf:type ontology:heraldic_symbol . ?x property:depicts ?z } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Flag_of_Antigua_and_Barbuda property:depicts ?r . { ?r rdf:type ?u . VALUES ( ?u ) { ( ontology:temple ) ( ontology:heraldic_symbol ) } } } } . FILTER ( ?t > ?v ) }
[]
temple heraldic symbol flag
Q83278 Q1426379 Q162999
SYSTEM
flag of the United Kingdom, Flag of Amsterdam, Flag of Cambodia
Q601976 Q162999 Q83278 Q1426379
(c(Q14660),P180,c(Q44539)|c(Q3516658))
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q44539
action find_tuple_counts
relation P180
type Q14660
type Q3516658
action count
action filter_multi_types
action find
entity Q135034
relation P180
type Q44539
type Q3516658
The [ANSWERS] demonstrate greater number of temples or heraldic symbols than Flag of Antigua and Barbuda
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q44539'}, {'concept': 'Q3516658'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) ?x WHERE { { ?x property:P180 ?z . ?z rdf:type ontology:Q44539 . ?x rdf:type ontology:Q14660 } UNION { ?x rdf:type ontology:Q14660 . ?z rdf:type ontology:Q3516658 . ?x property:P180 ?z } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q135034 property:P180 ?r . { ?r rdf:type ?u . VALUES ( ?u ) { ( ontology:Q44539 ) ( ontology:Q3516658 ) } } } } . FILTER ( ?t > ?v ) }
Flag of Nova Scotia Flag of Cambodia flag of the United Kingdom Flag of Amsterdam
The flag of the United Kingdom, Flag of Amsterdam and Flag of Cambodia demonstrate greater number of temples or heraldic symbols than Flag of Antigua and Barbuda
flag of the United Kingdom Flag of Amsterdam Flag of Cambodia
action greater
action union
action find_tuple_counts
relation depicts
type flag
type temple
action find_tuple_counts
relation depicts
type flag
type heraldic symbol
action count
action filter_multi_types
action find
entity Flag of Antigua and Barbuda
relation depicts
type temple
type heraldic symbol
[{'concept': 'flag'}, 'depicts', [{'concept': 'temple'}, {'concept': 'heraldic symbol'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) ?x WHERE { { ?x property:depicts ?z . ?z rdf:type ontology:temple . ?x rdf:type ontology:flag } UNION { ?x rdf:type ontology:flag . ?z rdf:type ontology:heraldic_symbol . ?x property:depicts ?z } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Flag_of_Antigua_and_Barbuda property:depicts ?r . { ?r rdf:type ?u . VALUES ( ?u ) { ( ontology:temple ) ( ontology:heraldic_symbol ) } } } } . FILTER ( ?t > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q128347
P180
Q44539 Q3516658 Q14660
USER
And also tell me about Flag of Pakistan?
(c(Q14660),P180,c(Q44539)|c(Q3516658))
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q44539
action find_tuple_counts
relation P180
type Q14660
type Q3516658
action count
action filter_multi_types
action find
entity Q128347
relation P180
type Q44539
type Q3516658
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q44539'}, {'concept': 'Q3516658'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) ?p WHERE { VALUES ( ?o ) { ( ontology:Q3516658 ) ( ontology:Q44539 ) } . ?t rdf:type ?o } GROUP BY ?p } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Q128347 property:P180 ?u . { { ?u rdf:type ontology:Q3516658 } UNION { ?u rdf:type ontology:Q44539 } } } } }
Flag of Pakistan
action greater
action union
action find_tuple_counts
relation depicts
type flag
type temple
action find_tuple_counts
relation depicts
type flag
type heraldic symbol
action count
action filter_multi_types
action find
entity Flag of Pakistan
relation depicts
type temple
type heraldic symbol
[{'concept': 'flag'}, 'depicts', [{'concept': 'temple'}, {'concept': 'heraldic symbol'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) ?p WHERE { VALUES ( ?o ) { ( ontology:heraldic_symbol ) ( ontology:temple ) } . ?t rdf:type ?o } GROUP BY ?p } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Flag_of_Pakistan property:depicts ?u . { { ?u rdf:type ontology:heraldic_symbol } UNION { ?u rdf:type ontology:temple } } } } }
[]
temple heraldic symbol flag
Q83278 Q1426379 Q162999
SYSTEM
flag of the United Kingdom, Flag of Amsterdam, Flag of Cambodia
Q601976 Q162999 Q83278 Q1426379
(c(Q14660),P180,c(Q44539)|c(Q3516658))
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q44539
action find_tuple_counts
relation P180
type Q14660
type Q3516658
action count
action filter_multi_types
action find
entity Q128347
relation P180
type Q44539
type Q3516658
[ANSWERS]
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q44539'}, {'concept': 'Q3516658'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) ?p WHERE { VALUES ( ?o ) { ( ontology:Q3516658 ) ( ontology:Q44539 ) } . ?t rdf:type ?o } GROUP BY ?p } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Q128347 property:P180 ?u . { { ?u rdf:type ontology:Q3516658 } UNION { ?u rdf:type ontology:Q44539 } } } } }
Flag of Nova Scotia Flag of Cambodia flag of the United Kingdom Flag of Amsterdam
flag of the United Kingdom Flag of Amsterdam Flag of Cambodia
action greater
action union
action find_tuple_counts
relation depicts
type flag
type temple
action find_tuple_counts
relation depicts
type flag
type heraldic symbol
action count
action filter_multi_types
action find
entity Flag of Pakistan
relation depicts
type temple
type heraldic symbol
[{'concept': 'flag'}, 'depicts', [{'concept': 'temple'}, {'concept': 'heraldic symbol'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) ?p WHERE { VALUES ( ?o ) { ( ontology:heraldic_symbol ) ( ontology:temple ) } . ?t rdf:type ?o } GROUP BY ?p } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Flag_of_Pakistan property:depicts ?u . { { ?u rdf:type ontology:heraldic_symbol } UNION { ?u rdf:type ontology:temple } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q83278
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of flag of the United Kingdom ?
(Q83278,P1001,c(Q15617994))
action filter_type
action find
entity Q83278
relation P1001
type Q15617994
['Q83278', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q83278 property:P1001 ?m . ?m rdf:type ontology:Q15617994 }
flag of the United Kingdom
action filter_type
action find
entity flag of the United Kingdom
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:flag_of_the_United_Kingdom property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q83278,P1001,c(Q15617994))
action filter_type
action find
entity Q83278
relation P1001
type Q15617994
[ANSWER] comes under the jurisdiction of flag of the [ANSWER]
['Q83278', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q83278 property:P1001 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom comes under the jurisdiction of flag of the United Kingdom
United Kingdom
action filter_type
action find
entity flag of the United Kingdom
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:flag_of_the_United_Kingdom property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]