Simple Question (Direct)
Simple Question
Q1729565
P937
Q515
USER
What are the work locations of Karin Stempel ?
(Q1729565,P937,c(Q515))
action filter_type
action find
entity Q1729565
relation P937
type Q515
['Q1729565', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q1729565 property:P937 ?x . ?x rdf:type ontology:Q515 }
Karin Stempel
action filter_type
action find
entity Karin Stempel
relation work location
type city
['Karin Stempel', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Karin_Stempel property:work_location ?x . ?x rdf:type ontology:city }
[]
city
Q2966 Q1794
SYSTEM
Heidelberg, Frankfurt
Q2966 Q1794
(Q1729565,P937,c(Q515))
action filter_type
action find
entity Q1729565
relation P937
type Q515
The work locations of Karin Stempel are in [ANSWERS]
['Q1729565', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q1729565 property:P937 ?x . ?x rdf:type ontology:Q515 }
Heidelberg Frankfurt
The work locations of Karin Stempel are in Heidelberg and Frankfurt
Heidelberg Frankfurt
action filter_type
action find
entity Karin Stempel
relation work location
type city
['Karin Stempel', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Karin_Stempel property:work_location ?x . ?x rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1729565
P512
Q3412758
USER
What degree or diploma was awarded to Karin Stempel ?
(Q1729565,P512,c(Q3412758))
action filter_type
action find
entity Q1729565
relation P512
type Q3412758
['Q1729565', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?o WHERE { resource:Q1729565 property:P512 ?o . ?o rdf:type ontology:Q3412758 }
Karin Stempel
action filter_type
action find
entity Karin Stempel
relation academic degree
type qualification
['Karin Stempel', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?o WHERE { resource:Karin_Stempel property:academic_degree ?o . ?o rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1729565,P512,c(Q3412758))
action filter_type
action find
entity Q1729565
relation P512
type Q3412758
The [ANSWER] was awarded to Karin Stempel
['Q1729565', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?o WHERE { resource:Q1729565 property:P512 ?o . ?o rdf:type ontology:Q3412758 }
doctoral degree
The doctoral degree was awarded to Karin Stempel
doctoral degree
action filter_type
action find
entity Karin Stempel
relation academic degree
type qualification
['Karin Stempel', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?o WHERE { resource:Karin_Stempel property:academic_degree ?o . ?o rdf:type ontology:qualification }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1794 Q6978644
P127
Q483110
USER
How many stadia are owned by Frankfurt or National Sports Centre ?
(c(Q483110),P127,Q1794) (c(Q483110),P127,Q6978644)
action count
action union
action filter_type
action find_reverse
entity Q1794
relation P127
type Q483110
action filter_type
action find_reverse
entity Q6978644
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q1794'] [{'concept': 'Q483110'}, 'P127', 'Q6978644']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?f ) { ( resource:Q6978644 ) ( resource:Q1794 ) } . ?z property:P127 ?f }
Frankfurt National Sports Centre
action count
action union
action filter_type
action find_reverse
entity Frankfurt
relation owned by
type stadium
action filter_type
action find_reverse
entity National Sports Centre
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Frankfurt'] [{'concept': 'stadium'}, 'owned by', 'National Sports Centre']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?f ) { ( resource:National_Sports_Centre ) ( resource:Frankfurt ) } . ?z property:owned_by ?f }
[]
stadium
SYSTEM
2
Q2409984 Q319774
(c(Q483110),P127,Q1794) (c(Q483110),P127,Q6978644)
action count
action union
action filter_type
action find_reverse
entity Q1794
relation P127
type Q483110
action filter_type
action find_reverse
entity Q6978644
relation P127
type Q483110
[ANSWER]
[{'concept': 'Q483110'}, 'P127', 'Q1794'] [{'concept': 'Q483110'}, 'P127', 'Q6978644']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?f ) { ( resource:Q6978644 ) ( resource:Q1794 ) } . ?z property:P127 ?f }
The Bowl Frankfurter Volksbank Stadion
2
action count
action union
action filter_type
action find_reverse
entity Frankfurt
relation owned by
type stadium
action filter_type
action find_reverse
entity National Sports Centre
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Frankfurt'] [{'concept': 'stadium'}, 'owned by', 'National Sports Centre']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?f ) { ( resource:National_Sports_Centre ) ( resource:Frankfurt ) } . ?z property:owned_by ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1794
P190
Q56061
USER
Which administrative territories are twin towns of that city ?
action filter_type
action find
entity Q1794
relation P190
type Q56061
SELECT DISTINCT ?w WHERE { resource:Q1794 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Frankfurt
action filter_type
action find
entity Frankfurt
relation sister city
type administrative territorial entity
SELECT DISTINCT ?w WHERE { resource:Frankfurt property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085 Q490 Q1781
SYSTEM
Prague, Milan, Budapest
Q172 Q1352 Q33935 Q612 Q490 Q1781 Q85 Q205648 Q1085
action filter_type
action find
entity Q1794
relation P190
type Q56061
[ANSWERS] are twin towns of that city
SELECT DISTINCT ?w WHERE { resource:Q1794 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Toronto Chennai Tel Aviv Dubai Milan Budapest Cairo Granada Prague
Prague, Milan and Budapest are twin towns of that city
Prague Milan Budapest
action filter_type
action find
entity Frankfurt
relation sister city
type administrative territorial entity
SELECT DISTINCT ?w WHERE { resource:Frankfurt property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q56061 Q515
USER
How many administrative territories and cities are bordered by that administrative territory ?
(c(Q56061),P47,Q1085) (c(Q515),P47,Q1085) (c(Q56061),P47,Q1085) (c(Q515),P47,Q1085) (c(Q56061),P47,Q490) (c(Q515),P47,Q490) (c(Q56061),P47,Q1781) (c(Q515),P47,Q1781)
[{'concept': 'Q56061'}, 'P47', 'Q1085'] [{'concept': 'Q515'}, 'P47', 'Q1085'] [{'concept': 'Q56061'}, 'P47', 'Q1085'] [{'concept': 'Q515'}, 'P47', 'Q1085'] [{'concept': 'Q56061'}, 'P47', 'Q490'] [{'concept': 'Q515'}, 'P47', 'Q490'] [{'concept': 'Q56061'}, 'P47', 'Q1781'] [{'concept': 'Q515'}, 'P47', 'Q1781']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q2084234 } UNION { ?y property:P47 resource:Q2084234 } UNION { ?z property:P47 resource:Q2084234 } UNION { ?y property:P47 resource:Q2084234 } UNION { ?z property:P47 resource:Q5851811 } UNION { ?y property:P47 resource:Q5851811 } UNION { ?z property:P47 resource:Q603551 } UNION { ?y property:P47 resource:Q603551 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7930989 }
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Prague'] [{'concept': 'city'}, 'shares border with', 'Prague'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Prague'] [{'concept': 'city'}, 'shares border with', 'Prague'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Milan'] [{'concept': 'city'}, 'shares border with', 'Milan'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Budapest'] [{'concept': 'city'}, 'shares border with', 'Budapest']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Prague } UNION { ?y property:shares_border_with resource:Prague } UNION { ?z property:shares_border_with resource:Prague } UNION { ?y property:shares_border_with resource:Prague } UNION { ?z property:shares_border_with resource:Milan } UNION { ?y property:shares_border_with resource:Milan } UNION { ?z property:shares_border_with resource:Budapest } UNION { ?y property:shares_border_with resource:Budapest } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:city }
[]
administrative territorial entity city
Quantitative|Count|Mult. entity type|Clarification
Q1781
SYSTEM
Did you mean Budapest ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q2084234 } UNION { ?y property:P47 resource:Q2084234 } UNION { ?z property:P47 resource:Q2084234 } UNION { ?y property:P47 resource:Q2084234 } UNION { ?z property:P47 resource:Q5851811 } UNION { ?y property:P47 resource:Q5851811 } UNION { ?z property:P47 resource:Q603551 } UNION { ?y property:P47 resource:Q603551 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7930989 }
Did you mean Budapest ?
Budapest
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Prague } UNION { ?y property:shares_border_with resource:Prague } UNION { ?z property:shares_border_with resource:Prague } UNION { ?y property:shares_border_with resource:Prague } UNION { ?z property:shares_border_with resource:Milan } UNION { ?y property:shares_border_with resource:Milan } UNION { ?z property:shares_border_with resource:Budapest } UNION { ?y property:shares_border_with resource:Budapest } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Prague. Could you tell me the answer for that?
(c(Q56061),P47,Q1085) (c(Q515),P47,Q1085) (c(Q56061),P47,Q1085) (c(Q515),P47,Q1085) (c(Q56061),P47,Q490) (c(Q515),P47,Q490) (c(Q56061),P47,Q1781) (c(Q515),P47,Q1781)
Q1085
[{'concept': 'Q56061'}, 'P47', 'Q1085'] [{'concept': 'Q515'}, 'P47', 'Q1085'] [{'concept': 'Q56061'}, 'P47', 'Q1085'] [{'concept': 'Q515'}, 'P47', 'Q1085'] [{'concept': 'Q56061'}, 'P47', 'Q490'] [{'concept': 'Q515'}, 'P47', 'Q490'] [{'concept': 'Q56061'}, 'P47', 'Q1781'] [{'concept': 'Q515'}, 'P47', 'Q1781']
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Prague'] [{'concept': 'city'}, 'shares border with', 'Prague'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Prague'] [{'concept': 'city'}, 'shares border with', 'Prague'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Milan'] [{'concept': 'city'}, 'shares border with', 'Milan'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Budapest'] [{'concept': 'city'}, 'shares border with', 'Budapest']
[]
SYSTEM
1 administrative territories and 5 cities
Q330653 Q1756968 Q386988 Q339112 Q1630623 Q1780
(c(Q56061),P47,Q1085) (c(Q515),P47,Q1085) (c(Q56061),P47,Q1085) (c(Q515),P47,Q1085) (c(Q56061),P47,Q490) (c(Q515),P47,Q490) (c(Q56061),P47,Q1781) (c(Q515),P47,Q1781)
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q1085'] [{'concept': 'Q515'}, 'P47', 'Q1085'] [{'concept': 'Q56061'}, 'P47', 'Q1085'] [{'concept': 'Q515'}, 'P47', 'Q1085'] [{'concept': 'Q56061'}, 'P47', 'Q490'] [{'concept': 'Q515'}, 'P47', 'Q490'] [{'concept': 'Q56061'}, 'P47', 'Q1781'] [{'concept': 'Q515'}, 'P47', 'Q1781']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q2084234 } UNION { ?y property:P47 resource:Q2084234 } UNION { ?z property:P47 resource:Q2084234 } UNION { ?y property:P47 resource:Q2084234 } UNION { ?z property:P47 resource:Q5851811 } UNION { ?y property:P47 resource:Q5851811 } UNION { ?z property:P47 resource:Q603551 } UNION { ?y property:P47 resource:Q603551 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7930989 }
Úvaly Roztoky Říčany Černošice Hostivice Bratislava
1 administrative territories and 5 cities
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Prague'] [{'concept': 'city'}, 'shares border with', 'Prague'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Prague'] [{'concept': 'city'}, 'shares border with', 'Prague'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Milan'] [{'concept': 'city'}, 'shares border with', 'Milan'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Budapest'] [{'concept': 'city'}, 'shares border with', 'Budapest']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Prague } UNION { ?y property:shares_border_with resource:Prague } UNION { ?z property:shares_border_with resource:Prague } UNION { ?y property:shares_border_with resource:Prague } UNION { ?z property:shares_border_with resource:Milan } UNION { ?y property:shares_border_with resource:Milan } UNION { ?z property:shares_border_with resource:Budapest } UNION { ?y property:shares_border_with resource:Budapest } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1794
P36
Q7275
USER
Which states have Frankfurt as their administrative centre ?
(c(Q7275),P36,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q1794']
SELECT DISTINCT ?m WHERE { ?m property:P36 resource:Q1794 . ?m rdf:type ontology:Q7275 }
Frankfurt
action filter_type
action find_reverse
entity Frankfurt
relation capital
type state
[{'concept': 'state'}, 'capital', 'Frankfurt']
SELECT DISTINCT ?m WHERE { ?m property:capital resource:Frankfurt . ?m rdf:type ontology:state }
[]
state
Q153080 Q18285930
SYSTEM
East Francia, German Empire of 1848/1849
Q153080 Q18285930
(c(Q7275),P36,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P36
type Q7275
[ANSWERS] have Frankfurt as their administrative centre
[{'concept': 'Q7275'}, 'P36', 'Q1794']
SELECT DISTINCT ?m WHERE { ?m property:P36 resource:Q1794 . ?m rdf:type ontology:Q7275 }
East Francia German Empire of 1848/1849
East Francia and German Empire of 1848/1849 have Frankfurt as their administrative centre
East Francia German Empire of 1848/1849
action filter_type
action find_reverse
entity Frankfurt
relation capital
type state
[{'concept': 'state'}, 'capital', 'Frankfurt']
SELECT DISTINCT ?m WHERE { ?m property:capital resource:Frankfurt . ?m rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q153080 Q18285930
P1376
Q515
USER
Which cities are the county seat of East Francia and German Empire of 1848/1849 ?
(c(Q515),P1376,Q153080) (c(Q515),P1376,Q18285930)
action union
action filter_type
action find_reverse
entity Q153080
relation P1376
type Q515
action filter_type
action find_reverse
entity Q18285930
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q153080'] [{'concept': 'Q515'}, 'P1376', 'Q18285930']
SELECT DISTINCT ?p WHERE { { ?p property:P1376 resource:Q18285930 . ?p rdf:type ontology:Q515 } UNION { ?p property:P1376 resource:Q153080 . ?p rdf:type ontology:Q515 } }
East Francia German Empire of 1848/1849
action union
action filter_type
action find_reverse
entity East Francia
relation capital of
type city
action filter_type
action find_reverse
entity German Empire of 1848/1849
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'East Francia'] [{'concept': 'city'}, 'capital of', 'German Empire of 1848/1849']
SELECT DISTINCT ?p WHERE { { ?p property:capital_of resource:German_Empire_of_1848/1849 . ?p rdf:type ontology:city } UNION { ?p property:capital_of resource:East_Francia . ?p rdf:type ontology:city } }
[]
city
Q1794
SYSTEM
Frankfurt
Q1794
(c(Q515),P1376,Q153080) (c(Q515),P1376,Q18285930)
action union
action filter_type
action find_reverse
entity Q153080
relation P1376
type Q515
action filter_type
action find_reverse
entity Q18285930
relation P1376
type Q515
[ANSWER] is the county seat of East Francia and German Empire of 1848/1849
[{'concept': 'Q515'}, 'P1376', 'Q153080'] [{'concept': 'Q515'}, 'P1376', 'Q18285930']
SELECT DISTINCT ?p WHERE { { ?p property:P1376 resource:Q18285930 . ?p rdf:type ontology:Q515 } UNION { ?p property:P1376 resource:Q153080 . ?p rdf:type ontology:Q515 } }
Frankfurt
Frankfurt is the county seat of East Francia and German Empire of 1848/1849
Frankfurt
action union
action filter_type
action find_reverse
entity East Francia
relation capital of
type city
action filter_type
action find_reverse
entity German Empire of 1848/1849
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'East Francia'] [{'concept': 'city'}, 'capital of', 'German Empire of 1848/1849']
SELECT DISTINCT ?p WHERE { { ?p property:capital_of resource:German_Empire_of_1848/1849 . ?p rdf:type ontology:city } UNION { ?p property:capital_of resource:East_Francia . ?p rdf:type ontology:city } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q153080
P35
Q502895
USER
Which people have the highest formal authority in East Francia ?
(Q1794,P35,c(Q502895))
action filter_type
action find
entity Q153080
relation P35
type Q502895
['Q1794', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q153080 property:P35 ?b . ?b rdf:type ontology:Q502895 }
East Francia
action filter_type
action find
entity East Francia
relation head of state
type common name
['Frankfurt', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:East_Francia property:head_of_state ?b . ?b rdf:type ontology:common_name }
[]
common name
Q152463 Q150712 Q43915
SYSTEM
Louis the German, Charles the Fat, Otto I the Great
Q43915 Q150620 Q150712 Q152463 Q157099 Q154936 Q157121
(Q1794,P35,c(Q502895))
action filter_type
action find
entity Q153080
relation P35
type Q502895
[ANSWERS] have the highest formal authority in East Francia
['Q1794', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q153080 property:P35 ?b . ?b rdf:type ontology:Q502895 }
Otto I the Great Henry I the Fowler Charles the Fat Louis the German Louis the Child Arnulf of Carinthia Conrad I of Germany
Louis the German, Charles the Fat and Otto I the Great have the highest formal authority in East Francia
Louis the German Charles the Fat Otto I the Great
action filter_type
action find
entity East Francia
relation head of state
type common name
['Frankfurt', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:East_Francia property:head_of_state ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q502895 Q15619164 Q56061
USER
Which administrative territories have min number of people or abstract beings as their namesake ?
(c(Q56061),P138,c(Q502895)|c(Q15619164))
action argmin
action union
action find_tuple_counts
relation P138
type Q56061
type Q502895
action find_tuple_counts
relation P138
type Q56061
type Q15619164
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?g ) WHERE { VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q15619164 ) } . ?q rdf:type ?z } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:Q502895 ) ( ontology:Q15619164 ) } } GROUP BY ?d } . FILTER ( ?j = ?n ) }
action argmin
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type common name
action find_tuple_counts
relation named after
type administrative territorial entity
type abstract being
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'common name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?g ) WHERE { VALUES ( ?z ) { ( ontology:common_name ) ( ontology:abstract_being ) } . ?q rdf:type ?z } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:common_name ) ( ontology:abstract_being ) } } GROUP BY ?d } . FILTER ( ?j = ?n ) }
[]
common name abstract being administrative territorial entity
Q458 Q649 Q216
SYSTEM
European Union, Moscow, Vilnius
Q923811 Q630597 Q2965897 Q585426 Q755425 Q1718 Q3028710 Q190583 Q639408 Q2675898 Q23927055 Q786124 Q4849268 Q2058 Q2284698 Q1465092 Q18682600 Q34116 Q83178 Q2786054 Q583161 Q1784180 Q3805 Q3240441 Q732554 Q2247076 Q1276943 Q2451306 Q1309 Q2605640 Q2560090 Q28539 Q323432 Q10690 Q959016 Q13648690 Q383434 Q208318 Q172575 Q167895 Q131335 Q3025889 Q2327293 Q1924796 Q1685683 Q172616 Q79439 Q90 Q2442973 Q470638 Q12725121 Q970482 Q1963236 Q2267197 Q6883436 Q160544 Q2550212 Q2441471 Q13122 Q1930 Q1010188 Q18682030 Q1212270 Q7974195 Q5433196 Q3030491 Q1020419 Q2310264 Q1000232 Q58337 Q365 Q2135060 Q676589 Q2231797 Q116732 Q206954 Q1871309 Q2396415 Q516581 Q1670366 Q2096672 Q393693 Q11899935 Q2459510 Q1027521 Q11870465 Q852658 Q751594 Q3112096 Q2305259 Q1524 Q128361 Q2549931 Q128244 Q1904685 Q154785 Q2995979 Q43463 Q2281401 Q18659914 Q2231869 Q3239732 Q2024923 Q2020113 Q906740 Q55669 Q1907325 Q852577 Q3028745 Q746772 Q1620075 Q2899083 Q706032 Q11892363 Q431932 Q237 Q3566431 Q567814 Q614727 Q647 Q585186 Q1763534 Q2405593 Q932955 Q844091 Q7399833 Q2294628 Q2545984 Q615136 Q606268 Q129452 Q733744 Q491132 Q12980087 Q3053020 Q10686 Q11901984 Q7225587 Q11892146 Q2199088 Q1741 Q1735 Q2470571 Q1434796 Q297853 Q5330523 Q49111 Q618495 Q2792756 Q393619 Q1957 Q932623 Q485699 Q2198018 Q129461 Q746027 Q501744 Q16660730 Q2324280 Q3029834 Q858607 Q5032535 Q2266864 Q2224902 Q3183 Q2722227 Q2211711 Q336350 Q196922 Q22669030 Q31990 Q956 Q4412287 Q99988 Q3101185 Q578758 Q51685 Q2324628 Q50816 Q2270295 Q1021877 Q18419 Q2455984 Q7110478 Q2770 Q574612 Q2174173 Q1982848 Q983538 Q2375558 Q2865259 Q3117041 Q5355318 Q52998 Q983832 Q16658203 Q1974434 Q501824 Q2496779 Q530191 Q54886 Q2684131 Q2380665 Q3567118 Q3876 Q2523914 Q340 Q2240740 Q175651 Q4670000 Q2503080 Q2855406 Q20933314 Q6125153 Q1112057 Q979938 Q3043 Q2311761 Q1942643 Q315052 Q868869 Q2552887 Q463165 Q652552 Q13035375 Q2956038 Q188693 Q129449 Q196384 Q129447 Q743632 Q133123 Q471969 Q7438733 Q2272796 Q7122288 Q1005623 Q663035 Q223308 Q486860 Q2931074 Q1026291 Q15982072 Q2080102 Q2857905 Q2636902 Q194067 Q670083 Q2018240 Q2621007 Q1014288 Q2271236 Q2805272 Q2761467 Q2649977 Q982372 Q3025882 Q498968 Q1929731 Q11880386 Q2782963 Q2613390 Q3029792 Q2434021 Q1921069 Q3112125 Q641 Q727 Q2879005 Q276115 Q79844 Q427543 Q2500115 Q727806 Q4361 Q633371 Q617602 Q2662899 Q203263 Q2639307 Q104059 Q1380511 Q75008 Q34932 Q2650727 Q2623928 Q503652 Q3947651 Q6421147 Q201243 Q14452 Q100 Q458 Q3117008 Q3832 Q988751 Q470481 Q60705 Q649 Q1002490 Q642894 Q2928449 Q2269699 Q513464 Q216 Q2278195 Q3077234 Q1007823 Q661735 Q13972 Q208151 Q2081683 Q2688620 Q1943127 Q3028087 Q1858372 Q339527 Q2388710 Q478029 Q661559 Q15241524 Q103661 Q198210 Q2904899 Q11873198 Q1849651 Q11901400 Q2757895 Q2503821 Q1758944
(c(Q56061),P138,c(Q502895)|c(Q15619164))
action argmin
action union
action find_tuple_counts
relation P138
type Q56061
type Q502895
action find_tuple_counts
relation P138
type Q56061
type Q15619164
[ANSWERS] have min number of people or abstract beings as their namesake
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?g ) WHERE { VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q15619164 ) } . ?q rdf:type ?z } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:Q502895 ) ( ontology:Q15619164 ) } } GROUP BY ?d } . FILTER ( ?j = ?n ) }
New Amsterdam, Guyana Twijzelerheide Ermerveen Eesergroen Athens Düsseldorf Zuidlaarderveen Mikkeli Waterloo Beetsterzwaag Karuma Falls Kosovo Polje Bakers Narrows Whitehorse Munnekemoer New Bremen Saukkoriipi Thunder Bay Almere Valthermond Aranđelovac Doral Amman Canistota Chavín de Huantar Barger-Compascuum Eamont Bridge Onida Maastricht Gasselterboerveen Athol Karrharde Fairfield Cardiff Amsterdam Taradei Greater Sudbury Kaduna Neftegorsk Kalamata Sioux Falls Odoornerveen Kolderwolde Mora Jean Marie River Nefteyugansk Athens Paris Coal City Loyalist Sarmizegetusa Nacogdoches Nieuwe Krim Blauwestad Mitta Mitta Heraklion De Bombay Dieverbrug Dendermonde Ottawa Scheemda Kivijärvi Máriabesnyő Waterloo Groenlandsekade Nieuw-Dordrecht Madison Roderwolde Falcon Heights Banff Cologne Gas Szandaszőlős Nieuw-Roden Nakovo Kastoria Ironton Hornhuizen Baunatal Tangipahoa Spangen Agioi Anargyroi Vaalajärvi Pesse Ermelo Kauhajärvi Bishop Preseka, Gornji Mihaljevec Rotsterhaule Vegelinsoord Athens Odessa Haskerhorne Waco Naterij Komsomolsk Hull Fortaleza Nieuw-Buinen Kauhajärvi Fort Ripley Sulphur Pooley Bridge Clay City Diósgyőr-Vasgyár Ny-Ålesund Laaghalerveen Carlsbad Eelderwolde Hantumhuizen Hippos Sevenhill Melton Sanginjoki Truth or Consequences Vatican City Askio Iron Mountain Eexterveen Rennes Tweede Exloërmond Açailândia Drouwenermond Scharsterbrug Calabar Sai Ying Pun Oneida De Wilp Nederland Port Lincoln Snorum Filadelfia Santa Clarita Flaten Emmer-Compascuum Belfast Vuontisjärvi Pollards Point Salpausselkä Dalerpeel Vienna Innsbruck Pineia Tamworth Øresund Region Eastern Tickle Cambridge Aphrodisias Wijnjewoude Ayia Trias, Cyprus Vologda Dauphin Island Stadskanaal Batadorp Hej Havelterberg Alert Mindszent Eexterzandvoort Kollumerzwaag Strijen Cann River Rotstergaast Echtenerbrug Perth Creil Nitro Sokoto Usolye Máriaváros San Saba Beijing Bromma Kyrka Gulpen Uithuizermeeden Darien Tempe Geesbrug Mississauga Dalerveen Clarens, Free State Brooklyn Haulerwijk Oulu Tula New Braunfels Rhederbrug New Norfolk Green River Rutherglen Exloërveen Nigtevecht Electoral district of Daylesford Richmond Hill Yazoo City Ruzhino Yodfat Elim Gasselternijveenschemond Nea Ionia Cuenca De Punt Mission Weiteveen Lilongwe Bethlehem, Groningen Montreal IJsselmonde Obninsk Acharnes Amsterdamscheveld Bonnerveen Itascatown Jakhau Jumilla Frieschepalen Belmopan Iron City Aberfeldy Nahe Harlingen Peizerwold Sault Ste. Marie Dordrecht, Eastern Cape Luneburg, South Africa Change Islands Blantyre Snapp Solikamsk Snipp Nieuw-Amsterdam, Drenthe Patras Lille metropolis Scranton Damwâld Pacific Alliance New Berlin Lincoln New Amsterdam Mountain View Termunterzijl Kant Colonia Calafia Kraggenburg Anthedon Eagmaryp Serpukhov Sveti Duh na Ostrem Vrhu Beech Grove Kreva Nea Vyssa Kootstertille Ens Roderesch Peizermade Dalhart Poortugaal Espargos Ter Apelkanaal Maanselkä Nieuw-Balinge Tweede Valthermond Nij Altoenae Lheebroek Meppen Nij Beets Venice Amsterdam Bagdad Grise Fiord Stuttgart Stockholm metropolitan area Musselkanaal Kollumerpomp Curitiba Raseborg Palestine Surhuisterveen Athens Mastichochoria Asbest Gloversville Östra Torn Brisbane Gieterveen Bartlehiem Malvinas Argentinas San Martino della Battaglia Klisurski Monastery Slutsk Easter Island Boston European Union Oranjewoud Bangui Lincoln City Amfissa Emmeloord Moscow New Bern Alumínio Burfjord White River Horiany Vilnius Natchitoches Forfjord Galyatető Szilasliget Tartu León Donnybrook Nieuw-Beerta Seville Feanwâldsterwâl Exloërkijl Launceston Eerste Exloërmond Falmouth Ambracia Abrazheyevka Apatity Shakhunya Beetgumermolen Kuivasjärvi Nieuw-Weerdinge Vikajärvi Vrouwenparochie Ouwster-Nijega Rottumeroog
European Union, Moscow and Vilnius have min number of people or abstract beings as their namesake
European Union Moscow Vilnius
action argmin
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type common name
action find_tuple_counts
relation named after
type administrative territorial entity
type abstract being
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'common name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?g ) WHERE { VALUES ( ?z ) { ( ontology:common_name ) ( ontology:abstract_being ) } . ?q rdf:type ?z } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:common_name ) ( ontology:abstract_being ) } } GROUP BY ?d } . FILTER ( ?j = ?n ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q458 Q649 Q216
P163
Q17335294
USER
Which coats of arms have European Union, Moscow and Vilnius as their flag ?
(Q458,P163,c(Q17335294)) (Q649,P163,c(Q17335294)) (Q216,P163,c(Q17335294))
action union
action filter_type
action find
entity Q458
relation P163
type Q17335294
action filter_type
action find
entity Q649
relation P163
type Q17335294
action filter_type
action find
entity Q216
relation P163
type Q17335294
['Q458', 'P163', {'concept': 'Q17335294'}] ['Q649', 'P163', {'concept': 'Q17335294'}] ['Q216', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?e WHERE { ?v property:P163 ?e . VALUES ( ?v ) { ( resource:Q458 ) ( resource:Q649 ) } }
European Union Moscow Vilnius
action union
action filter_type
action find
entity European Union
relation flag
type flag or coat of arms
action filter_type
action find
entity Moscow
relation flag
type flag or coat of arms
action filter_type
action find
entity Vilnius
relation flag
type flag or coat of arms
['European Union', 'flag', {'concept': 'flag or coat of arms'}] ['Moscow', 'flag', {'concept': 'flag or coat of arms'}] ['Vilnius', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?e WHERE { ?v property:flag ?e . VALUES ( ?v ) { ( resource:European_Union ) ( resource:Moscow ) } }
[]
flag or coat of arms
Q122482 Q1983397 Q21752527
SYSTEM
flag of Europe, Flag of Moscow, Flag of Vilnius
Q122482 Q1983397 Q21752527
(Q458,P163,c(Q17335294)) (Q649,P163,c(Q17335294)) (Q216,P163,c(Q17335294))
action union
action filter_type
action find
entity Q458
relation P163
type Q17335294
action filter_type
action find
entity Q649
relation P163
type Q17335294
action filter_type
action find
entity Q216
relation P163
type Q17335294
[ANSWERS] have European Union, Moscow and Vilnius as their flag
['Q458', 'P163', {'concept': 'Q17335294'}] ['Q649', 'P163', {'concept': 'Q17335294'}] ['Q216', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?e WHERE { ?v property:P163 ?e . VALUES ( ?v ) { ( resource:Q458 ) ( resource:Q649 ) } }
flag of Europe Flag of Moscow Flag of Vilnius
Flag of Europe, Flag of Moscow and Flag of Vilnius have European Union, Moscow and Vilnius as their flag
flag of Europe Flag of Moscow Flag of Vilnius
action union
action filter_type
action find
entity European Union
relation flag
type flag or coat of arms
action filter_type
action find
entity Moscow
relation flag
type flag or coat of arms
action filter_type
action find
entity Vilnius
relation flag
type flag or coat of arms
['European Union', 'flag', {'concept': 'flag or coat of arms'}] ['Moscow', 'flag', {'concept': 'flag or coat of arms'}] ['Vilnius', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?e WHERE { ?v property:flag ?e . VALUES ( ?v ) { ( resource:European_Union ) ( resource:Moscow ) } }
[]