Simple Question (Direct)
Simple Question
Q1578288
P937
Q486972
USER
Which is the work location of Hans-Walter Stork ?
(Q1578288,P937,c(Q486972))
action filter_type
action find
entity Q1578288
relation P937
type Q486972
['Q1578288', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?g WHERE { resource:Q1578288 property:P937 ?g . ?g rdf:type ontology:Q486972 }
Hans-Walter Stork
action filter_type
action find
entity Hans-Walter Stork
relation work location
type human settlement
['Hans-Walter Stork', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?g WHERE { resource:Hans-Walter_Stork property:work_location ?g . ?g rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1578288,P937,c(Q486972))
action filter_type
action find
entity Q1578288
relation P937
type Q486972
The work location of Hans-Walter Stork is in [ANSWER]
['Q1578288', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?g WHERE { resource:Q1578288 property:P937 ?g . ?g rdf:type ontology:Q486972 }
Hamburg
The work location of Hans-Walter Stork is in Hamburg
Hamburg
action filter_type
action find
entity Hans-Walter Stork
relation work location
type human settlement
['Hans-Walter Stork', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?g WHERE { resource:Hans-Walter_Stork property:work_location ?g . ?g rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1055
P17
Q1048835
USER
Which political territory is that human settlement situated in ?
(Q1055,P17,c(Q1048835))
action filter_type
action find
entity Q1055
relation P17
type Q1048835
['Q1055', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q1055 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Hamburg
action filter_type
action find
entity Hamburg
relation country
type political territorial entity
['Hamburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Hamburg property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1055,P17,c(Q1048835))
action filter_type
action find
entity Q1055
relation P17
type Q1048835
That human settlement is situated in [ANSWER]
['Q1055', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q1055 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Germany
That human settlement is situated in Germany
Germany
action filter_type
action find
entity Hamburg
relation country
type political territorial entity
['Hamburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Hamburg property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21904920
Q1048835
USER
And how about Rawdon Island Creek?
(Q21904920,P17,c(Q1048835))
action filter_type
action find
entity Q21904920
relation P17
type Q1048835
['Q21904920', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q21904920 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Rawdon Island Creek
action filter_type
action find
entity Rawdon Island Creek
relation country
type political territorial entity
['Rawdon Island Creek', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Rawdon_Island_Creek property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q21904920,P17,c(Q1048835))
action filter_type
action find
entity Q21904920
relation P17
type Q1048835
[ANSWER]
['Q21904920', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q21904920 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Rawdon Island Creek
relation country
type political territorial entity
['Rawdon Island Creek', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Rawdon_Island_Creek property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q408 Q667509 Q6680745
P530
Q15617994
USER
Does that political territory have ambassadorial relations with municipality of Austria and Lorenzo Independent School District ?
(Q408,P530,Q667509) (Q408,P530,Q6680745)
action is_in
entity Q408
action intersection
action find_reverse
entity Q667509
relation P530
action find_reverse
entity Q6680745
relation P530
['Q408', 'P530', 'Q667509'] ['Q408', 'P530', 'Q6680745']
ASK WHERE { resource:Q408 property:P530 resource:Q667509 . resource:Q408 property:P530 resource:Q6680745 }
Australia municipality of Austria Lorenzo Independent School District
action is_in
entity Australia
action intersection
action find_reverse
entity municipality of Austria
relation diplomatic relation
action find_reverse
entity Lorenzo Independent School District
relation diplomatic relation
['Australia', 'diplomatic relation', 'municipality of Austria'] ['Australia', 'diplomatic relation', 'Lorenzo Independent School District']
ASK WHERE { resource:Australia property:diplomatic_relation resource:municipality_of_Austria . resource:Australia property:diplomatic_relation resource:Lorenzo_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q408,P530,Q667509) (Q408,P530,Q6680745)
action is_in
entity Q408
action intersection
action find_reverse
entity Q667509
relation P530
action find_reverse
entity Q6680745
relation P530
[ANSWER]
['Q408', 'P530', 'Q667509'] ['Q408', 'P530', 'Q6680745']
ASK WHERE { resource:Q408 property:P530 resource:Q667509 . resource:Q408 property:P530 resource:Q6680745 }
No
action is_in
entity Australia
action intersection
action find_reverse
entity municipality of Austria
relation diplomatic relation
action find_reverse
entity Lorenzo Independent School District
relation diplomatic relation
['Australia', 'diplomatic relation', 'municipality of Austria'] ['Australia', 'diplomatic relation', 'Lorenzo Independent School District']
ASK WHERE { resource:Australia property:diplomatic_relation resource:municipality_of_Austria . resource:Australia property:diplomatic_relation resource:Lorenzo_Independent_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1578288 Q183
P27
Q1048835
USER
Does Hans-Walter Stork belong to Germany ?
(Q1578288,P27,Q183)
action is_in
entity Q183
action find
entity Q1578288
relation P27
['Q1578288', 'P27', 'Q183']
ASK WHERE { resource:Q1578288 property:P27 resource:Q183 }
Hans-Walter Stork Germany
action is_in
entity Germany
action find
entity Hans-Walter Stork
relation country of citizenship
['Hans-Walter Stork', 'country of citizenship', 'Germany']
ASK WHERE { resource:Hans-Walter_Stork property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q1578288,P27,Q183)
action is_in
entity Q183
action find
entity Q1578288
relation P27
[ANSWER]
['Q1578288', 'P27', 'Q183']
ASK WHERE { resource:Q1578288 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Hans-Walter Stork
relation country of citizenship
['Hans-Walter Stork', 'country of citizenship', 'Germany']
ASK WHERE { resource:Hans-Walter_Stork property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q408 Q826809
P530
Q15617994
USER
Does Langenhain have a diplomatic relationship with Australia ?
(Q408,P530,Q826809)
action is_in
entity Q826809
action find
entity Q408
relation P530
['Q408', 'P530', 'Q826809']
ASK WHERE { resource:Q408 property:P530 resource:Q826809 }
Australia Langenhain
action is_in
entity Langenhain
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Langenhain']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Langenhain }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q408,P530,Q826809)
action is_in
entity Q826809
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q826809']
ASK WHERE { resource:Q408 property:P530 resource:Q826809 }
No
action is_in
entity Langenhain
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Langenhain']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Langenhain }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q355304 Q15324 Q1048835
USER
Which political territories are located next to max number of watercourses and bodies of water ?
(c(Q1048835),P206,c(Q355304)|c(Q15324))
action argmax
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q15324
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?j WHERE { { ?j property:P206 ?z . ?j rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q355304 } UNION { ?j rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15324 . ?j property:P206 ?z } } GROUP BY ?j } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?b WHERE { VALUES ( ?t ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } . ?w rdf:type ?t } GROUP BY ?b } . FILTER ( ?v = ?d ) }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?j WHERE { { ?j property:located_next_to_body_of_water ?z . ?j rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:watercourse } UNION { ?j rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:body_of_water . ?j property:located_next_to_body_of_water ?z } } GROUP BY ?j } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?b WHERE { VALUES ( ?t ) { ( ontology:body_of_water ) ( ontology:watercourse ) } . ?w rdf:type ?t } GROUP BY ?b } . FILTER ( ?v = ?d ) }
[]
watercourse body of water political territorial entity
Q40
SYSTEM
Austria
Q40
(c(Q1048835),P206,c(Q355304)|c(Q15324))
action argmax
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q15324
[ANSWER] is located next to max number of watercourses and bodies of water
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?j WHERE { { ?j property:P206 ?z . ?j rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q355304 } UNION { ?j rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15324 . ?j property:P206 ?z } } GROUP BY ?j } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?b WHERE { VALUES ( ?t ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } . ?w rdf:type ?t } GROUP BY ?b } . FILTER ( ?v = ?d ) }
Austria
Austria is located next to max number of watercourses and bodies of water
Austria
action argmax
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?j WHERE { { ?j property:located_next_to_body_of_water ?z . ?j rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:watercourse } UNION { ?j rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:body_of_water . ?j property:located_next_to_body_of_water ?z } } GROUP BY ?j } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?b WHERE { VALUES ( ?t ) { ( ontology:body_of_water ) ( ontology:watercourse ) } . ?w rdf:type ?t } GROUP BY ?b } . FILTER ( ?v = ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q16
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relationships with less number of political territories than Canada ?
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?o ) WHERE { ?d property:P530 ?n . ?d rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q16 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?o < ?a ) }
Canada
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?o ) WHERE { ?d property:diplomatic_relation ?n . ?d rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Canada property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?o < ?a ) }
[]
political territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?o ) WHERE { ?d property:P530 ?n . ?d rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q16 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?o < ?a ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?o ) WHERE { ?d property:diplomatic_relation ?n . ?d rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Canada property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?o < ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q35
P530
Q1048835 Q1048835
USER
And also tell me about Denmark?
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?i ) WHERE { ?m property:P530 ?e . ?e rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q35 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?i < ?d ) }
Denmark
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?i ) WHERE { ?m property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Denmark property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?i < ?d ) }
[]
political territorial entity political territorial entity
SYSTEM
8
Q1000 Q40 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?i ) WHERE { ?m property:P530 ?e . ?e rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q35 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?i < ?d ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
8
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?i ) WHERE { ?m property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Denmark property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?i < ?d ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q486972 Q56061 Q1048835
USER
How many political territories are partner town of atleast 1 human settlements or administrative territories ?
(c(Q1048835),P190,c(Q486972)|c(Q56061))
action count
action atleast
action union
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action find_tuple_counts
relation P190
type Q1048835
type Q56061
value 1
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?a ) WHERE { { ?f property:P190 ?e . ?f rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q486972 } UNION { ?e rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1048835 . ?f property:P190 ?e } } GROUP BY ?f } . FILTER ( ?a >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action find_tuple_counts
relation sister city
type political territorial entity
type administrative territorial entity
value 1
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?a ) WHERE { { ?f property:sister_city ?e . ?f rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:human_settlement } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity . ?f property:sister_city ?e } } GROUP BY ?f } . FILTER ( ?a >= 1 ) }
[]
human settlement administrative territorial entity political territorial entity
SYSTEM
186
Q473250 Q484717 Q5963 Q36947 Q1794732 Q15473 Q484552 Q786126 Q1643855 Q187826 Q164197 Q926713 Q15619 Q321331 Q667682 Q210887 Q30002 Q659450 Q693258 Q4480 Q15470 Q1312654 Q168376 Q11286 Q496588 Q208669 Q15430 Q109188 Q538809 Q12339 Q277302 Q642083 Q752280 Q326651 Q41157 Q899884 Q832246 Q2566267 Q11746 Q499922 Q2392504 Q54902 Q840362 Q1439157 Q398698 Q1616611 Q1621191 Q535531 Q49581 Q1637478 Q13521 Q694833 Q5123 Q4970 Q1769167 Q193780 Q178993 Q15950 Q3850873 Q64010 Q917693 Q485129 Q156819 Q1757489 Q550974 Q1010314 Q15602 Q15174 Q487801 Q13855 Q12587 Q15649 Q10436 Q1919317 Q1635711 Q3397684 Q428954 Q48344 Q748078 Q11822 Q15429 Q798747 Q8184 Q8182 Q691525 Q980131 Q1758806 Q616621 Q7898 Q188905 Q15551 Q973325 Q817960 Q693913 Q12812 Q767222 Q170322 Q42956 Q55480 Q189848 Q1641529 Q281272 Q377244 Q216802 Q436491 Q512009 Q131620 Q221749 Q639422 Q170247 Q47475 Q11492 Q642046 Q4068849 Q487096 Q623685 Q622836 Q672483 Q748867 Q993466 Q1639365 Q1758141 Q936624 Q534483 Q1605505 Q615722 Q995637 Q465085 Q468563 Q918586 Q944264 Q943431 Q632621 Q581589 Q932808 Q1794121 Q18288148 Q488555 Q49571 Q695456 Q3586 Q1026229 Q92161 Q851020 Q643919 Q10863 Q928094 Q697126 Q11720 Q677038 Q550985 Q1601614 Q353618 Q42780 Q10445 Q984821 Q13930 Q16572 Q23042 Q211925 Q835012 Q976534 Q202316 Q13149 Q290824 Q13755 Q7911 Q77433 Q41161 Q74881 Q622823 Q15974 Q830776 Q242906 Q1228035 Q15623 Q5826 Q240 Q192387 Q1242382 Q203040 Q68744 Q904130 Q646564 Q47593 Q984642
(c(Q1048835),P190,c(Q486972)|c(Q56061))
action count
action atleast
action union
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action find_tuple_counts
relation P190
type Q1048835
type Q56061
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?a ) WHERE { { ?f property:P190 ?e . ?f rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q486972 } UNION { ?e rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1048835 . ?f property:P190 ?e } } GROUP BY ?f } . FILTER ( ?a >= 1 ) }
Macaé San Sebastián de los Reyes Hanover region Salvador Maracanaú Santa Coloma de Gramenet Algeciras Mundaka Monroy Móstoles Coslada Parintins El Prat de Llobregat Novo Hamburgo Peñafiel, Spain Sanlúcar de Barrameda Chengdu Santarém San Bartolomé de Tirajana Balmaseda L'Hospitalet de Llobregat Carlet Vitória Castelló d'Empúries Oñati Maringá Mollet del Vallès Pelotas Peligros Sant Joan de les Abadesses Chiclana de la Frontera Arnedo Almagro, Ciudad Real Pomerode North Jeolla Province Ciutadella de Menorca Duruelo de la Sierra San Borja Wuhan Porto Seguro Barreiro Fuenlabrada Mondoñedo Criciúma Salvatierra/Agurain Crevillent A Estrada Farroupilha Jaca Quaraí Sant Feliu de Guíxols Gramado Monzón Hangzhou Cigales Almuñécar Palmas Igualada Rivne Caspe Santana do Livramento Burgo de Osma-Ciudad de Osma Joinville Cehegín Atarfe Museros Cornellà de Llobregat Shenzhen Barakaldo Vic Santa Susanna Sant Vicenç dels Horts Kulmbach Benifaió Abanilla Pontarddulais Los Palacios y Villafranca Recife Neath Port Talbot County Borough Roses Martorelles Mondorf-les-Bains Enz Rastatt Villa El Salvador District Massaranduba, Santa Catarina Arroio do Meio Escalona Hersfeld-Rotenburg Ouro Preto Sitges Villanueva de la Cañada Rhondda Cynon Taf Medina del Campo Tortosa Clavijo Qingdao Harbin Colmenar Viejo Guernica Mora Linares Catoira Falkirk Altea San Sebastián de La Gomera Natal Torrevieja Pozuelo de Alarcón Jinan Sigüenza Mataró Calahorra Argoncilhe Reus Ólvega Teresópolis Ordizia Baiona Santa Cruz Cabrália La Muela São Pedro do Butiá Fuentepelayo Barcarrota Celanova Santa Fe Torredembarra Almadén Nova Friburgo Oliva Tacoronte, Santa Cruz de Tenerife Granadilla de Abona Archena Oyón-Oion Ormaiztegi Aquiraz Metropolitan City of Florence Baeza Sos del Rey Católico Bailén East Java Miraflores Changchun Xàbia Torfaen County Borough Picassent Ponta Porã Bridgend County Borough Shenyang San Miguel de Abona Armilla Gerena Adeje Ningbo Forchheim Onda Almansa Guangzhou Paterna East Renfrewshire Vilafranca del Penedès Castrillo Mota de Judíos Foz do Iguaçu Nerja Ondara Bulacan Main-Kinzig-Kreis Leganés South Jeolla Province Dalian Uruguaiana Vilanova del Camí Yanoshi Ponta Grossa Ugao-Miraballes Martorell Xi'an Brussels Londrina Elorrio El Puerto de Santa María Xiamen Ribeira Santo Domingo de la Calzada Belém Canfranc
186
action count
action atleast
action union
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action find_tuple_counts
relation sister city
type political territorial entity
type administrative territorial entity
value 1
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?a ) WHERE { { ?f property:sister_city ?e . ?f rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:human_settlement } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity . ?f property:sister_city ?e } } GROUP BY ?f } . FILTER ( ?a >= 1 ) }
[]