Simple Question (Direct)
Simple Question
Q1055590
P27
Q15617994
USER
Which administrative territory is the native country of Péter Horváth ?
(Q1055590,P27,c(Q15617994))
action filter_type
action find
entity Q1055590
relation P27
type Q15617994
['Q1055590', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1055590 property:P27 ?p }
Péter Horváth
action filter_type
action find
entity Péter Horváth
relation country of citizenship
type designation for an administrative territorial entity
['Péter Horváth', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Péter_Horváth property:country_of_citizenship ?p }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q1055590,P27,c(Q15617994))
action filter_type
action find
entity Q1055590
relation P27
type Q15617994
The [ANSWER] is the native country of Péter Horváth
['Q1055590', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1055590 property:P27 ?p }
Hungary
The Hungary is the native country of Péter Horváth
Hungary
action filter_type
action find
entity Péter Horváth
relation country of citizenship
type designation for an administrative territorial entity
['Péter Horváth', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Péter_Horváth property:country_of_citizenship ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055590
P19
Q515
USER
Where was Péter Horváth born ?
(Q1055590,P19,c(Q515))
action filter_type
action find
entity Q1055590
relation P19
type Q515
['Q1055590', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q1055590 property:P19 ?x . ?x rdf:type ontology:Q515 }
Péter Horváth
action filter_type
action find
entity Péter Horváth
relation place of birth
type city
['Péter Horváth', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Péter_Horváth property:place_of_birth ?x . ?x rdf:type ontology:city }
[]
city
Q189761
SYSTEM
Szekszárd
Q189761
(Q1055590,P19,c(Q515))
action filter_type
action find
entity Q1055590
relation P19
type Q515
Péter Horváth was born in [ANSWER]
['Q1055590', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q1055590 property:P19 ?x . ?x rdf:type ontology:Q515 }
Szekszárd
Péter Horváth was born in Szekszárd
Szekszárd
action filter_type
action find
entity Péter Horváth
relation place of birth
type city
['Péter Horváth', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Péter_Horváth property:place_of_birth ?x . ?x rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q189761 Q6321216
P19
Q502895
USER
Does József Zsók have location of birth at that city ?
(Q6321216,P19,Q189761)
action is_in
entity Q189761
action find
entity Q6321216
relation P19
['Q6321216', 'P19', 'Q189761']
ASK WHERE { resource:Q6321216 property:P19 resource:Q189761 }
Szekszárd József Zsók
action is_in
entity Szekszárd
action find
entity József Zsók
relation place of birth
['József Zsók', 'place of birth', 'Szekszárd']
ASK WHERE { resource:József_Zsók property:place_of_birth resource:Szekszárd }
[]
common name
SYSTEM
YES
(Q6321216,P19,Q189761)
action is_in
entity Q189761
action find
entity Q6321216
relation P19
[ANSWER]
['Q6321216', 'P19', 'Q189761']
ASK WHERE { resource:Q6321216 property:P19 resource:Q189761 }
Yes
action is_in
entity Szekszárd
action find
entity József Zsók
relation place of birth
['József Zsók', 'place of birth', 'Szekszárd']
ASK WHERE { resource:József_Zsók property:place_of_birth resource:Szekszárd }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q189761
P47
Q515
USER
Which city does that one share a border with ?
action filter_type
action find_reverse
entity Q189761
relation P47
type Q515
SELECT DISTINCT ?b WHERE { ?b property:P47 resource:Q189761 . ?b rdf:type ontology:Q515 }
Szekszárd
action filter_type
action find_reverse
entity Szekszárd
relation shares border with
type city
SELECT DISTINCT ?b WHERE { ?b property:shares_border_with resource:Szekszárd . ?b rdf:type ontology:city }
[]
city
Q843021
SYSTEM
Tolna
Q843021
action filter_type
action find_reverse
entity Q189761
relation P47
type Q515
[ANSWER] that one shares a border with
SELECT DISTINCT ?b WHERE { ?b property:P47 resource:Q189761 . ?b rdf:type ontology:Q515 }
Tolna
Tolna that one shares a border with
Tolna
action filter_type
action find_reverse
entity Szekszárd
relation shares border with
type city
SELECT DISTINCT ?b WHERE { ?b property:shares_border_with resource:Szekszárd . ?b rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q843021
P17
Q15617994
USER
Which administrative territory does that city belong to ?
(Q843021,P17,c(Q15617994))
action filter_type
action find
entity Q843021
relation P17
type Q15617994
['Q843021', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q843021 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Tolna
action filter_type
action find
entity Tolna
relation country
type designation for an administrative territorial entity
['Tolna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Tolna property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q843021,P17,c(Q15617994))
action filter_type
action find
entity Q843021
relation P17
type Q15617994
That city belongs to [ANSWER]
['Q843021', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q843021 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Hungary
That city belongs to Hungary
Hungary
action filter_type
action find
entity Tolna
relation country
type designation for an administrative territorial entity
['Tolna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Tolna property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atleast 76 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 76
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?e ) WHERE { ?u property:P530 ?t . ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?e >= 76 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 76
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?e ) WHERE { ?u property:diplomatic_relation ?t . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?e >= 76 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q230
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 76
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?e ) WHERE { ?u property:P530 ?t . ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?e >= 76 ) }
Georgia
1
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 76
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?e ) WHERE { ?u property:diplomatic_relation ?t . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?e >= 76 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q28
P463
Q43229
USER
How many organizations were Hungary a member of ?
(Q28,P463,c(Q43229))
action count
action filter_type
action find
entity Q28
relation P463
type Q43229
['Q28', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:Q43229 . resource:Q28 property:P463 ?u }
Hungary
action count
action filter_type
action find
entity Hungary
relation member of
type organization
['Hungary', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:organization . resource:Hungary property:member_of ?u }
[]
organization
SYSTEM
6
Q191384 Q899770 Q41550 Q656801 Q7825 Q827525
(Q28,P463,c(Q43229))
action count
action filter_type
action find
entity Q28
relation P463
type Q43229
[ANSWER]
['Q28', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:Q43229 . resource:Q28 property:P463 ?u }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation World Trade Organization International Development Association
6
action count
action filter_type
action find
entity Hungary
relation member of
type organization
['Hungary', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:organization . resource:Hungary property:member_of ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P840
Q838948
USER
Which work of art has its setting located at Hungary ?
(c(Q838948),P840,Q28)
action filter_type
action find_reverse
entity Q28
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q28']
SELECT DISTINCT ?c WHERE { ?c property:P840 resource:Q28 . ?c rdf:type ontology:Q838948 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Hungary']
SELECT DISTINCT ?c WHERE { ?c property:narrative_location resource:Hungary . ?c rdf:type ontology:work_of_art }
[]
work of art
Q17363277
SYSTEM
Kvadrat
Q17363277
(c(Q838948),P840,Q28)
action filter_type
action find_reverse
entity Q28
relation P840
type Q838948
[ANSWER] has its setting located at Hungary
[{'concept': 'Q838948'}, 'P840', 'Q28']
SELECT DISTINCT ?c WHERE { ?c property:P840 resource:Q28 . ?c rdf:type ontology:Q838948 }
Kvadrat
Kvadrat has its setting located at Hungary
Kvadrat
action filter_type
action find_reverse
entity Hungary
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Hungary']
SELECT DISTINCT ?c WHERE { ?c property:narrative_location resource:Hungary . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P36
Q56061
USER
Which administrative territory is known as the capital of that administrative territory ?
(Q17363277,P36,c(Q56061))
action filter_type
action find
entity Q28
relation P36
type Q56061
['Q17363277', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q28 property:P36 ?t }
Hungary
action filter_type
action find
entity Hungary
relation capital
type administrative territorial entity
['Kvadrat', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Hungary property:capital ?t }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q17363277,P36,c(Q56061))
action filter_type
action find
entity Q28
relation P36
type Q56061
[ANSWER] is known as the capital of that administrative territory
['Q17363277', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q28 property:P36 ?t }
Budapest
Budapest is known as the capital of that administrative territory
Budapest
action filter_type
action find
entity Hungary
relation capital
type administrative territorial entity
['Kvadrat', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Hungary property:capital ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4626067
P641
Q349
USER
What did 2012 M-1 Challenge season participate in ?
(Q4626067,P641,c(Q349))
action filter_type
action find
entity Q4626067
relation P641
type Q349
['Q4626067', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q4626067 property:P641 ?s . ?s rdf:type ontology:Q349 }
2012 M-1 Challenge season
action filter_type
action find
entity 2012 M-1 Challenge season
relation sport
type sport
['2012 M-1 Challenge season', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:2012_M-1_Challenge_season property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q114466
SYSTEM
mixed martial arts
Q114466
(Q4626067,P641,c(Q349))
action filter_type
action find
entity Q4626067
relation P641
type Q349
2012 M-1 Challenge season participated in [ANSWER]
['Q4626067', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q4626067 property:P641 ?s . ?s rdf:type ontology:Q349 }
mixed martial arts
2012 M-1 Challenge season participated in mixed martial arts
mixed martial arts
action filter_type
action find
entity 2012 M-1 Challenge season
relation sport
type sport
['2012 M-1 Challenge season', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:2012_M-1_Challenge_season property:sport ?s . ?s rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q43229 Q502895
USER
Which sports do approximately the same number of organizations or people belong to as that sport ?
(c(Q43229)|c(Q502895),P101,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q114466
relation P101
type Q43229
type Q502895
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?h ) WHERE { { ?s property:P101 ?j . ?s rdf:type ontology:Q502895 . ?j rdf:type ontology:Q349 } UNION { ?s property:P101 ?j . ?j rdf:type ontology:Q349 . ?s rdf:type ontology:Q43229 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P101 resource:Q114466 . { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } } } . FILTER ( ?h = ?o ) }
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity mixed martial arts
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?h ) WHERE { { ?s property:field_of_work ?j . ?s rdf:type ontology:common_name . ?j rdf:type ontology:sport } UNION { ?s property:field_of_work ?j . ?j rdf:type ontology:sport . ?s rdf:type ontology:organization } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:field_of_work resource:mixed_martial_arts . { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:common_name ) ( ontology:organization ) } } } } . FILTER ( ?h = ?o ) }
[]
sport organization common name
Q809831 Q136851 Q10962
SYSTEM
BASE jumping, curling, rugby league
Q10962 Q136851 Q1109032 Q5375 Q22857 Q14300548 Q1734 Q12100 Q8418 Q15991265 Q2215841 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q114466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q43229)|c(Q502895),P101,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q114466
relation P101
type Q43229
type Q502895
[ANSWERS] approximately the same number of organizations or people belong to as that sport
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?h ) WHERE { { ?s property:P101 ?j . ?s rdf:type ontology:Q502895 . ?j rdf:type ontology:Q349 } UNION { ?s property:P101 ?j . ?j rdf:type ontology:Q349 . ?s rdf:type ontology:Q43229 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P101 resource:Q114466 . { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } } } . FILTER ( ?h = ?o ) }
rugby league curling college football cricket climbing skating volleyball fencing handball amateur football cycle sport archery wingsuit flying water polo BASE jumping tennis bowling bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey mixed martial arts motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
BASE jumping, curling and rugby league approximately the same number of organizations or people belong to as that sport
BASE jumping curling rugby league
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity mixed martial arts
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?h ) WHERE { { ?s property:field_of_work ?j . ?s rdf:type ontology:common_name . ?j rdf:type ontology:sport } UNION { ?s property:field_of_work ?j . ?j rdf:type ontology:sport . ?s rdf:type ontology:organization } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:field_of_work resource:mixed_martial_arts . { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:common_name ) ( ontology:organization ) } } } } . FILTER ( ?h = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q206872
P159
Q515 Q874405 Q43229
USER
How many cities are the head office for approximately the same number of social groups and organizations located as Ajka ?
(c(Q874405)|c(Q43229),P159,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q874405
action find_reverse_tuple_counts
relation P159
type Q515
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q206872
relation P159
type Q874405
type Q43229
[[{'concept': 'Q874405'}, {'concept': 'Q43229'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?h WHERE { { ?v property:P159 ?h . ?h rdf:type ontology:Q515 . ?v rdf:type ontology:Q874405 } UNION { ?v property:P159 ?h . ?h rdf:type ontology:Q515 . ?v rdf:type ontology:Q43229 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { { ?m rdf:type ontology:Q874405 } UNION { ?m rdf:type ontology:Q43229 } } . ?m property:P159 resource:Q206872 } } . FILTER ( ?f = ?w ) }
Ajka
action count
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type social group
action find_reverse_tuple_counts
relation headquarters location
type city
type organization
action count
action filter_multi_types
action find_reverse
entity Ajka
relation headquarters location
type social group
type organization
[[{'concept': 'social group'}, {'concept': 'organization'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?h WHERE { { ?v property:headquarters_location ?h . ?h rdf:type ontology:city . ?v rdf:type ontology:social_group } UNION { ?v property:headquarters_location ?h . ?h rdf:type ontology:city . ?v rdf:type ontology:organization } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { { ?m rdf:type ontology:social_group } UNION { ?m rdf:type ontology:organization } } . ?m property:headquarters_location resource:Ajka } } . FILTER ( ?f = ?w ) }
[]
city social group organization
SYSTEM
499
Q386691 Q944051 Q496702 Q3572 Q10127 Q643878 Q1711 Q10124 Q213278 Q841296 Q873835 Q3974 Q34412 Q703158 Q835227 Q849439 Q11736 Q1000069 Q852018 Q318047 Q1000060 Q460835 Q60037 Q278877 Q857256 Q569907 Q217432 Q827041 Q86536 Q860647 Q686775 Q4024 Q732851 Q499493 Q840888 Q10393 Q25282 Q609350 Q664895 Q41283 Q27860 Q3806 Q58401 Q3624 Q42651 Q209785 Q360326 Q58273 Q838652 Q68862 Q695895 Q646818 Q335444 Q212494 Q385982 Q52607 Q766168 Q774952 Q2427117 Q392692 Q59173 Q273880 Q320943 Q734416 Q861246 Q985465 Q14932 Q7473516 Q71266 Q846338 Q816728 Q696777 Q58570 Q1009095 Q653389 Q1019083 Q20934 Q41474 Q853821 Q57951 Q174091 Q59100 Q637913 Q734520 Q653372 Q38968 Q169127 Q622620 Q696388 Q3994 Q1000029 Q1017251 Q147738 Q1624 Q373023 Q1629 Q74957 Q653446 Q8131 Q362959 Q210493 Q3926 Q11462 Q3214 Q83786 Q505208 Q605256 Q374477 Q5838 Q181276 Q16520 Q220445 Q330409 Q317834 Q192271 Q58710 Q719 Q375651 Q69060 Q75961 Q3069 Q592065 Q3104 Q389515 Q394453 Q175197 Q216077 Q2910 Q321778 Q535534 Q68695 Q461020 Q1410 Q507846 Q375097 Q695930 Q9085 Q5088 Q178878 Q390413 Q203027 Q2966 Q331577 Q4348183 Q179608 Q1467 Q213263 Q425492 Q2865 Q851411 Q607625 Q13630 Q57719 Q496072 Q198370 Q73073 Q1000073 Q12245 Q117676 Q16959 Q386635 Q194087 Q10389 Q30340 Q23430 Q291745 Q629849 Q986070 Q4346 Q515573 Q8854 Q838660 Q243859 Q8247 Q694308 Q646805 Q182378 Q235 Q188082 Q1889017 Q161176 Q79535 Q460829 Q167668 Q270704 Q167109 Q2509609 Q459787 Q15734 Q209683 Q163888 Q207030 Q207408 Q877941 Q316841 Q6602 Q873583 Q237699 Q1757191 Q1209 Q3904 Q330007 Q1936067 Q615138 Q373101 Q14819 Q5285 Q14182 Q75026 Q104036 Q693237 Q72990 Q7568 Q44244 Q92324 Q657642 Q1000033 Q694317 Q2100 Q502486 Q56759 Q43433 Q641491 Q7027 Q57931 Q3857 Q426130 Q606212 Q155975 Q242108 Q3915 Q75110 Q460812 Q665097 Q174461 Q385591 Q1017806 Q17182 Q124375 Q2180 Q392624 Q75203 Q3075 Q239597 Q850332 Q861621 Q177149 Q389562 Q850344 Q62723 Q496319 Q820496 Q646834 Q3185 Q427557 Q844138 Q423371 Q820725 Q3004 Q26600 Q2092152 Q740853 Q645567 Q207876 Q384926 Q2978 Q860659 Q385779 Q2973 Q518992 Q34261 Q1953 Q373564 Q137271 Q1010158 Q1473 Q658058 Q1852569 Q1478 Q14821 Q824009 Q817965 Q3958 Q57970 Q3955 Q198266 Q425415 Q2079 Q2773 Q6829 Q8156 Q14440 Q404599 Q42007 Q1379299 Q1854 Q1856 Q3787 Q497341 Q844052 Q916156 Q4007 Q242874 Q694154 Q7070 Q3826 Q492366 Q696407 Q58210 Q182852 Q214942 Q68481 Q838672 Q374511 Q4174 Q847565 Q386651 Q317847 Q1826 Q200077 Q47916 Q80484 Q58576 Q328605 Q71247 Q75336 Q326956 Q243293 Q3126 Q571051 Q3042 Q157835 Q3046 Q594275 Q368929 Q2936 Q372791 Q463171 Q2749 Q502407 Q170454 Q211243 Q210661 Q736897 Q496080 Q217698 Q386322 Q187861 Q207311 Q11194 Q3852 Q485581 Q485583 Q2119 Q869027 Q206872 Q390792 Q5972 Q1720 Q1721 Q1643 Q1645 Q329996 Q11443 Q855059 Q7033 Q57906 Q11444 Q3866 Q34405 Q496405 Q1723 Q2844 Q11725 Q208863 Q427265 Q470369 Q1863 Q2209 Q2200 Q533241 Q359990 Q16506 Q1013864 Q76010 Q999916 Q42622 Q633996 Q185684 Q59095 Q72778 Q360235 Q3167 Q183584 Q187136 Q5869 Q508591 Q570937 Q59223 Q328651 Q17189 Q830411 Q1019675 Q851680 Q740863 Q75091 Q3014 Q634022 Q189823 Q242882 Q40626 Q242885 Q146317 Q825166 Q502209 Q5784 Q273798 Q187821 Q270814 Q20921 Q107401 Q57944 Q986082 Q189761 Q189769 Q57948 Q2795 Q236197 Q72877 Q954569 Q57866 Q2880 Q488134 Q2706 Q132997 Q184998 Q5217 Q696643 Q269634 Q285488 Q819603 Q851155 Q210628 Q158523 Q168648 Q3838 Q850676 Q551658 Q2833 Q20073 Q990352 Q3935 Q7003 Q3936 Q3931 Q3933 Q3919 Q3751 Q59218 Q3200 Q696412 Q844852 Q41278 Q171943 Q1205932 Q823927 Q386661 Q1019956 Q386668 Q25475 Q523956 Q328619 Q786762 Q4060 Q71339 Q542154 Q1530 Q733979 Q508670 Q66485 Q58422 Q1844 Q2900 Q857285 Q58584 Q1000101 Q842923 Q92277 Q80989 Q59132 Q873596 Q329754 Q721163 Q390817 Q187812 Q125604 Q2999 Q16666 Q1088790
(c(Q874405)|c(Q43229),P159,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q874405
action find_reverse_tuple_counts
relation P159
type Q515
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q206872
relation P159
type Q874405
type Q43229
[ANSWER]
[[{'concept': 'Q874405'}, {'concept': 'Q43229'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?h WHERE { { ?v property:P159 ?h . ?h rdf:type ontology:Q515 . ?v rdf:type ontology:Q874405 } UNION { ?v property:P159 ?h . ?h rdf:type ontology:Q515 . ?v rdf:type ontology:Q43229 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { { ?m rdf:type ontology:Q874405 } UNION { ?m rdf:type ontology:Q43229 } } . ?m property:P159 resource:Q206872 } } . FILTER ( ?f = ?w ) }
Niiza City Horní Jiřetín Goshogawara Tunis Tangerang Settsu Potsdam Cilegon Kodaira Příbram Tomioka Landshut Foshan Velké Meziříčí Ineu Kopřivnice Tianjin Lovosice Izumisano Narashino Humpolec Marugame Zalaegerszeg Český Těšín Hasuda Baotou Port Harcourt Beroun Komae City Seki Fuchū Frankfurt (Oder) Mioveni Seto Ina Bogor Danang Kawanishi Uherský Brod Gwangju Jayapura Tübingen Shijiazhuang Addis Ababa Wuxi Ichikawa Tongling Taizhou Nakano Longyan Urasoe Towada Itami Akishima City Herend Mar del Plata Nagykáta Matsubara Mníšek pod Brdy Šumperk Huizhou Beppu Matsudo Tsuruoka Nagaokakyō Rakovník Langen (Hessen) Tokyo Yichang Suwa Kyōtanabe Nisshin Handan Otrokovice Nobeoka Napajedla Incheon Kingstown Mizunami Marienberg Changsha Shantou Tōgane Isehara Higashihiroshima Liuzhou Chitila Tōkai Toyooka Kempten Kraslice Nová Paka Saint Helier Pasig Weihai Zamboanga City Anshan Tsuchiura Palembang Xinyu Yantai Pretoria Surabaya Cottbus Shimla Ouarzazate Shimada Ashikaga Kabul Szolnok Busan Kuching Ústí nad Orlicí Kokubunji City Guiyang Langfang Saginaw Valašské Meziříčí Xining Biñan Bottrop Ginowan Koblenz Kariya Žďár nad Sázavou Kunovice Jiujiang Ludwigshafen Hodonín Hohhot Quanzhou Imabari Gibraltar Sebiș Tiszaújváros Hirakawa Mandaluyong Durgapur Békéscsaba Tomakomai Tsu Heidelberg Abrud Athkatla Nanning Cebu City Tama City Luzhou Kassel Imizu Tamási Olbia Xuzhou Fujinomiya Zibo Yuncheng Pelhřimov Stanley Viseu Ürümqi Hikone Hirosaki Bandung Zhengzhou Ulaanbaatar Ílhavo Hatvan Chrudim Waren (Müritz) Hanzhong Las Piñas Chino Abiko Biratnagar Habikino Nanto Putrajaya Monaco Český Krumlov Mandaue Fukushima Fort Smith Matsusaka Liepāja Třebíč Eger Sunchales Iloilo City Izumi Tokoname Ageo Ziyang Vác Echizen Karlovo Strasbourg Kashiwara Aizuwakamatsu Krásná Lípa Free Hanseatic City of Bremen Mbabane Kunitachi City Smržovka Soběslav Rizhao Freiberg Tarlac Banjarmasin Fushun Ventspils Chitose Jincheng Yogyakarta Santa Fe Tonghua Villány Lanškroun Chōshi Duisburg Mobara Olongapo Chandigarh Kakamigahara Straubing Taizhou Wilhelmshaven Mianyang Fremantle Kutná Hora Otaru Antananarivo Dandong Naruto Minoh Ranchi Ōmura Nové Sedlo Parañaque Hódmezővásárhely Malolos Štětí Liaoyang Fürth Neratovice Tagawa Nankoku Obihiro Inazawa Sakado General Trias Kashihara Kōnan Asaka Hildesheim Ya'an Ryūgasaki Ștei Nayoro Ingolstadt Fukuoka Velešín Szigetszentmiklós Törökbálint Yamaguchi Ōgaki Regensburg Gyōda Tendō Darmstadt Călan Port-au-Prince Yerevan Liaocheng Kota Kinabalu Letohrad Davao City Wakō City Týnec nad Sázavou Caloocan Coburg Sayama Ikeda Neubrandenburg Changzhou Weimar Zhuzhou Panzhihua Leipzig Braunschweig Speyer Bandar Lampung Iquique Luohe Szombathely Smyrna Ho Chi Minh City Malaybalay Abuja Xianyang Nakatsugawa Ghimbav Rosenheim Koganei City Moriguchi Eisenach Muscat Norden Hakusan Jinhua Kunming Kazincbarcika Fuzhou Okaya Oyama Emden Hanyū City Iwata Inagi Tagbilaran Morioka Lucknow Patna Xingtai Iizuka Jingzhou Chaoyang Uji Sekondi-Takoradi Erlangen Tsubame Offenbach am Main Zaporizhzhya Pforzheim General Santos Jindřichův Hradec Oldenburg Jining Handa Augsburg Kiyosu Agartala Yinchuan Musashino Hatsukaichi Kadoma Weifang Ōtawara Wollongong Suzuka Sarajevo Worms Aveiro Anan Mannheim Tsurugashima Ajka Kanuma Medan Mainz Wiesbaden Taguig Cagayan de Oro Ōdate Kediri Sakaide Nordhausen Yangzhou Madiun Dodoma Jingdezhen Qujing Batangas City Brasília Chongqing Hachiōji City Yibin Kolín Andorra la Vella Roxas Tuguegarao Shimotsuma Wuhu České Budějovice Hluk Santa Rosa Vysoké Mýto Suzhou Kameoka Hefei Zhuhai Taiyuan Ma'anshan Siegen Lanzhou Luoyang Lhasa Police nad Metují Ordos City Zhongshan Yachiyo Pasay Körmend Nové Město nad Metují Kazo Česká Lípa Benxi Wolfsburg Kiryū Haikou Nishi-Tōkyō City Tacloban Mitaka City Veszprém Izumo Hōfu Lhokseumawe Narita Tatabánya Ishinomaki Daejeon Sivas Annaberg-Buchholz Litvínov Szekszárd Salgótarján Aue Chemnitz Hino City Datong Vyškov Yancheng Hamm Ontario Bremerhaven Florianópolis Kaposvár Bacolod Kashiba Tachikawa City Iligan Munakata Kasai Machida City Ehingen Sopron Kinshasa Blansko Vila Nova de Famalicão Freiburg im Breisgau Hohenstein-Ernstthal Kizugawa Windhoek Dijon Bamberg Brandenburg an der Havel Celle Gaborone Praia Dongguan Salzgitter Izumi Ueda Ulsan Nanchang Takizawa Higashine Fujisawa Moravské Budějovice Daitō Batumi Auerbach in der Oberpfalz Noda Hroznětín Hürth Xiaogan Koronadal Baghdad Eniwa Chișineu-Criș Jaipur Tangshan Vaduz Quito Kitamoto Baoding Vlašim Pomáz Jilin City Bhopal Jiangmen Niimi Kiyose City Itō Ichinoseki Dunaújváros Găești Würzburg Nanjing Zsámbék
499
action count
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type social group
action find_reverse_tuple_counts
relation headquarters location
type city
type organization
action count
action filter_multi_types
action find_reverse
entity Ajka
relation headquarters location
type social group
type organization
[[{'concept': 'social group'}, {'concept': 'organization'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?h WHERE { { ?v property:headquarters_location ?h . ?h rdf:type ontology:city . ?v rdf:type ontology:social_group } UNION { ?v property:headquarters_location ?h . ?h rdf:type ontology:city . ?v rdf:type ontology:organization } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { { ?m rdf:type ontology:social_group } UNION { ?m rdf:type ontology:organization } } . ?m property:headquarters_location resource:Ajka } } . FILTER ( ?f = ?w ) }
[]