Simple Question (Direct)
Simple Question
Q5524236
P19
Q56061
USER
Which administrative territory is the place of birth of Garry Thompson ?
(Q5524236,P19,c(Q56061))
action filter_type
action find
entity Q5524236
relation P19
type Q56061
['Q5524236', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q5524236 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Garry Thompson
action filter_type
action find
entity Garry Thompson
relation place of birth
type administrative territorial entity
['Garry Thompson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Garry_Thompson property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q994575
SYSTEM
Kendal
Q994575
(Q5524236,P19,c(Q56061))
action filter_type
action find
entity Q5524236
relation P19
type Q56061
[ANSWER] is the place of birth of Garry Thompson
['Q5524236', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q5524236 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Kendal
Kendal is the place of birth of Garry Thompson
Kendal
action filter_type
action find
entity Garry Thompson
relation place of birth
type administrative territorial entity
['Garry Thompson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Garry_Thompson property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q994575
P190
Q56061
USER
Which administrative territory is partner town of that one ?
(Q994575,P190,c(Q56061))
action filter_type
action find
entity Q994575
relation P190
type Q56061
['Q994575', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q994575 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Kendal
action filter_type
action find
entity Kendal
relation sister city
type administrative territorial entity
['Kendal', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Kendal property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q498571
SYSTEM
Rinteln
Q498571
(Q994575,P190,c(Q56061))
action filter_type
action find
entity Q994575
relation P190
type Q56061
[ANSWER] is partner town of that one
['Q994575', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q994575 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Rinteln
Rinteln is partner town of that one
Rinteln
action filter_type
action find
entity Kendal
relation sister city
type administrative territorial entity
['Kendal', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Kendal property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q498571
P937
Q502895
USER
Who have that administrative territory as their work location ?
(c(Q502895),P937,Q498571)
action filter_type
action find_reverse
entity Q498571
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q498571']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P937 resource:Q498571 }
Rinteln
action filter_type
action find_reverse
entity Rinteln
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Rinteln']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:work_location resource:Rinteln }
[]
common name
Q14933262 Q101328 Q1556019
SYSTEM
Johann Peter Lotichius, Gustav Volkmar, Gustav Hüpeden
Q1318701 Q1693011 Q1693335 Q805629 Q110351 Q1079619 Q216366 Q102359 Q1273874 Q108319 Q1051019 Q572643 Q824849 Q15453705 Q1047890 Q1697664 Q1556019 Q16831458 Q101328 Q14933262 Q91532
(c(Q502895),P937,Q498571)
action filter_type
action find_reverse
entity Q498571
relation P937
type Q502895
[ANSWERS] have that administrative territory as their work location
[{'concept': 'Q502895'}, 'P937', 'Q498571']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P937 resource:Q498571 }
Johann Friedrich Fürstenau Johann Christoph Buch Johann Engelhard Steuber Balthasar Mentzer Friedrich Wilhelm Bierling Christian Friedrich Knorr Johann Matthäus Hassencamp Gerhard Wolter Molanus Heinrich Ernst Kestner Petrus Lucius Catharine Nobbe Anthonius Lucius Bernhard Christoph Faust Friedrich Wilhelm Pestel Caspar Garthe Johannes Henich Gustav Hüpeden Friedrich-Wilhelm Ande Gustav Volkmar Johann Peter Lotichius Hermann Zoll
Johann Peter Lotichius, Gustav Volkmar and Gustav Hüpeden have that administrative territory as their work location
Johann Peter Lotichius Gustav Volkmar Gustav Hüpeden
action filter_type
action find_reverse
entity Rinteln
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Rinteln']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:work_location resource:Rinteln }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P937
Q56061 Q515
USER
How many administrative territories and cities are the work locations of that person ?
(Q1556019,P937,c(Q56061)) (Q1556019,P937,c(Q515)) (Q14933262,P937,c(Q56061)) (Q14933262,P937,c(Q515)) (Q101328,P937,c(Q56061)) (Q101328,P937,c(Q515)) (Q1556019,P937,c(Q56061)) (Q1556019,P937,c(Q515))
['Q1556019', 'P937', {'concept': 'Q56061'}] ['Q1556019', 'P937', {'concept': 'Q515'}] ['Q14933262', 'P937', {'concept': 'Q56061'}] ['Q14933262', 'P937', {'concept': 'Q515'}] ['Q101328', 'P937', {'concept': 'Q56061'}] ['Q101328', 'P937', {'concept': 'Q515'}] ['Q1556019', 'P937', {'concept': 'Q56061'}] ['Q1556019', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1556019 property:Q27067654 ?z } UNION { resource:Q1556019 property:Q27067654 ?y } UNION { resource:Q14933262 property:Q27067654 ?z } UNION { resource:Q14933262 property:Q27067654 ?y } UNION { resource:Q101328 property:Q27067654 ?z } UNION { resource:Q101328 property:Q27067654 ?y } UNION { resource:Q1556019 property:Q27067654 ?z } UNION { resource:Q1556019 property:Q27067654 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7930989 }
['Gustav Hüpeden', 'work location', {'concept': 'administrative territorial entity'}] ['Gustav Hüpeden', 'work location', {'concept': 'city'}] ['Johann Peter Lotichius', 'work location', {'concept': 'administrative territorial entity'}] ['Johann Peter Lotichius', 'work location', {'concept': 'city'}] ['Gustav Volkmar', 'work location', {'concept': 'administrative territorial entity'}] ['Gustav Volkmar', 'work location', {'concept': 'city'}] ['Gustav Hüpeden', 'work location', {'concept': 'administrative territorial entity'}] ['Gustav Hüpeden', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Gustav_Hüpeden property:work_location ?z } UNION { resource:Gustav_Hüpeden property:work_location ?y } UNION { resource:Johann_Peter_Lotichius property:work_location ?z } UNION { resource:Johann_Peter_Lotichius property:work_location ?y } UNION { resource:Gustav_Volkmar property:work_location ?z } UNION { resource:Gustav_Volkmar property:work_location ?y } UNION { resource:Gustav_Hüpeden property:work_location ?z } UNION { resource:Gustav_Hüpeden property:work_location ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:city }
[]
administrative territorial entity city
Quantitative|Count|Mult. entity type|Clarification
Q1556019
SYSTEM
Did you mean Gustav Hüpeden ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1556019 property:Q27067654 ?z } UNION { resource:Q1556019 property:Q27067654 ?y } UNION { resource:Q14933262 property:Q27067654 ?z } UNION { resource:Q14933262 property:Q27067654 ?y } UNION { resource:Q101328 property:Q27067654 ?z } UNION { resource:Q101328 property:Q27067654 ?y } UNION { resource:Q1556019 property:Q27067654 ?z } UNION { resource:Q1556019 property:Q27067654 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7930989 }
Did you mean Gustav Hüpeden ?
Gustav Hüpeden
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Gustav_Hüpeden property:work_location ?z } UNION { resource:Gustav_Hüpeden property:work_location ?y } UNION { resource:Johann_Peter_Lotichius property:work_location ?z } UNION { resource:Johann_Peter_Lotichius property:work_location ?y } UNION { resource:Gustav_Volkmar property:work_location ?z } UNION { resource:Gustav_Volkmar property:work_location ?y } UNION { resource:Gustav_Hüpeden property:work_location ?z } UNION { resource:Gustav_Hüpeden property:work_location ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q1556019,P937,c(Q56061)) (Q1556019,P937,c(Q515)) (Q14933262,P937,c(Q56061)) (Q14933262,P937,c(Q515)) (Q101328,P937,c(Q56061)) (Q101328,P937,c(Q515)) (Q1556019,P937,c(Q56061)) (Q1556019,P937,c(Q515))
['Q1556019', 'P937', {'concept': 'Q56061'}] ['Q1556019', 'P937', {'concept': 'Q515'}] ['Q14933262', 'P937', {'concept': 'Q56061'}] ['Q14933262', 'P937', {'concept': 'Q515'}] ['Q101328', 'P937', {'concept': 'Q56061'}] ['Q101328', 'P937', {'concept': 'Q515'}] ['Q1556019', 'P937', {'concept': 'Q56061'}] ['Q1556019', 'P937', {'concept': 'Q515'}]
['Gustav Hüpeden', 'work location', {'concept': 'administrative territorial entity'}] ['Gustav Hüpeden', 'work location', {'concept': 'city'}] ['Johann Peter Lotichius', 'work location', {'concept': 'administrative territorial entity'}] ['Johann Peter Lotichius', 'work location', {'concept': 'city'}] ['Gustav Volkmar', 'work location', {'concept': 'administrative territorial entity'}] ['Gustav Volkmar', 'work location', {'concept': 'city'}] ['Gustav Hüpeden', 'work location', {'concept': 'administrative territorial entity'}] ['Gustav Hüpeden', 'work location', {'concept': 'city'}]
[]
SYSTEM
2 administrative territories and 1 cities
Q64 Q498571 Q2865
(Q1556019,P937,c(Q56061)) (Q1556019,P937,c(Q515)) (Q14933262,P937,c(Q56061)) (Q14933262,P937,c(Q515)) (Q101328,P937,c(Q56061)) (Q101328,P937,c(Q515)) (Q1556019,P937,c(Q56061)) (Q1556019,P937,c(Q515))
[ANSWER]
['Q1556019', 'P937', {'concept': 'Q56061'}] ['Q1556019', 'P937', {'concept': 'Q515'}] ['Q14933262', 'P937', {'concept': 'Q56061'}] ['Q14933262', 'P937', {'concept': 'Q515'}] ['Q101328', 'P937', {'concept': 'Q56061'}] ['Q101328', 'P937', {'concept': 'Q515'}] ['Q1556019', 'P937', {'concept': 'Q56061'}] ['Q1556019', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1556019 property:Q27067654 ?z } UNION { resource:Q1556019 property:Q27067654 ?y } UNION { resource:Q14933262 property:Q27067654 ?z } UNION { resource:Q14933262 property:Q27067654 ?y } UNION { resource:Q101328 property:Q27067654 ?z } UNION { resource:Q101328 property:Q27067654 ?y } UNION { resource:Q1556019 property:Q27067654 ?z } UNION { resource:Q1556019 property:Q27067654 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7930989 }
Berlin Rinteln Kassel
2 administrative territories and 1 cities
['Gustav Hüpeden', 'work location', {'concept': 'administrative territorial entity'}] ['Gustav Hüpeden', 'work location', {'concept': 'city'}] ['Johann Peter Lotichius', 'work location', {'concept': 'administrative territorial entity'}] ['Johann Peter Lotichius', 'work location', {'concept': 'city'}] ['Gustav Volkmar', 'work location', {'concept': 'administrative territorial entity'}] ['Gustav Volkmar', 'work location', {'concept': 'city'}] ['Gustav Hüpeden', 'work location', {'concept': 'administrative territorial entity'}] ['Gustav Hüpeden', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Gustav_Hüpeden property:work_location ?z } UNION { resource:Gustav_Hüpeden property:work_location ?y } UNION { resource:Johann_Peter_Lotichius property:work_location ?z } UNION { resource:Johann_Peter_Lotichius property:work_location ?y } UNION { resource:Gustav_Volkmar property:work_location ?z } UNION { resource:Gustav_Volkmar property:work_location ?y } UNION { resource:Gustav_Hüpeden property:work_location ?z } UNION { resource:Gustav_Hüpeden property:work_location ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1556019
P20
Q515
USER
Which city is the place of death of that person ?
action filter_type
action find
entity Q1556019
relation P20
type Q515
SELECT DISTINCT ?g WHERE { resource:Q1556019 property:P20 ?g . ?g rdf:type ontology:Q515 }
Gustav Hüpeden
action filter_type
action find
entity Gustav Hüpeden
relation place of death
type city
SELECT DISTINCT ?g WHERE { resource:Gustav_Hüpeden property:place_of_death ?g . ?g rdf:type ontology:city }
[]
city
Q2865
SYSTEM
Kassel
Q2865
action filter_type
action find
entity Q1556019
relation P20
type Q515
[ANSWER] is the place of death of that person
SELECT DISTINCT ?g WHERE { resource:Q1556019 property:P20 ?g . ?g rdf:type ontology:Q515 }
Kassel
Kassel is the place of death of that person
Kassel
action filter_type
action find
entity Gustav Hüpeden
relation place of death
type city
SELECT DISTINCT ?g WHERE { resource:Gustav_Hüpeden property:place_of_death ?g . ?g rdf:type ontology:city }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q515
USER
Which cities are a sister city of approximately 12 cities ?
(c(Q515),P190,c(Q515))
action approx
action find_tuple_counts
relation P190
type Q515
type Q515
value 12
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?o = 12 ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?o ) WHERE { ?y property:P190 ?g . ?y rdf:type ontology:Q515 . ?g rdf:type ontology:Q515 } GROUP BY ?y } }
action approx
action find_tuple_counts
relation sister city
type city
type city
value 12
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?o = 12 ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?o ) WHERE { ?y property:sister_city ?g . ?y rdf:type ontology:city . ?g rdf:type ontology:city } GROUP BY ?y } }
[]
city city
Q205922 Q42622
SYSTEM
Qiqihar, Suzhou
Q205922 Q42622
(c(Q515),P190,c(Q515))
action approx
action find_tuple_counts
relation P190
type Q515
type Q515
value 12
[ANSWERS] are a sister city of approximately 12 cities
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?o = 12 ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?o ) WHERE { ?y property:P190 ?g . ?y rdf:type ontology:Q515 . ?g rdf:type ontology:Q515 } GROUP BY ?y } }
Qiqihar Suzhou
Qiqihar and Suzhou are a sister city of approximately 12 cities
Qiqihar Suzhou
action approx
action find_tuple_counts
relation sister city
type city
type city
value 12
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?o = 12 ) . { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?o ) WHERE { ?y property:sister_city ?g . ?y rdf:type ontology:city . ?g rdf:type ontology:city } GROUP BY ?y } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q515 Q56061 Q1048835
USER
Which cities are sister towns of atleast 14 administrative territories and political territories ?
(c(Q56061)|c(Q1048835),P190,c(Q515))
action atleast
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q56061
action find_reverse_tuple_counts
relation P190
type Q515
type Q1048835
value 14
[[{'concept': 'Q56061'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:P190 ?j . ?j rdf:type ontology:Q515 . ?t rdf:type ontology:Q56061 } UNION { ?t property:P190 ?j . ?j rdf:type ontology:Q515 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?j } . FILTER ( ?w >= 14 ) }
action atleast
action union
action find_reverse_tuple_counts
relation sister city
type city
type administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type political territorial entity
value 14
[[{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:sister_city ?j . ?j rdf:type ontology:city . ?t rdf:type ontology:administrative_territorial_entity } UNION { ?t property:sister_city ?j . ?j rdf:type ontology:city . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . FILTER ( ?w >= 14 ) }
[]
city administrative territorial entity political territorial entity
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q3572 Q11736 Q23482 Q16520 Q19689 Q1899 Q1486 Q1461 Q8684 Q8652 Q587746 Q19660 Q14960 Q1773 Q11194 Q485581 Q11725 Q42622 Q1000056 Q456 Q3616 Q25475 Q613813 Q1533 Q1953
(c(Q56061)|c(Q1048835),P190,c(Q515))
action atleast
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q56061
action find_reverse_tuple_counts
relation P190
type Q515
type Q1048835
value 14
[ANSWERS] are sister towns of atleast 14 administrative territories and political territories
[[{'concept': 'Q56061'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:P190 ?j . ?j rdf:type ontology:Q515 . ?t rdf:type ontology:Q56061 } UNION { ?t property:P190 ?j . ?j rdf:type ontology:Q515 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?j } . FILTER ( ?w >= 14 ) }
Tunis Tianjin Marseille Busan Tirana Kyiv Buenos Aires Manila Seoul Miami Siret Bucharest Brno Riga Sarajevo Aveiro Chongqing Suzhou Sušice Lyon Tehran Batumi Kőszeg Caracas Yerevan
Buenos Aires, Riga and Kyiv are sister towns of atleast 14 administrative territories and political territories
Buenos Aires Riga Kyiv
action atleast
action union
action find_reverse_tuple_counts
relation sister city
type city
type administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type political territorial entity
value 14
[[{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:sister_city ?j . ?j rdf:type ontology:city . ?t rdf:type ontology:administrative_territorial_entity } UNION { ?t property:sister_city ?j . ?j rdf:type ontology:city . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . FILTER ( ?w >= 14 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4079765
P190
Q56061
USER
Are Bakhanay sister town of those cities ?
(Q4079765,P190,Q1486) (Q4079765,P190,Q1773) (Q4079765,P190,Q1899)
action is_in
entity prev_answer
action find
entity Q4079765
relation P190
['Q4079765', 'P190', 'Q1486'] ['Q4079765', 'P190', 'Q1773'] ['Q4079765', 'P190', 'Q1899']
ASK WHERE { resource:Q4079765 property:P190 ?l . VALUES ( ?l ) { ( resource:Q3572 ) ( resource:Q11736 ) ( resource:Q23482 ) } }
Bakhanay
action is_in
entity prev_answer
action find
entity Bakhanay
relation sister city
['Bakhanay', 'sister city', 'Buenos Aires'] ['Bakhanay', 'sister city', 'Riga'] ['Bakhanay', 'sister city', 'Kyiv']
ASK WHERE { resource:Bakhanay property:sister_city ?l . VALUES ( ?l ) { ( resource:Tunis ) ( resource:Tianjin ) ( resource:Marseille ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q4079765,P190,Q1486) (Q4079765,P190,Q1773) (Q4079765,P190,Q1899)
action is_in
entity prev_answer
action find
entity Q4079765
relation P190
[ANSWER]
['Q4079765', 'P190', 'Q1486'] ['Q4079765', 'P190', 'Q1773'] ['Q4079765', 'P190', 'Q1899']
ASK WHERE { resource:Q4079765 property:P190 ?l . VALUES ( ?l ) { ( resource:Q3572 ) ( resource:Q11736 ) ( resource:Q23482 ) } }
No
action is_in
entity prev_answer
action find
entity Bakhanay
relation sister city
['Bakhanay', 'sister city', 'Buenos Aires'] ['Bakhanay', 'sister city', 'Riga'] ['Bakhanay', 'sister city', 'Kyiv']
ASK WHERE { resource:Bakhanay property:sister_city ?l . VALUES ( ?l ) { ( resource:Tunis ) ( resource:Tianjin ) ( resource:Marseille ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1953
P1376
Q7275 Q515 Q515
USER
How many cities are center of administration for less number of states or cities than Yerevan ?
(c(Q515),P1376,c(Q7275)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q7275
action find_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q1953
relation P1376
type Q7275
type Q515
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q7275'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:Q7275 ) ( ontology:Q515 ) } . ?a rdf:type ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q1953 property:P1376 ?v . { { ?v rdf:type ontology:Q7275 } UNION { ?v rdf:type ontology:Q515 } } } } . FILTER ( ?s < ?q ) }
Yerevan
action count
action less
action union
action find_tuple_counts
relation capital of
type city
type state
action find_tuple_counts
relation capital of
type city
type city
action count
action filter_multi_types
action find
entity Yerevan
relation capital of
type state
type city
[{'concept': 'city'}, 'capital of', [{'concept': 'state'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:state ) ( ontology:city ) } . ?a rdf:type ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Yerevan property:capital_of ?v . { { ?v rdf:type ontology:state } UNION { ?v rdf:type ontology:city } } } } . FILTER ( ?s < ?q ) }
[]
state city city
SYSTEM
510
Q15826 Q373542 Q780731 Q39738 Q3572 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q19689 Q873377 Q853746 Q8131 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q496667 Q27860 Q240504 Q3806 Q281371 Q258884 Q592338 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q3926 Q11462 Q834567 Q851675 Q3214 Q842908 Q23482 Q505208 Q1000336 Q911530 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q793405 Q665 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q1461 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q23430 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q270704 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q6602 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q3904 Q325164 Q305640 Q14819 Q5285 Q14182 Q740810 Q1069007 Q861221 Q911667 Q6807568 Q7568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q19660 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q124375 Q933641 Q854940 Q2180 Q714628 Q335427 Q177149 Q9005 Q2337 Q633789 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q2973 Q34261 Q137271 Q855060 Q843028 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1856 Q855016 Q3787 Q855011 Q308657 Q4007 Q480421 Q14168 Q823907 Q7070 Q3826 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q7929221 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q386682 Q63145 Q2119 Q390796 Q271917 Q5972 Q1720 Q1721 Q83247 Q1645 Q7578 Q390798 Q11443 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q183584 Q2907 Q15847 Q843014 Q2844 Q11725 Q604516 Q73156 Q3768 Q732300 Q789510 Q20073 Q1863 Q1865 Q2209 Q2200 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q1355 Q146363 Q208818 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q6582 Q187821 Q502205 Q203344 Q107401 Q71159 Q3355306 Q57944 Q189761 Q189769 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q489147 Q456 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q7003 Q3931 Q726993 Q3919 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999
(c(Q515),P1376,c(Q7275)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q7275
action find_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q1953
relation P1376
type Q7275
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q7275'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:Q7275 ) ( ontology:Q515 ) } . ?a rdf:type ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q1953 property:P1376 ?v . { { ?v rdf:type ontology:Q7275 } UNION { ?v rdf:type ontology:Q515 } } } } . FILTER ( ?s < ?q ) }
Palu Szigetvár Szeghalom Laoag Tunis Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Tirana Dumaguete Bátonyterenye Palembang Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Jayapura Makó Tübingen Jászberény Bélapátfalva Marawi Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Pretoria Surabaya Bonyhád Takahashi Cottbus Gyál Marseille Ouarzazate Tandil Hajdúhadház Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Berettyóújfalu Lugdunum Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Manila Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Ulaanbaatar Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Islamabad Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Abu Dhabi Třebíč Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Mbabane Kayes Abashiri Freiberg Tarlac Banjarmasin Békés Washukanni Nakatsu Elek Emmen Yogyakarta Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Bucharest Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Hódmezővásárhely Martonvásár Dabas Malolos Rumoi Kisarazu Obihiro Brussels Smolensk Dombóvár Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Darmstadt Port-au-Prince Kota Kinabalu Encs Oroszlány Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Malaybalay Csurgó Abuja Heves Minas Tirith Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Muscat Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Caracas Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Vijaya Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Khost Imus Mannheim Orosháza Kushiro Medan Mainz Wiesbaden Braga Cagayan de Oro Jambi Szentendre Kediri Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Lanzhou Sucre Manado Szarvas Brasília Chongqing Szentgotthárd Linfen Yamoussoukro Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Kuala Lumpur Roxas Tuguegarao Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Bangalore Most Fuchū Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Carcassonne Tatabánya Nemuro Baja Sivas Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Edoras Kaposvár Bacolod Lenti Catbalogan Schmalkalden Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Dijon Brandenburg an der Havel Cotabato City Gaborone Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena Würzburg
510
action count
action less
action union
action find_tuple_counts
relation capital of
type city
type state
action find_tuple_counts
relation capital of
type city
type city
action count
action filter_multi_types
action find
entity Yerevan
relation capital of
type state
type city
[{'concept': 'city'}, 'capital of', [{'concept': 'state'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:state ) ( ontology:city ) } . ?a rdf:type ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Yerevan property:capital_of ?v . { { ?v rdf:type ontology:state } UNION { ?v rdf:type ontology:city } } } } . FILTER ( ?s < ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3926
P1376
Q7275 Q515 Q515
USER
And how about Pretoria?
(c(Q515),P1376,c(Q7275)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q7275
action find_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q3926
relation P1376
type Q7275
type Q515
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q7275'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?s WHERE { VALUES ( ?t ) { ( ontology:Q7275 ) ( ontology:Q515 ) } . ?h rdf:type ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q3926 property:P1376 ?d . { { ?d rdf:type ontology:Q7275 } UNION { ?d rdf:type ontology:Q515 } } } } . FILTER ( ?f < ?a ) }
Pretoria
action count
action less
action union
action find_tuple_counts
relation capital of
type city
type state
action find_tuple_counts
relation capital of
type city
type city
action count
action filter_multi_types
action find
entity Pretoria
relation capital of
type state
type city
[{'concept': 'city'}, 'capital of', [{'concept': 'state'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?s WHERE { VALUES ( ?t ) { ( ontology:state ) ( ontology:city ) } . ?h rdf:type ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Pretoria property:capital_of ?d . { { ?d rdf:type ontology:state } UNION { ?d rdf:type ontology:city } } } } . FILTER ( ?f < ?a ) }
[]
state city city
SYSTEM
472
Q15826 Q373542 Q780731 Q39738 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q873377 Q853746 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q496667 Q240504 Q3806 Q281371 Q258884 Q592338 Q52607 Q766168 Q933645 Q214938 Q830394 Q205607 Q193050 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q11462 Q834567 Q851675 Q3214 Q842908 Q23482 Q505208 Q1000336 Q911530 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q854969 Q842934 Q793405 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q2966 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q270704 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q6602 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q3904 Q325164 Q305640 Q14819 Q5285 Q14182 Q740810 Q861221 Q911667 Q6807568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q124375 Q933641 Q854940 Q2180 Q714628 Q335427 Q177149 Q2337 Q633789 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q2973 Q34261 Q137271 Q855060 Q843028 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1856 Q855016 Q3787 Q855011 Q4007 Q480421 Q14168 Q823907 Q7070 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q755681 Q214942 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q386682 Q63145 Q2119 Q390796 Q271917 Q5972 Q1720 Q1721 Q1645 Q7578 Q390798 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q2907 Q15847 Q843014 Q604516 Q3768 Q732300 Q789510 Q20073 Q1863 Q2209 Q2200 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q1355 Q146363 Q208818 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q6582 Q187821 Q502205 Q203344 Q71159 Q3355306 Q57944 Q189761 Q189769 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q184998 Q5217 Q854965 Q1020709 Q489147 Q456 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q7003 Q3931 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125
(c(Q515),P1376,c(Q7275)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q7275
action find_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q3926
relation P1376
type Q7275
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q7275'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?s WHERE { VALUES ( ?t ) { ( ontology:Q7275 ) ( ontology:Q515 ) } . ?h rdf:type ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q3926 property:P1376 ?d . { { ?d rdf:type ontology:Q7275 } UNION { ?d rdf:type ontology:Q515 } } } } . FILTER ( ?f < ?a ) }
Palu Szigetvár Szeghalom Laoag Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Dumaguete Bátonyterenye Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Makó Tübingen Jászberény Bélapátfalva Marawi Mar del Plata Nagykáta Kunhegyes Gyula Nagykőrös Zirc Érd Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Surabaya Bonyhád Takahashi Cottbus Gyál Marseille Ouarzazate Tandil Hajdúhadház Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Letenye Püspökladány Berettyóújfalu Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Heidelberg Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Islamabad Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Abu Dhabi Třebíč Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Mbabane Kayes Abashiri Freiberg Tarlac Banjarmasin Békés Nakatsu Elek Emmen Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Hódmezővásárhely Martonvásár Dabas Malolos Rumoi Kisarazu Obihiro Smolensk Dombóvár Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Darmstadt Port-au-Prince Kota Kinabalu Encs Oroszlány Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Malaybalay Csurgó Abuja Heves Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Várpalota Kazincbarcika Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Caracas Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Khost Imus Mannheim Orosháza Kushiro Medan Mainz Wiesbaden Cagayan de Oro Jambi Szentendre Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Sucre Manado Szarvas Szentgotthárd Yamoussoukro Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Roxas Tuguegarao České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Bangalore Most Fuchū Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Carcassonne Tatabánya Nemuro Baja Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Kaposvár Bacolod Lenti Catbalogan Schmalkalden Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Dijon Brandenburg an der Havel Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena
472
action count
action less
action union
action find_tuple_counts
relation capital of
type city
type state
action find_tuple_counts
relation capital of
type city
type city
action count
action filter_multi_types
action find
entity Pretoria
relation capital of
type state
type city
[{'concept': 'city'}, 'capital of', [{'concept': 'state'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?s WHERE { VALUES ( ?t ) { ( ontology:state ) ( ontology:city ) } . ?h rdf:type ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Pretoria property:capital_of ?d . { { ?d rdf:type ontology:state } UNION { ?d rdf:type ontology:city } } } } . FILTER ( ?f < ?a ) }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q157725
Q56061
USER
And also tell me about Chernivtsi?
(Q157725,P1376,c(Q56061))
action filter_type
action find
entity Q157725
relation P1376
type Q56061
['Q157725', 'P1376', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q157725 property:P1376 ?p . ?p rdf:type ontology:Q56061 }
Chernivtsi
action filter_type
action find
entity Chernivtsi
relation capital of
type administrative territorial entity
['Chernivtsi', 'capital of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Chernivtsi property:capital_of ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q105206
SYSTEM
Bukovina
Q105206
(Q157725,P1376,c(Q56061))
action filter_type
action find
entity Q157725
relation P1376
type Q56061
[ANSWER]
['Q157725', 'P1376', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q157725 property:P1376 ?p . ?p rdf:type ontology:Q56061 }
Bukovina
Bukovina
action filter_type
action find
entity Chernivtsi
relation capital of
type administrative territorial entity
['Chernivtsi', 'capital of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Chernivtsi property:capital_of ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19635227 Q101328
P276 P20
Q56061
USER
Which administrative territories did Gustav Volkmar die or are the locations of Vinketurf ?
OR((Q101328,P20,c(Q56061)), (Q19635227,P276,c(Q56061)))
action filter_type
action union
action find
entity Q101328
relation P20
action find
entity Q19635227
relation P276
type Q56061
{'OR': [['Q101328', 'P20', {'concept': 'Q56061'}], ['Q19635227', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q101328 property:P20 ?y } UNION { resource:Q19635227 property:P276 ?y } } . ?y rdf:type ontology:Q56061 }
Vinketurf Gustav Volkmar
action filter_type
action union
action find
entity Gustav Volkmar
relation place of death
action find
entity Vinketurf
relation location
type administrative territorial entity
{'OR': [['Gustav Volkmar', 'place of death', {'concept': 'administrative territorial entity'}], ['Vinketurf', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Gustav_Volkmar property:place_of_death ?y } UNION { resource:Vinketurf property:location ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2653954 Q72
SYSTEM
Kruisland, Zürich
Q2653954 Q72
OR((Q101328,P20,c(Q56061)), (Q19635227,P276,c(Q56061)))
action filter_type
action union
action find
entity Q101328
relation P20
action find
entity Q19635227
relation P276
type Q56061
Gustav Volkmar died or are the locations of Vinketurf in [ANSWERS]
{'OR': [['Q101328', 'P20', {'concept': 'Q56061'}], ['Q19635227', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q101328 property:P20 ?y } UNION { resource:Q19635227 property:P276 ?y } } . ?y rdf:type ontology:Q56061 }
Kruisland Zürich
Gustav Volkmar died or are the locations of Vinketurf in Kruisland and Zürich
Kruisland Zürich
action filter_type
action union
action find
entity Gustav Volkmar
relation place of death
action find
entity Vinketurf
relation location
type administrative territorial entity
{'OR': [['Gustav Volkmar', 'place of death', {'concept': 'administrative territorial entity'}], ['Vinketurf', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Gustav_Volkmar property:place_of_death ?y } UNION { resource:Vinketurf property:location ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q983141
P532
Q56061 Q2235308
USER
Which ship types have their base port as approximately the same number of administrative territories as MY Sam Simon ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q983141
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?j ) WHERE { ?t property:P532 ?c . ?t rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Q983141 property:P532 ?h . ?h rdf:type ontology:Q2235308 } } . FILTER ( ?j = ?u ) }
MY Sam Simon
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity MY Sam Simon
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?j ) WHERE { ?t property:port_of_registry ?c . ?t rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:MY_Sam_Simon property:port_of_registry ?h . ?h rdf:type ontology:ship_type } } . FILTER ( ?j = ?u ) }
[]
administrative territorial entity ship type
Q35462 Q192381 Q983141
SYSTEM
RMS Aquitania, MS Oasis of the Seas, MY Sam Simon
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q1026780 Q22342351 Q15662618 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q983141
relation P532
type Q2235308
[ANSWERS] have their base port as approximately the same number of administrative territories as MY Sam Simon
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?j ) WHERE { ?t property:P532 ?c . ?t rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Q983141 property:P532 ?h . ?h rdf:type ontology:Q2235308 } } . FILTER ( ?j = ?u ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation SS California Modern Express Djurgården 8 Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
RMS Aquitania, MS Oasis of the Seas and MY Sam Simon have their base port as approximately the same number of administrative territories as MY Sam Simon
RMS Aquitania MS Oasis of the Seas MY Sam Simon
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity MY Sam Simon
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?j ) WHERE { ?t property:port_of_registry ?c . ?t rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:MY_Sam_Simon property:port_of_registry ?h . ?h rdf:type ontology:ship_type } } . FILTER ( ?j = ?u ) }
[]