Simple Question (Direct)
Simple Question
Q7454170
P102
Q7210356
USER
Which party does Sergio Acevedo belong to ?
(Q7454170,P102,c(Q7210356))
action filter_type
action find
entity Q7454170
relation P102
type Q7210356
['Q7454170', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q7454170 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Sergio Acevedo
action filter_type
action find
entity Sergio Acevedo
relation member of political party
type political organization
['Sergio Acevedo', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Sergio_Acevedo property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q1053668
SYSTEM
Justicialist Party
Q1053668
(Q7454170,P102,c(Q7210356))
action filter_type
action find
entity Q7454170
relation P102
type Q7210356
Sergio Acevedo belongs to [ANSWER]
['Q7454170', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q7454170 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Justicialist Party
Sergio Acevedo belongs to Justicialist Party
Justicialist Party
action filter_type
action find
entity Sergio Acevedo
relation member of political party
type political organization
['Sergio Acevedo', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Sergio_Acevedo property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1154861 Q7454170
P39
Q12737077
USER
Which occupations were the positions occupied by Sergio Acevedo or Finwë ?
OR((Q7454170,P39,c(Q12737077)), (Q1154861,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q7454170
relation P39
action find
entity Q1154861
relation P39
type Q12737077
{'OR': [['Q7454170', 'P39', {'concept': 'Q12737077'}], ['Q1154861', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1154861 property:P39 ?s } UNION { resource:Q7454170 property:P39 ?s } } . ?s rdf:type ontology:Q12737077 }
Finwë Sergio Acevedo
action filter_type
action union
action find
entity Sergio Acevedo
relation position held
action find
entity Finwë
relation position held
type occupation
{'OR': [['Sergio Acevedo', 'position held', {'concept': 'occupation'}], ['Finwë', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Finwë property:position_held ?s } UNION { resource:Sergio_Acevedo property:position_held ?s } } . ?s rdf:type ontology:occupation }
[]
occupation
Q18229570 Q12097
SYSTEM
Member of the Argentine Chamber of Deputies, king
Q18229570 Q12097
OR((Q7454170,P39,c(Q12737077)), (Q1154861,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q7454170
relation P39
action find
entity Q1154861
relation P39
type Q12737077
[ANSWERS] were the positions occupied by Sergio Acevedo or Finwë
{'OR': [['Q7454170', 'P39', {'concept': 'Q12737077'}], ['Q1154861', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1154861 property:P39 ?s } UNION { resource:Q7454170 property:P39 ?s } } . ?s rdf:type ontology:Q12737077 }
Member of the Argentine Chamber of Deputies king
Member of the Argentine Chamber of Deputies and king were the positions occupied by Sergio Acevedo or Finwë
Member of the Argentine Chamber of Deputies king
action filter_type
action union
action find
entity Sergio Acevedo
relation position held
action find
entity Finwë
relation position held
type occupation
{'OR': [['Sergio Acevedo', 'position held', {'concept': 'occupation'}], ['Finwë', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Finwë property:position_held ?s } UNION { resource:Sergio_Acevedo property:position_held ?s } } . ?s rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q235857
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of greater number of occupations than Elizabeth of Aragon ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q235857
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P417 ?u . ?i rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Q235857 property:P417 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?s > ?w ) }
Elizabeth of Aragon
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Elizabeth of Aragon
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:patron_saint ?u . ?i rdf:type ontology:occupation . ?u rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Elizabeth_of_Aragon property:patron_saint ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?s > ?w ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q235857
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P417 ?u . ?i rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Q235857 property:P417 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?s > ?w ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Elizabeth of Aragon
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:patron_saint ?u . ?i rdf:type ontology:occupation . ?u rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Elizabeth_of_Aragon property:patron_saint ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?s > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q442516
P417
Q502895 Q12737077
USER
And how about Germanus of Auxerre?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q442516
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:P417 ?o . ?w rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Q442516 property:P417 ?a . ?a rdf:type ontology:Q502895 } } }
Germanus of Auxerre
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Germanus of Auxerre
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:patron_saint ?o . ?w rdf:type ontology:occupation . ?o rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Germanus_of_Auxerre property:patron_saint ?a . ?a rdf:type ontology:common_name } } }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q442516
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:P417 ?o . ?w rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Q442516 property:P417 ?a . ?a rdf:type ontology:Q502895 } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Germanus of Auxerre
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:patron_saint ?o . ?w rdf:type ontology:occupation . ?o rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Germanus_of_Auxerre property:patron_saint ?a . ?a rdf:type ontology:common_name } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1053668
P159
Q515
USER
How many cities are the head offices of Justicialist Party ?
(Q1053668,P159,c(Q515))
action count
action filter_type
action find
entity Q1053668
relation P159
type Q515
['Q1053668', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Q1053668 property:P159 ?m . ?m rdf:type ontology:Q515 }
Justicialist Party
action count
action filter_type
action find
entity Justicialist Party
relation headquarters location
type city
['Justicialist Party', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Justicialist_Party property:headquarters_location ?m . ?m rdf:type ontology:city }
[]
city
SYSTEM
1
Q1486
(Q1053668,P159,c(Q515))
action count
action filter_type
action find
entity Q1053668
relation P159
type Q515
[ANSWER]
['Q1053668', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Q1053668 property:P159 ?m . ?m rdf:type ontology:Q515 }
Buenos Aires
1
action count
action filter_type
action find
entity Justicialist Party
relation headquarters location
type city
['Justicialist Party', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Justicialist_Party property:headquarters_location ?m . ?m rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7998514 Q235857
P27 P17
Q15617994
USER
Which administrative territories are Elizabeth of Aragon an inhabitant of or are Widdersgrind a part of ?
OR((Q235857,P27,c(Q15617994)), (Q7998514,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q235857
relation P27
action find
entity Q7998514
relation P17
type Q15617994
{'OR': [['Q235857', 'P27', {'concept': 'Q15617994'}], ['Q7998514', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q235857 property:P27 ?d } UNION { resource:Q7998514 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Widdersgrind Elizabeth of Aragon
action filter_type
action union
action find
entity Elizabeth of Aragon
relation country of citizenship
action find
entity Widdersgrind
relation country
type designation for an administrative territorial entity
{'OR': [['Elizabeth of Aragon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Widdersgrind', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Elizabeth_of_Aragon property:country_of_citizenship ?d } UNION { resource:Widdersgrind property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q39 Q45
SYSTEM
Spain, Switzerland, Portugal
Q29 Q39 Q45
OR((Q235857,P27,c(Q15617994)), (Q7998514,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q235857
relation P27
action find
entity Q7998514
relation P17
type Q15617994
[ANSWERS] are Elizabeth of Aragon an inhabitant of or are Widdersgrind a part of
{'OR': [['Q235857', 'P27', {'concept': 'Q15617994'}], ['Q7998514', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q235857 property:P27 ?d } UNION { resource:Q7998514 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Spain Switzerland Portugal
Spain, Switzerland and Portugal are Elizabeth of Aragon an inhabitant of or are Widdersgrind a part of
Spain Switzerland Portugal
action filter_type
action union
action find
entity Elizabeth of Aragon
relation country of citizenship
action find
entity Widdersgrind
relation country
type designation for an administrative territorial entity
{'OR': [['Elizabeth of Aragon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Widdersgrind', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Elizabeth_of_Aragon property:country_of_citizenship ?d } UNION { resource:Widdersgrind property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1629607
P495
Q838948
USER
Did Patty Hearst originate in those administrative territories ?
(Q1629607,P495,Q29) (Q1629607,P495,Q39) (Q1629607,P495,Q45)
action is_in
entity prev_answer
action find
entity Q1629607
relation P495
['Q1629607', 'P495', 'Q29'] ['Q1629607', 'P495', 'Q39'] ['Q1629607', 'P495', 'Q45']
ASK WHERE { resource:Q1629607 property:P495 ?m . VALUES ( ?m ) { ( resource:Q29 ) ( resource:Q39 ) ( resource:Q45 ) } }
Patty Hearst
action is_in
entity prev_answer
action find
entity Patty Hearst
relation country of origin
['Patty Hearst', 'country of origin', 'Spain'] ['Patty Hearst', 'country of origin', 'Switzerland'] ['Patty Hearst', 'country of origin', 'Portugal']
ASK WHERE { resource:Patty_Hearst property:country_of_origin ?m . VALUES ( ?m ) { ( resource:Spain ) ( resource:Switzerland ) ( resource:Portugal ) } }
[]
work of art
SYSTEM
NO
(Q1629607,P495,Q29) (Q1629607,P495,Q39) (Q1629607,P495,Q45)
action is_in
entity prev_answer
action find
entity Q1629607
relation P495
[ANSWER]
['Q1629607', 'P495', 'Q29'] ['Q1629607', 'P495', 'Q39'] ['Q1629607', 'P495', 'Q45']
ASK WHERE { resource:Q1629607 property:P495 ?m . VALUES ( ?m ) { ( resource:Q29 ) ( resource:Q39 ) ( resource:Q45 ) } }
No
action is_in
entity prev_answer
action find
entity Patty Hearst
relation country of origin
['Patty Hearst', 'country of origin', 'Spain'] ['Patty Hearst', 'country of origin', 'Switzerland'] ['Patty Hearst', 'country of origin', 'Portugal']
ASK WHERE { resource:Patty_Hearst property:country_of_origin ?m . VALUES ( ?m ) { ( resource:Spain ) ( resource:Switzerland ) ( resource:Portugal ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with approximately 90 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 90
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?h ) WHERE { ?g property:P530 ?v . ?g rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?h = 90 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 90
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?h ) WHERE { ?g property:diplomatic_relation ?v . ?g rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?h = 90 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 90
[ANSWERS] hold diplomatic relationship with approximately 90 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?h ) WHERE { ?g property:P530 ?v . ?g rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?h = 90 ) }
Germany Australia
Germany and Australia hold diplomatic relationship with approximately 90 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 90
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?h ) WHERE { ?g property:diplomatic_relation ?v . ?g rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?h = 90 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11548125
P27
Q502895
USER
Are Kenzō Kiga civilians of those political territories ?
(Q11548125,P27,Q183) (Q11548125,P27,Q408)
action is_in
entity prev_answer
action find
entity Q11548125
relation P27
['Q11548125', 'P27', 'Q183'] ['Q11548125', 'P27', 'Q408']
ASK WHERE { VALUES ( ?s ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q11548125 property:P27 ?s }
Kenzō Kiga
action is_in
entity prev_answer
action find
entity Kenzō Kiga
relation country of citizenship
['Kenzō Kiga', 'country of citizenship', 'Germany'] ['Kenzō Kiga', 'country of citizenship', 'Australia']
ASK WHERE { VALUES ( ?s ) { ( resource:Germany ) ( resource:Australia ) } . resource:Kenzō_Kiga property:country_of_citizenship ?s }
[]
common name
SYSTEM
NO
(Q11548125,P27,Q183) (Q11548125,P27,Q408)
action is_in
entity prev_answer
action find
entity Q11548125
relation P27
[ANSWER]
['Q11548125', 'P27', 'Q183'] ['Q11548125', 'P27', 'Q408']
ASK WHERE { VALUES ( ?s ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q11548125 property:P27 ?s }
No
action is_in
entity prev_answer
action find
entity Kenzō Kiga
relation country of citizenship
['Kenzō Kiga', 'country of citizenship', 'Germany'] ['Kenzō Kiga', 'country of citizenship', 'Australia']
ASK WHERE { VALUES ( ?s ) { ( resource:Germany ) ( resource:Australia ) } . resource:Kenzō_Kiga property:country_of_citizenship ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q355304 Q15617994
USER
How many administrative territories are located nearby approximately 7 still waterss or watercourses ?
(c(Q15617994),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 7
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?m WHERE { VALUES ( ?v ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?j rdf:type ?v } GROUP BY ?m } . FILTER ( ?t = 7 ) }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?m WHERE { VALUES ( ?v ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?j rdf:type ?v } GROUP BY ?m } . FILTER ( ?t = 7 ) }
[]
still waters watercourse designation for an administrative territorial entity
SYSTEM
2
Q214 Q213
(c(Q15617994),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 7
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?m WHERE { VALUES ( ?v ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?j rdf:type ?v } GROUP BY ?m } . FILTER ( ?t = 7 ) }
Slovakia Czech Republic
2
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?m WHERE { VALUES ( ?v ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?j rdf:type ?v } GROUP BY ?m } . FILTER ( ?t = 7 ) }
[]