Simple Question (Direct)
Simple Question
Q15859127
P39
Q12737077
USER
What was the position for which Jakob Müller was appointed ?
(Q15859127,P39,c(Q12737077))
action filter_type
action find
entity Q15859127
relation P39
type Q12737077
['Q15859127', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q15859127 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
Jakob Müller
action filter_type
action find
entity Jakob Müller
relation position held
type occupation
['Jakob Müller', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Jakob_Müller property:position_held ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q18510612
SYSTEM
Member of the Swiss National Council
Q18510612
(Q15859127,P39,c(Q12737077))
action filter_type
action find
entity Q15859127
relation P39
type Q12737077
Of [ANSWER]
['Q15859127', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q15859127 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
Member of the Swiss National Council
Of Member of the Swiss National Council
Member of the Swiss National Council
action filter_type
action find
entity Jakob Müller
relation position held
type occupation
['Jakob Müller', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Jakob_Müller property:position_held ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15859127
P734
Q82799
USER
Who is associated with that person ?
(Q18510612,P734,c(Q82799))
action filter_type
action find
entity Q15859127
relation P734
type Q82799
['Q18510612', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q15859127 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Jakob Müller
action filter_type
action find
entity Jakob Müller
relation family name
type name
['Member of the Swiss National Council', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Jakob_Müller property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q8157228
SYSTEM
Müller
Q8157228
(Q18510612,P734,c(Q82799))
action filter_type
action find
entity Q15859127
relation P734
type Q82799
[ANSWER] is associated with that person
['Q18510612', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q15859127 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Müller
Müller is associated with that person
Müller
action filter_type
action find
entity Jakob Müller
relation family name
type name
['Member of the Swiss National Council', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Jakob_Müller property:family_name ?v . ?v rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q33976
P407
Q34770 Q82799
USER
Which languages are approximately the same number of names composed in as Sardinian language ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q33976
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:Q82799 . ?o rdf:type ontology:Q34770 . ?h property:P407 ?o } GROUP BY ?o } . FILTER ( ?p = ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q33976 property:P407 ?r . ?r rdf:type ontology:Q34770 } } }
Sardinian language
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Sardinian language
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:name . ?o rdf:type ontology:language . ?h property:language_of_work_or_name ?o } GROUP BY ?o } . FILTER ( ?p = ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Sardinian_language property:language_of_work_or_name ?r . ?r rdf:type ontology:language } } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q33976
relation P407
type Q34770
[ANSWERS] are approximately the same number of names composed in as Sardinian language
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:Q82799 . ?o rdf:type ontology:Q34770 . ?h property:P407 ?o } GROUP BY ?o } . FILTER ( ?p = ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q33976 property:P407 ?r . ?r rdf:type ontology:Q34770 } } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are approximately the same number of names composed in as Sardinian language
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Sardinian language
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:name . ?o rdf:type ontology:language . ?h property:language_of_work_or_name ?o } GROUP BY ?o } . FILTER ( ?p = ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Sardinian_language property:language_of_work_or_name ?r . ?r rdf:type ontology:language } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15859127
P937
Q56061
USER
What is the location where Jakob Müller worked ?
(Q15859127,P937,c(Q56061))
action filter_type
action find
entity Q15859127
relation P937
type Q56061
['Q15859127', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q15859127 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Jakob Müller
action filter_type
action find
entity Jakob Müller
relation work location
type administrative territorial entity
['Jakob Müller', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jakob_Müller property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
(Q15859127,P937,c(Q56061))
action filter_type
action find
entity Q15859127
relation P937
type Q56061
The location Jakob Müller worked is in [ANSWER]
['Q15859127', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q15859127 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Bern
The location Jakob Müller worked is in Bern
Bern
action filter_type
action find
entity Jakob Müller
relation work location
type administrative territorial entity
['Jakob Müller', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jakob_Müller property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16194851
Q56061
USER
And what about József Varga?
(Q16194851,P937,c(Q56061))
action filter_type
action find
entity Q16194851
relation P937
type Q56061
['Q16194851', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q16194851 property:P937 ?p . ?p rdf:type ontology:Q56061 }
József Varga
action filter_type
action find
entity József Varga
relation work location
type administrative territorial entity
['József Varga', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:József_Varga property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q16194851,P937,c(Q56061))
action filter_type
action find
entity Q16194851
relation P937
type Q56061
[ANSWER]
['Q16194851', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q16194851 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Budapest
Budapest
action filter_type
action find
entity József Varga
relation work location
type administrative territorial entity
['József Varga', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:József_Varga property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16194851
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q1781,P27,c(Q15617994))
action filter_type
action find
entity Q16194851
relation P27
type Q15617994
['Q1781', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q16194851 property:P27 ?y }
József Varga
action filter_type
action find
entity József Varga
relation country of citizenship
type designation for an administrative territorial entity
['Budapest', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:József_Varga property:country_of_citizenship ?y }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q1781,P27,c(Q15617994))
action filter_type
action find
entity Q16194851
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q1781', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q16194851 property:P27 ?y }
Hungary
The Hungary is the native country of that person
Hungary
action filter_type
action find
entity József Varga
relation country of citizenship
type designation for an administrative territorial entity
['Budapest', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:József_Varga property:country_of_citizenship ?y }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2441471
P138
Q39546 Q515 Q56061
USER
Which administrative territories have more number of tools and cities as their namesake than Dieverbrug ?
(c(Q56061),P138,c(Q39546)|c(Q515))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q515
action count
action filter_multi_types
action find
entity Q2441471
relation P138
type Q39546
type Q515
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?r WHERE { { ?r property:P138 ?f . ?r rdf:type ontology:Q56061 . ?f rdf:type ontology:Q39546 } UNION { ?r property:P138 ?f . ?r rdf:type ontology:Q56061 . ?f rdf:type ontology:Q515 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q2441471 property:P138 ?k . { ?k rdf:type ?p . VALUES ( ?p ) { ( ontology:Q39546 ) ( ontology:Q515 ) } } } } . FILTER ( ?c > ?y ) }
Dieverbrug
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Dieverbrug
relation named after
type tool
type city
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'city'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?r WHERE { { ?r property:named_after ?f . ?r rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:tool } UNION { ?r property:named_after ?f . ?r rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:city } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Dieverbrug property:named_after ?k . { ?k rdf:type ?p . VALUES ( ?p ) { ( ontology:tool ) ( ontology:city ) } } } } . FILTER ( ?c > ?y ) }
[]
tool city administrative territorial entity
Q3053020 Q194067 Q2879005
SYSTEM
Emmer-Compascuum, Serpukhov, Bagdad
Q3053020 Q194067 Q2879005
(c(Q56061),P138,c(Q39546)|c(Q515))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q515
action count
action filter_multi_types
action find
entity Q2441471
relation P138
type Q39546
type Q515
[ANSWERS] have more number of tools and cities as their namesake than Dieverbrug
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?r WHERE { { ?r property:P138 ?f . ?r rdf:type ontology:Q56061 . ?f rdf:type ontology:Q39546 } UNION { ?r property:P138 ?f . ?r rdf:type ontology:Q56061 . ?f rdf:type ontology:Q515 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q2441471 property:P138 ?k . { ?k rdf:type ?p . VALUES ( ?p ) { ( ontology:Q39546 ) ( ontology:Q515 ) } } } } . FILTER ( ?c > ?y ) }
Emmer-Compascuum Serpukhov Bagdad
Emmer-Compascuum, Serpukhov and Bagdad have more number of tools and cities as their namesake than Dieverbrug
Emmer-Compascuum Serpukhov Bagdad
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Dieverbrug
relation named after
type tool
type city
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'city'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?r WHERE { { ?r property:named_after ?f . ?r rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:tool } UNION { ?r property:named_after ?f . ?r rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:city } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Dieverbrug property:named_after ?k . { ?k rdf:type ?p . VALUES ( ?p ) { ( ontology:tool ) ( ontology:city ) } } } } . FILTER ( ?c > ?y ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q1048835
USER
How many political territories are that administrative territory a part of ?
(Q2879005,P17,c(Q1048835))
['Q2879005', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q139063 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
['Bagdad', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Bagdad property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q194067
SYSTEM
Did you mean Serpukhov ?
(Q3053020,P17,c(Q1048835)) (Q194067,P17,c(Q1048835)) (Q2879005,P17,c(Q1048835))
[ANSWER]
['Q3053020', 'P17', {'concept': 'Q1048835'}] ['Q194067', 'P17', {'concept': 'Q1048835'}] ['Q2879005', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q139063 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Serpukhov ?
Serpukhov
['Emmer-Compascuum', 'country', {'concept': 'political territorial entity'}] ['Serpukhov', 'country', {'concept': 'political territorial entity'}] ['Bagdad', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Bagdad property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Bagdad. Could you tell me the answer for that?
(Q2879005,P17,c(Q1048835))
Q2879005
['Q2879005', 'P17', {'concept': 'Q1048835'}]
['Bagdad', 'country', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q408
(Q2879005,P17,c(Q1048835))
[ANSWER]
['Q2879005', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q139063 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
Australia
1
['Bagdad', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Bagdad property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q503652
P138
Q39546 Q15617994 Q56061
USER
Which administrative territories come from more number of tools or administrative territories than Malvinas Argentinas ?
(c(Q56061),P138,c(Q39546)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q15617994
action count
action filter_multi_types
action find
entity Q503652
relation P138
type Q39546
type Q15617994
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?k ) WHERE { { ?j property:P138 ?l . ?l rdf:type ontology:Q39546 . ?j rdf:type ontology:Q56061 } UNION { ?j property:P138 ?l . ?j rdf:type ontology:Q56061 . ?l rdf:type ontology:Q15617994 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Q503652 property:P138 ?w . { { ?w rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q39546 } } } } . FILTER ( ?k > ?n ) }
Malvinas Argentinas
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Malvinas Argentinas
relation named after
type tool
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?k ) WHERE { { ?j property:named_after ?l . ?l rdf:type ontology:tool . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j property:named_after ?l . ?j rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Malvinas_Argentinas property:named_after ?w . { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:tool } } } } . FILTER ( ?k > ?n ) }
[]
tool designation for an administrative territorial entity administrative territorial entity
Q194067 Q661735 Q5433196
SYSTEM
Serpukhov, Szilasliget, Groenlandsekade
Q5433196 Q615136 Q2174173 Q979938 Q194067 Q3025882 Q661735
(c(Q56061),P138,c(Q39546)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q15617994
action count
action filter_multi_types
action find
entity Q503652
relation P138
type Q39546
type Q15617994
[ANSWERS] come from more number of tools or administrative territories than Malvinas Argentinas
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?k ) WHERE { { ?j property:P138 ?l . ?l rdf:type ontology:Q39546 . ?j rdf:type ontology:Q56061 } UNION { ?j property:P138 ?l . ?j rdf:type ontology:Q56061 . ?l rdf:type ontology:Q15617994 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Q503652 property:P138 ?w . { { ?w rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q39546 } } } } . FILTER ( ?k > ?n ) }
Groenlandsekade Nederland Rhederbrug Frieschepalen Serpukhov Poortugaal Szilasliget
Serpukhov, Szilasliget and Groenlandsekade come from more number of tools or administrative territories than Malvinas Argentinas
Serpukhov Szilasliget Groenlandsekade
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Malvinas Argentinas
relation named after
type tool
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?k ) WHERE { { ?j property:named_after ?l . ?l rdf:type ontology:tool . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j property:named_after ?l . ?j rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Malvinas_Argentinas property:named_after ?w . { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:tool } } } } . FILTER ( ?k > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q947001
P138
Q39546 Q15617994 Q56061
USER
And what about George Enescu?
(c(Q56061),P138,c(Q39546)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q15617994
action count
action filter_multi_types
action find
entity Q947001
relation P138
type Q39546
type Q15617994
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?z ) WHERE { { ?e property:P138 ?m . ?e rdf:type ontology:Q56061 . ?m rdf:type ontology:Q39546 } UNION { ?e property:P138 ?m . ?m rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q56061 } } GROUP BY ?e } . FILTER ( ?z > ?n ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { resource:Q947001 property:P138 ?p . { ?p rdf:type ?u . VALUES ( ?u ) { ( ontology:Q39546 ) ( ontology:Q15617994 ) } } } } }
George Enescu
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity George Enescu
relation named after
type tool
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?z ) WHERE { { ?e property:named_after ?m . ?e rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:tool } UNION { ?e property:named_after ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:administrative_territorial_entity } } GROUP BY ?e } . FILTER ( ?z > ?n ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { resource:George_Enescu property:named_after ?p . { ?p rdf:type ?u . VALUES ( ?u ) { ( ontology:tool ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } }
[]
tool designation for an administrative territorial entity administrative territorial entity
Q194067 Q661735 Q5433196
SYSTEM
Serpukhov, Szilasliget, Groenlandsekade
Q5433196 Q615136 Q2174173 Q979938 Q194067 Q3025882 Q661735
(c(Q56061),P138,c(Q39546)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q15617994
action count
action filter_multi_types
action find
entity Q947001
relation P138
type Q39546
type Q15617994
[ANSWERS]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?z ) WHERE { { ?e property:P138 ?m . ?e rdf:type ontology:Q56061 . ?m rdf:type ontology:Q39546 } UNION { ?e property:P138 ?m . ?m rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q56061 } } GROUP BY ?e } . FILTER ( ?z > ?n ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { resource:Q947001 property:P138 ?p . { ?p rdf:type ?u . VALUES ( ?u ) { ( ontology:Q39546 ) ( ontology:Q15617994 ) } } } } }
Groenlandsekade Nederland Rhederbrug Frieschepalen Serpukhov Poortugaal Szilasliget
Serpukhov Szilasliget Groenlandsekade
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity George Enescu
relation named after
type tool
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?z ) WHERE { { ?e property:named_after ?m . ?e rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:tool } UNION { ?e property:named_after ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:administrative_territorial_entity } } GROUP BY ?e } . FILTER ( ?z > ?n ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { resource:George_Enescu property:named_after ?p . { ?p rdf:type ?u . VALUES ( ?u ) { ( ontology:tool ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P163
Q14660 Q56061
USER
Which administrative territories have flag named approximately the same number of flags as that administrative territory ?
(c(Q56061),P163,c(Q14660))
[{'concept': 'Q56061'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?z WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q14660 }
[{'concept': 'administrative territorial entity'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?z WHERE { ?z property:flag ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag }
[]
flag administrative territorial entity
Comparative|More/Less|Single entity type|Clarification
Q194067
SYSTEM
Did you mean Serpukhov ?
(c(Q56061),P163,c(Q14660))
[ANSWER]
[{'concept': 'Q56061'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?z WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q14660 }
Did you mean Serpukhov ?
Serpukhov
[{'concept': 'administrative territorial entity'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?z WHERE { ?z property:flag ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q56061),P163,c(Q14660))
[{'concept': 'Q56061'}, 'P163', {'concept': 'Q14660'}]
[{'concept': 'administrative territorial entity'}, 'flag', {'concept': 'flag'}]
[]
Q1085 Q458 Q649
SYSTEM
Prague, European Union, Moscow
Q562876 Q175742 Q802 Q198842 Q104262 Q15696 Q132977 Q136758 Q6934 Q15275 Q177908 Q15270 Q15273 Q193288 Q136834 Q3977 Q196611 Q172657 Q157576 Q2494383 Q7947 Q898 Q198364 Q894 Q155774 Q891 Q196369 Q176325 Q12273 Q175524 Q183193 Q3711 Q175480 Q102682 Q34116 Q154704 Q16969 Q15311 Q157688 Q393 Q102334 Q103493 Q172685 Q196729 Q133029 Q153453 Q3805 Q133026 Q2288 Q153380 Q958685 Q15759 Q15758 Q1717770 Q105264 Q15757 Q3159 Q955126 Q132739 Q146419 Q159501 Q132732 Q165844 Q198143 Q15307 Q142996 Q196469 Q13379 Q548441 Q135394 Q196466 Q158751 Q6049 Q1309 Q177888 Q157757 Q184537 Q154648 Q23337 Q103620 Q103993 Q194438 Q23116 Q134770 Q145735 Q1572234 Q2659505 Q911 Q105215 Q162761 Q193580 Q46850 Q141342 Q105465 Q184322 Q5727 Q175258 Q196833 Q750424 Q198990 Q15681 Q132855 Q206687 Q196599 Q150346 Q105342 Q136471 Q104609 Q6610 Q241475 Q178238 Q5196 Q193636 Q7978 Q4234145 Q104059 Q136715 Q134375 Q174155 Q172616 Q175393 Q145426 Q184147 Q184391 Q2280 Q157723 Q158405 Q156320 Q135572 Q155955 Q156284 Q5222 Q955328 Q12892 Q155615 Q486792 Q155349 Q155597 Q198369 Q144844 Q13127 Q104232 Q2137 Q954132 Q1930 Q172448 Q196643 Q520162 Q159097 Q145993 Q155863 Q5426 Q104713 Q133102 Q3927 Q7159 Q6014 Q175452 Q135189 Q157395 Q985671 Q197691 Q133310 Q15323 Q133089 Q5831 Q103377 Q175517 Q103176 Q761 Q189295 Q178188 Q12411 Q133819 Q7705 Q3323 Q954812 Q7172 Q10027 Q153663 Q15762 Q15760 Q105253 Q15767 Q15764 Q104654 Q105315 Q197386 Q197385 Q158990 Q153684 Q102152 Q8810 Q141697 Q196394 Q144170 Q196497 Q134686 Q136435 Q158005 Q2174 Q196489 Q134512 Q182871 Q184562 Q156747 Q153565 Q1895 Q16985 Q105179 Q16982 Q2684 Q196694 Q19520 Q104801 Q179476 Q136223 Q153698 Q83178 Q105413 Q95041 Q42308 Q145012 Q155974 Q198753 Q198206 Q14328 Q198759 Q5083 Q4454 Q9911 Q145583 Q5647 Q143079 Q155309 Q179525 Q103439 Q145457 Q154661 Q157447 Q155095 Q193604 Q2861 Q2868 Q46639 Q155829 Q144264 Q196607 Q490 Q6346 Q174124 Q887 Q155947 Q1025401 Q7525 Q3003031 Q175124 Q155541 Q154738 Q133049 Q141358 Q958847 Q2621918 Q155785 Q177805 Q2144 Q194084 Q59704 Q102445 Q155624 Q4315576 Q278743 Q135665 Q5265 Q193473 Q159261 Q105002 Q133033 Q133037 Q155365 Q135466 Q8851 Q143052 Q172696 Q175541 Q155437 Q164001 Q197677 Q198155 Q26430 Q162677 Q157622 Q135386 Q193930 Q8818 Q59246 Q135410 Q16554 Q16555 Q16557 Q105455 Q2070417 Q196953 Q995 Q994 Q193342 Q136490 Q134663 Q9897 Q184095 Q156209 Q196658 Q1297 Q197609 Q7859 Q738777 Q597 Q145638 Q908 Q4264 Q198400 Q900 Q198087 Q179486 Q7968 Q146468 Q136310 Q134181 Q135686 Q172608 Q144345 Q196435 Q95449 Q104030 Q157523 Q193722 Q172601 Q193333 Q155902 Q53139 Q104530 Q19566 Q23197 Q9867 Q5337 Q5332 Q178090 Q175161 Q176761 Q2371612 Q155276 Q196498 Q177920 Q11953 Q93910 Q1025883 Q162698 Q200797 Q196678 Q15250 Q33345 Q25396 Q622030 Q2423 Q4297737 Q1442470 Q198427 Q158336 Q173008 Q154801 Q155470 Q140147 Q157666 Q111048 Q176264 Q159230 Q197410 Q2214 Q196415 Q38022 Q133093 Q133825 Q183002 Q105520 Q270 Q155968 Q1957 Q5823 Q16971 Q196464 Q2470394 Q156658 Q152906 Q159139 Q15775 Q15774 Q8802 Q173858 Q104660 Q132714 Q155405 Q175433 Q193269 Q132718 Q158731 Q105392 Q237655 Q1025665 Q198047 Q134446 Q135427 Q134528 Q157779 Q23311 Q193371 Q134306 Q196686 Q134302 Q134717 Q104564 Q193277 Q193505 Q177737 Q196922 Q196925 Q954914 Q191465 Q146043 Q14318 Q155569 Q681893 Q136692 Q15092 Q9909 Q15095 Q1492 Q4519795 Q959 Q134786 Q19157 Q175727 Q103850 Q4538749 Q172637 Q1770 Q196946 Q5384 Q102307 Q40236 Q15301 Q132981 Q2770 Q197942 Q5470 Q197860 Q195662 Q155936 Q175802 Q197351 Q60425 Q176738 Q133052 Q154835 Q176636 Q155632 Q1076109 Q175651 Q196702 Q43070 Q193293 Q956207 Q141290 Q153434 Q198412 Q2801 Q4177764 Q956471 Q198419 Q153549 Q722836 Q135473 Q196528 Q175470 Q37792 Q196520 Q146435 Q103212 Q1829 Q340 Q105298 Q10282 Q587173 Q98967 Q193586 Q156602 Q25230 Q8385 Q177770 Q105444 Q5627 Q196964 Q102364 Q5584 Q2097419 Q159041 Q10400 Q24639 Q23185 Q172366 Q141538 Q144017 Q136551 Q172415 Q919 Q6576 Q196374 Q1218 Q915 Q914 Q104557 Q207294 Q155990 Q182935 Q7951 Q83339 Q6816 Q135696 Q105433 Q158424 Q196384 Q103676 Q170513 Q196387 Q196386 Q6494 Q104778 Q2630 Q181376 Q1973581 Q2634 Q194670 Q1415346 Q8356 Q163864 Q956159 Q954114 Q5343 Q156056 Q879406 Q136023 Q1183 Q196747 Q105133 Q11967 Q175752 Q15248 Q103789 Q2592 Q193396 Q34404 Q8717 Q15245 Q2626420 Q133291 Q173015 Q198820 Q143274 Q155745 Q198824 Q64 Q65 Q198358 Q61 Q62 Q102737 Q155489 Q178175 Q14657 Q103255 Q16973 Q193631 Q194067 Q384 Q196792 Q16978 Q5815 Q12439 Q10006 Q1085 Q133838 Q157260 Q177867 Q159124 Q105023 Q59828 Q143297 Q135482 Q139840 Q184346 Q198173 Q270887 Q132724 Q175407 Q143376 Q141578 Q166065 Q196479 Q103694 Q261024 Q6106 Q134433 Q3646 Q204150 Q49255 Q104703 Q134531 Q196443 Q174138 Q193363 Q134735 Q25804 Q134318 Q134760 Q649 Q157841 Q196525 Q193898 Q954519 Q143247 Q43788 Q105477 Q133529 Q105554 Q157764 Q955153 Q196603 Q158114 Q955013 Q198776 Q104991 Q134169 Q196377 Q4361 Q39420 Q193443 Q588 Q157065 Q173064 Q136848 Q580 Q103747 Q136669 Q196622 Q135869 Q172625 Q7938 Q144209 Q628623 Q197582 Q196786 Q139794 Q47166 Q197345 Q5449 Q906 Q196358 Q196359 Q196357 Q155148 Q132698 Q102346 Q15336 Q153715 Q14452 Q157850 Q15339 Q177829 Q100 Q154630 Q141606 Q458 Q103565 Q4156699 Q26180 Q196654 Q15235 Q15238 Q134315 Q159081 Q196711 Q3544 Q2837 Q155853 Q3426 Q133116 Q133045 Q126758 Q144097 Q143334 Q182906 Q173943 Q140087 Q168782 Q135446 Q2235 Q6066 Q155515 Q487786 Q196531 Q102762 Q196537 Q198033 Q286964 Q2143 Q216 Q42234 Q135161 Q25263 Q157482 Q236837 Q98995 Q102659 Q104649 Q105306 Q193557 Q976 Q135616 Q431779 Q132947 Q3118 Q143839 Q3490 Q196803 Q175360 Q197620 Q197625 Q215080 Q105235 Q104735 Q2746 Q133175 Q103703 Q136629 Q184193 Q105425 Q105548 Q23564 Q184617 Q197934 Q104545 Q193909 Q193906 Q198182 Q6329 Q34647 Q193413 Q875 Q198197 Q198190
(c(Q56061),P163,c(Q14660))
[ANSWERS] have flag named approximately the same number of flags as that administrative territory
[{'concept': 'Q56061'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?z WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q14660 }
Anna Paulowna Odintsovo Nowy Sącz Yuryuzan Asha Zamora Vereshchagino Zarechny Blagoveshchensk Lodeynoye Pole Pavlovsky Posad Kingisepp Kirovsk Rezh Zvenigorod Elista Tarko-Sale Nizhnekamsk Livny Aktsyabarski Pushkin Omsk Shchyokino (town), Tula Oblast Samara Krasnouralsk Nizhny Novgorod Sovetsk Oktyabrsky Gijón Noyabrsk Pravdinsk Belgrade Noginsk Abdulino Thunder Bay Kola Gulkevichi Slantsy Lomonosov Szczecin Dmitrov Amursk Nizhniye Sergi Tynda Verkhny Tagil Kirillov Amman Kolomna Tver Kineshma Masty Temryuk Anapa Sviyazhsk Boguchar Suzdal Kursk Cherykaw Bronnitsy Kimovsk Muravlenko Bratsk Nevyansk Chusovoy Primorsk Inta Sretensk Kurgan Portugalete Dolgoprudny Sredneuralsk Mezhdurechensk Kyzyl Maastricht Pavlovsk Lukhovitsy Raduzhny Kodinsk Salt Lake City Anzhero-Sudzhensk Artyom Sibay Ladushkin Danilov Kizel Halshany Sharkaushchyna Ufa Bobrov Myshkin Sayanogorsk Zelenogorsk Zubtsov Mirny Pushkino La Rioja Novosil Uray Navapolatsk Yarovoye Jaén Buy Nelson Taldom Yalutorovsk Bolshoy Kamen Zavodoukovsk Barabinsk Yakutsk Lida Pestovo Grozny Svobodny Anadyr Korotoyak Asbest Zarechny Galich Novokubansk Nefteyugansk Novouralsk Kartaly Prokopyevsk Pyt-Yakh Minsk Losino-Petrovsky Megion Kyshtym Yegoryevsk Kuybyshev Kushva Magas Krasnobrodsky Antwerp Krasnoznamensk Aranjuez Koryazhma Krasnozavodsk Shchyolkovo Karabash Sint-Niklaas Achinsk Totma Lepiel Ottawa Nerekhta Teykovo Zhabinka Mikhaylovsk Shumikha Kronstadt Izhevsk Belinsky Vichuga Astrakhan African Union Barnaul Novocherkassk Dzerzhinsky Langepas Vernon Chaplygin Volodarsk Otradnoye Vilyuysk Melilla Alexandrov Norilsk Aksay Białystok Serov Pereslavl-Zalessky Pontevedra Karabanovo Kommunar Belgorod Horki Arab League Baarn Kiselyovsk Abinsk Novorossiysk Bogotol Armavir Apsheronsk Bezhetsk Bolokhovo Fryazino Frolovo Minusinsk Klimovsk Volokolamsk Granada Izobilny Sorsk Kamyshin Strunino Gubkinsky Zhukovsky Maloyaroslavets Naryan-Mar Sterlitamak Gorodishche Polevskoy Raduzhny Poltava Kirovo-Chepetsk Petrozavodsk Labinsk Blagoveshchensk Kurganinsk Vladimir Troitsk Podolsk Belousovo Plast Zherdevka Klin Almere Georgiyevsk Naberezhnye Chelny Kharkiv Karasuk Kungur Ertil Shakhty Santa Cruz de Tenerife Yubileyny Seattle Khabarovsk Den Helder Kachkanar Sovetsk Irbit Korolyov Pokachi Aleksin Kasimov Kozelsk Lebedyan Konakovo Svetlograd Rostock Lima Mozdok Krasny Sulin Kandalaksha Tara Milan Indianapolis Novodvinsk Yekaterinburg Kuznetsk Scarborough Sevastopol Lieshout Novokuybyshevsk Krasnoarmeysk Kolpino Verkhnyaya Tura Lyubertsy Skidzyel’ Druya Krasnoufimsk Okhansk Cherepovets Sestroretsk Zelenogorsk Kovrov Krasnokamensk Nebug Navahrudak Yemanzhelinsk Nalchik Salsk Moskovsky Berezniki Verkhny Ufaley Verkhnyaya Pyshma Kosteryovo Dubna Málaga Ipatovo Nizhny Lomov Nytva Kotelnich Naro-Fominsk Chapayevsk Shadrinsk Tilburg Murom Liski Dobryanka Seltso Valencia Nyazepetrovsk Domodedovo Denver Houston Dallas Miass Novy Port Ust-Katav Appingedam Tbilisi Rostov Zavolzhsk Gryazi Aalsmeer Primorsko-Akhtarsk Kurtamysh Tikhoretsk Chicago Kholmsk Yuzhno-Sakhalinsk Iwye Lisbon Kashira Rostov-on-Don Mercosur Shchuchye Kazan Chekhov Plyos Magadan Kinel Zhigulyovsk Vyshny Volochyok Yeniseysk Neftekumsk Kansk Spas-Demensk Magnitogorsk Artyomovsky Lesnoy Sergiyev Posad Neftekamsk Rossosh Kubinka Chita Bakal Simferopol Nashville Sint-Oedenrode Orenburg Saratov Partizansk Novomoskovsk Ostashkov Poretskoye Korkino Stupino Pallasovka Guadalajara Novokuznetsk Dzyatlava Mtsensk Polotsk Torzhok Vysotsk Yevpatoria Bonaire Palos de la Frontera Yaroslavl Mikhaylovsky, Saratov Oblast Santoña Elektrougli Mariinsky Posad Nizhnyaya Salda Komsomolsk-on-Amur Kotovo Brest Lobnya Veliky Ustyug Ozyory Morshansk Kharabali Pskov Sosnogorsk St. Louis Vilyuchinsk Voskresensk Surgut Semiluki Warsaw Kumertau Vologda Ceuta Korenovsk Srednekolymsk Voranava Nakhodka Lakinsk Mozhaysk Gelendzhik Belorechensk Getafe Novaya Lyalya Belaya Kholunitsa Borovichi Kotelniki Novocheboksarsk Rasskazovo Borovsk Mezhgorye Vytegra Baranovichi Eibergen Chernogolovka Golitsyno Donskoy Gorokhovets Lytkarino City of London Rtishchevo Gavrilov Posad Tryokhgorny Vyatskiye Polyany Guryevsk Balashov Revda Sarapul Ostrogozhsk Usolye Usolye-Sibirskoye Krychaw Rzhev Nerchinsk Vitoria-Gasteiz Krasnogorsk Errenteria Zaraysk Castelló de la Plana Bussum Albacete Barcelona Shalya Vladivostok Dedovsk Pervouralsk Ob Arsenyev Yaropolets Nizhnevartovsk Tallinn Ust-Ilimsk Kirov Vyazma Manaus Podporozhye Vereya Tula Cheremkhovo Cheboksary Chebarkul Slavyansk-na-Kubani Kudymkar Ozyorsk Uyar Meppel Osa Verkhoturye Mogilyov Orekhovo-Zuyevo Krasnokamsk Svislach Obninsk Tuapse Donetsk Reutov Ivanava Znamensk Kirzhach Elektrogorsk Bryansk Zhavoronki Drahichyn Elektrostal Kirovgrad Ashmyany Dubovka Sukhoy Log Novy Urengoy Sint-Truiden Surovikino Kimry Alapayevsk Kaliningrad Montreal Bologoye Pamplona Ivatsevichy Nizhny Tagil Sayansk Labytnangi Guernsey Ostrava Otradny Kamensk-Uralsky Ulyanovsk Ust-Kut Yelnya Zelenogradsk Alakurtti Minyar Almería Vancouver Mytishchi Nelidovo Ivanteyevka Kamensk-Shakhtinsky Zadonsk Kutaisi Krasnoyarsk Irkutsk Sovetskaya Gavan Jerusalem Perm Volgograd Balashikha Babruysk Kupino Polyarny Petropavlovsk-Kamchatsky Volchansk Ulan-Ude Yermolino Donetsk Mednogorsk Solikamsk Aprelevka Taganrog Sol-Iletsk Solnechnogorsk Salekhard Beloretsk Ivanovo Grodno Narovtšat Naples Skopin Lyachchyzy Valladolid Navoloki Pruzhany Hlybokaye Saransk Kurlovo (town), Vladimir Oblast Biaroza Zheleznodorozhny Puerto Rico Tyukalinsk Birsk Huesca Ozherelye Vsevolozhsk Arzamas Kostroma Ruza New Orleans Seville Volkhov Nakhodka, Yamalo-Nenets Autonomous Okrug Volgorechensk Nizhnyaya Tura Yuzhnouralsk Iskitim Krasnoslobodsk Yurga Berlin Los Angeles Shuya Washington, D.C. San Francisco Agidel Kotovsk Peresvet Vyborg Alatyr Kropotkin Svirsk Serpukhov Skopje Udachny Krymsk Tyumen Detroit Hengelo Prague Votkinsk Horlivka Pavlovsk Michurinsk Beryozovsky Shebekino Istra Dudinka Zernograd Pushchino Sharypovo Lethbridge Borodino Novokhopyorsk Ishimbay Ivdel Lelystad Staraya Russa Aramil Astravyets Portland Glazov Krasnodar Pinsk Tampa Belebey Goryachy Klyuch Spassk Novozybkov Roshal Gus-Khrustalny Trondheim Gagarin Dalnerechensk Moscow Lyudinovo Susuman Severomorsk Syanno Isilkul Madison Mirny Vorkuta Yakhroma Lyskovo Klichaw Talitsa Manturovo Kastsyukovichy Yugorsk Berdsk Vysokovsk Sovetsky Curitiba Sochi Salavat Katowice Kerch Nikolsk Zverevo Łódź Ardatov (town), Republic of Mordovia Zapolyarny Tatarsk Zheleznogorsk Neya Kirishi Kamyshlov Braslaw Khimki Uglich Zelenokumsk Orsk Uchaly Yoshkar-Ola Chelyabinsk Snezhnogorsk Sobinka Snezhinsk Kopeysk Borisoglebsk Yelets Tikhvin Klintsy Easter Island Lyantor Shlisselburg Ochyor Boston Kogalym Igarka European Union Angarsk Dedinovo Sint Eustatius Timashyovsk Pikalyovo Volosovo Gavrilov-Yam Mikhaylovka Turinsk Tambov Kaluga Kremyonki, Kaluga Oblast Voronezh Hamilton Verkhnyaya Salda Chernogorsk Kameshkovo Ishim Polysayevo Novovoronezh Zlatoust Tobolsk Dorogobuzh Veliky Novgorod Kemerovo Kokhma Orihuela Sysert Azov Tavda Chyormoz Baran Syktyvkar Vilnius Buzuluk Desnogorsk Azores Leninsk-Kuznetsky Richmond Volzhsky Belokurikha Bataysk Bolotnoye Sasovo Tomsk Yeysk Shchuchyn Valday Oryol Kamenka Lipetsk Uzhur Novotroitsk Khotkovo Tsivilsk Machala Bogoroditsk Belogorsk Ryazan Volgodonsk Argun Zaozyorsk Protvino Degtyarsk Chernushka Podgorica Raychikhinsk Cherdyn Balabanovo Seversk Severouralsk Sharya Khanty-Mansiysk Johannesburg Rybinsk Abakan Shakhtyorsk Shatura
Prague, European Union and Moscow have flag named approximately the same number of flags as that administrative territory
Prague European Union Moscow
[{'concept': 'administrative territorial entity'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?z WHERE { ?z property:flag ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q41621
P840
Q56061 Q2342494 Q838948
USER
How many administrative territories are more number of collectables and works of art set in than Haifa ?
(c(Q2342494)|c(Q838948),P840,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q41621
relation P840
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?s WHERE { VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?o rdf:type ?k } GROUP BY ?s } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P840 resource:Q41621 . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } }
Haifa
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Haifa
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?s WHERE { VALUES ( ?k ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?o rdf:type ?k } GROUP BY ?s } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:narrative_location resource:Haifa . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } }
[]
administrative territorial entity collectable work of art
SYSTEM
120
Q1183 Q3711 Q1874 Q331990 Q25287 Q18808 Q4093 Q16563 Q8692 Q1425428 Q1754 Q90 Q101625 Q48320 Q215646 Q597 Q365 Q33935 Q54140 Q16555 Q1335 Q1891 Q39121 Q186237 Q5083 Q23154 Q1489 Q83387 Q406 Q8673 Q8678 Q495 Q36036 Q208287 Q192517 Q23436 Q3141 Q3630 Q17151 Q237 Q16559 Q16554 Q16557 Q8686 Q3130 Q1297 Q1563 Q131491 Q1741 Q1748 Q26881 Q84 Q85 Q42462 Q37320 Q45301 Q34863 Q72 Q71 Q16869 Q38022 Q172 Q270 Q2028 Q184587 Q837165 Q1861 Q5092 Q956 Q1490 Q1492 Q134672 Q18419 Q1780 Q1781 Q2807 Q3820 Q1353 Q1352 Q1524 Q220 Q340 Q1218 Q2634 Q26 Q1726 Q34404 Q8717 Q64 Q65 Q60 Q61 Q62 Q1757 Q18125 Q1867 Q12439 Q126148 Q23556 Q13362 Q42810 Q49255 Q3640 Q641 Q727 Q649 Q852778 Q1449 Q1764 Q34932 Q100 Q374748 Q10686 Q350 Q3110 Q24826 Q1348 Q1156 Q42448 Q1085
(c(Q2342494)|c(Q838948),P840,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q41621
relation P840
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?s WHERE { VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?o rdf:type ?k } GROUP BY ?s } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P840 resource:Q41621 . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } }
Puerto Rico Belgrade Odessa Korean Demilitarized Zone Gothenburg Pyongyang Glasgow Memphis Bilbao Newcastle upon Tyne Stockholm Paris Marrakesh Kōbe Edo Lisbon Cologne Tel Aviv Salem Houston Montevideo Bologna Leeds Joensuu Seattle Bristol Mexico City Diyarbakır Istanbul Lagos Rio de Janeiro Turin Lviv Kauniainen Boulder Edinburgh Melbourne Jakarta Thessaloniki Vatican City Austin Denver Dallas Shanghai Sydney Chicago Havana Brighton Vienna Copenhagen Helsingør London Cairo York Cleveland Trabzon Oklahoma City Zürich Geneva Constantinople St. Louis Toronto Warsaw Verona Grand Rapids Hyrylä Bangkok Baltimore Beijing Tokyo Barcelona Exeter Brooklyn Bratislava Budapest Madrid Beirut Delhi Chennai Athens Rome Montreal Jerusalem Naples Northern Ireland Munich New Orleans Seville Berlin Los Angeles New York City Washington, D.C. San Francisco Helsinki Manchester Taipei Detroit Tangier Atlanta Ferrara Le Havre Tampa Ankara Venice Amsterdam Moscow Whitby Genoa Reykjavík Brisbane Boston Jenin Belfast Cambridge San Salvador Liverpool Kolkata Mumbai Sheffield Prague
120
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Haifa
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?s WHERE { VALUES ( ?k ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?o rdf:type ?k } GROUP BY ?s } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:narrative_location resource:Haifa . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2211
P840
Q56061 Q2342494 Q838948
USER
And how about Malmö?
(c(Q2342494)|c(Q838948),P840,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2211
relation P840
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?g WHERE { { ?v property:P840 ?g . ?v rdf:type ontology:Q838948 . ?g rdf:type ontology:Q56061 } UNION { ?v property:P840 ?g . ?v rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q56061 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P840 resource:Q2211 . { { ?n rdf:type ontology:Q2342494 } UNION { ?n rdf:type ontology:Q838948 } } } } . FILTER ( ?u > ?l ) }
Malmö
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Malmö
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?g WHERE { { ?v property:narrative_location ?g . ?v rdf:type ontology:work_of_art . ?g rdf:type ontology:administrative_territorial_entity } UNION { ?v property:narrative_location ?g . ?v rdf:type ontology:collectable . ?g rdf:type ontology:administrative_territorial_entity } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:narrative_location resource:Malmö . { { ?n rdf:type ontology:collectable } UNION { ?n rdf:type ontology:work_of_art } } } } . FILTER ( ?u > ?l ) }
[]
administrative territorial entity collectable work of art
SYSTEM
120
Q1183 Q3711 Q1874 Q331990 Q25287 Q18808 Q4093 Q16563 Q8692 Q1425428 Q1754 Q90 Q101625 Q48320 Q215646 Q597 Q365 Q33935 Q54140 Q16555 Q1335 Q1891 Q39121 Q186237 Q5083 Q23154 Q1489 Q83387 Q406 Q8673 Q8678 Q495 Q36036 Q208287 Q192517 Q23436 Q3141 Q3630 Q17151 Q237 Q16559 Q16554 Q16557 Q8686 Q3130 Q1297 Q1563 Q131491 Q1741 Q1748 Q26881 Q84 Q85 Q42462 Q37320 Q45301 Q34863 Q72 Q71 Q16869 Q38022 Q172 Q270 Q2028 Q184587 Q837165 Q1861 Q5092 Q956 Q1490 Q1492 Q134672 Q18419 Q1780 Q1781 Q2807 Q3820 Q1353 Q1352 Q1524 Q220 Q340 Q1218 Q2634 Q26 Q1726 Q34404 Q8717 Q64 Q65 Q60 Q61 Q62 Q1757 Q18125 Q1867 Q12439 Q126148 Q23556 Q13362 Q42810 Q49255 Q3640 Q641 Q727 Q649 Q852778 Q1449 Q1764 Q34932 Q100 Q374748 Q10686 Q350 Q3110 Q24826 Q1348 Q1156 Q42448 Q1085
(c(Q2342494)|c(Q838948),P840,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2211
relation P840
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?g WHERE { { ?v property:P840 ?g . ?v rdf:type ontology:Q838948 . ?g rdf:type ontology:Q56061 } UNION { ?v property:P840 ?g . ?v rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q56061 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P840 resource:Q2211 . { { ?n rdf:type ontology:Q2342494 } UNION { ?n rdf:type ontology:Q838948 } } } } . FILTER ( ?u > ?l ) }
Puerto Rico Belgrade Odessa Korean Demilitarized Zone Gothenburg Pyongyang Glasgow Memphis Bilbao Newcastle upon Tyne Stockholm Paris Marrakesh Kōbe Edo Lisbon Cologne Tel Aviv Salem Houston Montevideo Bologna Leeds Joensuu Seattle Bristol Mexico City Diyarbakır Istanbul Lagos Rio de Janeiro Turin Lviv Kauniainen Boulder Edinburgh Melbourne Jakarta Thessaloniki Vatican City Austin Denver Dallas Shanghai Sydney Chicago Havana Brighton Vienna Copenhagen Helsingør London Cairo York Cleveland Trabzon Oklahoma City Zürich Geneva Constantinople St. Louis Toronto Warsaw Verona Grand Rapids Hyrylä Bangkok Baltimore Beijing Tokyo Barcelona Exeter Brooklyn Bratislava Budapest Madrid Beirut Delhi Chennai Athens Rome Montreal Jerusalem Naples Northern Ireland Munich New Orleans Seville Berlin Los Angeles New York City Washington, D.C. San Francisco Helsinki Manchester Taipei Detroit Tangier Atlanta Ferrara Le Havre Tampa Ankara Venice Amsterdam Moscow Whitby Genoa Reykjavík Brisbane Boston Jenin Belfast Cambridge San Salvador Liverpool Kolkata Mumbai Sheffield Prague
120
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Malmö
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?g WHERE { { ?v property:narrative_location ?g . ?v rdf:type ontology:work_of_art . ?g rdf:type ontology:administrative_territorial_entity } UNION { ?v property:narrative_location ?g . ?v rdf:type ontology:collectable . ?g rdf:type ontology:administrative_territorial_entity } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:narrative_location resource:Malmö . { { ?n rdf:type ontology:collectable } UNION { ?n rdf:type ontology:work_of_art } } } } . FILTER ( ?u > ?l ) }
[]