Simple Question (Direct)
Simple Question
Q21815275
P27
Q15617994
USER
Which administrative territory is the native country of Daniel Gamper ?
(Q21815275,P27,c(Q15617994))
action filter_type
action find
entity Q21815275
relation P27
type Q15617994
['Q21815275', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q21815275 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Daniel Gamper
action filter_type
action find
entity Daniel Gamper
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Gamper', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Daniel_Gamper property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q21815275,P27,c(Q15617994))
action filter_type
action find
entity Q21815275
relation P27
type Q15617994
[ANSWER] is the native country of Daniel Gamper
['Q21815275', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q21815275 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Spain
Spain is the native country of Daniel Gamper
Spain
action filter_type
action find
entity Daniel Gamper
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Gamper', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Daniel_Gamper property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P159
Q48204
USER
Which voluntary association has HQ at that administrative territory ?
(c(Q48204),P159,Q29)
action filter_type
action find_reverse
entity Q29
relation P159
type Q48204
[{'concept': 'Q48204'}, 'P159', 'Q29']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q29 . ?j rdf:type ontology:Q48204 }
Spain
action filter_type
action find_reverse
entity Spain
relation headquarters location
type voluntary association
[{'concept': 'voluntary association'}, 'headquarters location', 'Spain']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Spain . ?j rdf:type ontology:voluntary_association }
[]
voluntary association
Q6130869
SYSTEM
Sociedad Española de Paleontología
Q6130869
(c(Q48204),P159,Q29)
action filter_type
action find_reverse
entity Q29
relation P159
type Q48204
[ANSWER] has HQ at that administrative territory
[{'concept': 'Q48204'}, 'P159', 'Q29']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q29 . ?j rdf:type ontology:Q48204 }
Sociedad Española de Paleontología
Sociedad Española de Paleontología has HQ at that administrative territory
Sociedad Española de Paleontología
action filter_type
action find_reverse
entity Spain
relation headquarters location
type voluntary association
[{'concept': 'voluntary association'}, 'headquarters location', 'Spain']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Spain . ?j rdf:type ontology:voluntary_association }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6130869
P101
Q1914636
USER
Which activity is the field of work of that voluntary association ?
(Q6130869,P101,c(Q1914636))
action filter_type
action find
entity Q6130869
relation P101
type Q1914636
['Q6130869', 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?p WHERE { resource:Q6130869 property:P101 ?p . ?p rdf:type ontology:Q1914636 }
Sociedad Española de Paleontología
action filter_type
action find
entity Sociedad Española de Paleontología
relation field of work
type activity
['Sociedad Española de Paleontología', 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?p WHERE { resource:Sociedad_Española_de_Paleontología property:field_of_work ?p . ?p rdf:type ontology:activity }
[]
activity
Q7205
SYSTEM
paleontology
Q7205
(Q6130869,P101,c(Q1914636))
action filter_type
action find
entity Q6130869
relation P101
type Q1914636
[ANSWER] is the field of work of that voluntary association
['Q6130869', 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?p WHERE { resource:Q6130869 property:P101 ?p . ?p rdf:type ontology:Q1914636 }
paleontology
Paleontology is the field of work of that voluntary association
paleontology
action filter_type
action find
entity Sociedad Española de Paleontología
relation field of work
type activity
['Sociedad Española de Paleontología', 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?p WHERE { resource:Sociedad_Española_de_Paleontología property:field_of_work ?p . ?p rdf:type ontology:activity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P101
Q502895
USER
How many people works in the domain of that activity ?
(c(Q502895),P101,Q7205)
action count
action filter_type
action find_reverse
entity Q7205
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q7205']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P101 resource:Q7205 . ?c rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity paleontology
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'paleontology']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:field_of_work resource:paleontology . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q12877961
(c(Q502895),P101,Q7205)
action count
action filter_type
action find_reverse
entity Q7205
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q7205']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P101 resource:Q7205 . ?c rdf:type ontology:Q502895 }
Theodoros Skoufos
1
action count
action filter_type
action find_reverse
entity paleontology
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'paleontology']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:field_of_work resource:paleontology . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4953330 Q6130869
P27 P159
Q15617994
USER
Which administrative territories are the headquarters of Sociedad Española de Paleontología located or are Chris Heister a civilian of ?
OR((Q6130869,P159,c(Q15617994)), (Q4953330,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6130869
relation P159
action find
entity Q4953330
relation P27
type Q15617994
{'OR': [['Q6130869', 'P159', {'concept': 'Q15617994'}], ['Q4953330', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q6130869 property:P159 ?q } UNION { resource:Q4953330 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Chris Heister Sociedad Española de Paleontología
action filter_type
action union
action find
entity Sociedad Española de Paleontología
relation headquarters location
action find
entity Chris Heister
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sociedad Española de Paleontología', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}], ['Chris Heister', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Sociedad_Española_de_Paleontología property:headquarters_location ?q } UNION { resource:Chris_Heister property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q34
SYSTEM
Spain, Sweden
Q29 Q34
OR((Q6130869,P159,c(Q15617994)), (Q4953330,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6130869
relation P159
action find
entity Q4953330
relation P27
type Q15617994
[ANSWERS] are the headquarters of Sociedad Española de Paleontología located or are Chris Heister a civilian of
{'OR': [['Q6130869', 'P159', {'concept': 'Q15617994'}], ['Q4953330', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q6130869 property:P159 ?q } UNION { resource:Q4953330 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Spain Sweden
Spain and Sweden are the headquarters of Sociedad Española de Paleontología located or are Chris Heister a civilian of
Spain Sweden
action filter_type
action union
action find
entity Sociedad Española de Paleontología
relation headquarters location
action find
entity Chris Heister
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sociedad Española de Paleontología', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}], ['Chris Heister', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Sociedad_Española_de_Paleontología property:headquarters_location ?q } UNION { resource:Chris_Heister property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17422
P17
Q841509
USER
Are same-sex marriage present in those administrative territories ?
(Q17422,P17,Q29) (Q17422,P17,Q34)
action is_in
entity prev_answer
action find
entity Q17422
relation P17
['Q17422', 'P17', 'Q29'] ['Q17422', 'P17', 'Q34']
ASK WHERE { VALUES ( ?l ) { ( resource:Q29 ) ( resource:Q34 ) } . resource:Q17422 property:P17 ?l }
same-sex marriage
action is_in
entity prev_answer
action find
entity same-sex marriage
relation country
['same-sex marriage', 'country', 'Spain'] ['same-sex marriage', 'country', 'Sweden']
ASK WHERE { VALUES ( ?l ) { ( resource:Spain ) ( resource:Sweden ) } . resource:same-sex_marriage property:country ?l }
[]
significant other
SYSTEM
YES
(Q17422,P17,Q29) (Q17422,P17,Q34)
action is_in
entity prev_answer
action find
entity Q17422
relation P17
[ANSWER]
['Q17422', 'P17', 'Q29'] ['Q17422', 'P17', 'Q34']
ASK WHERE { VALUES ( ?l ) { ( resource:Q29 ) ( resource:Q34 ) } . resource:Q17422 property:P17 ?l }
Yes
action is_in
entity prev_answer
action find
entity same-sex marriage
relation country
['same-sex marriage', 'country', 'Spain'] ['same-sex marriage', 'country', 'Sweden']
ASK WHERE { VALUES ( ?l ) { ( resource:Spain ) ( resource:Sweden ) } . resource:same-sex_marriage property:country ?l }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P495
Q15617994 Q2088357 Q838948
USER
Which administrative territories are the countries of origin of min number of musical ensembles or works of art ?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?t rdf:type ?g } GROUP BY ?o } } . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?k ) WHERE { { ?d property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q2088357 } UNION { ?d property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q838948 } } GROUP BY ?x } . FILTER ( ?k = ?y ) }
action argmin
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?t rdf:type ?g } GROUP BY ?o } } . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?k ) WHERE { { ?d property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:musical_ensemble } UNION { ?d property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:work_of_art } } GROUP BY ?x } . FILTER ( ?k = ?y ) }
[]
designation for an administrative territorial entity musical ensemble work of art
Q1030 Q958 Q1013
SYSTEM
Namibia, South Sudan, Lesotho
Q1462 Q12536 Q36678 Q1460 Q958 Q986 Q244 Q153136 Q983 Q1013 Q159626 Q238 Q1030 Q1005 Q239502 Q686 Q1014
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
[ANSWERS] are the countries of origin of min number of musical ensembles or works of art
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?t rdf:type ?g } GROUP BY ?o } } . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?k ) WHERE { { ?d property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q2088357 } UNION { ?d property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q838948 } } GROUP BY ?x } . FILTER ( ?k = ?y ) }
Sardinia Abbasid caliphate West Bank Sicily South Sudan Eritrea Barbados Habsburg Empire Equatorial Guinea Lesotho Württemberg San Marino Namibia Gambia Kingdom of Galicia–Volhynia Vanuatu Liberia
Namibia, South Sudan and Lesotho are the countries of origin of min number of musical ensembles or works of art
Namibia South Sudan Lesotho
action argmin
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?t rdf:type ?g } GROUP BY ?o } } . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?k ) WHERE { { ?d property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:musical_ensemble } UNION { ?d property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:work_of_art } } GROUP BY ?x } . FILTER ( ?k = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q553036 Q811979 Q15617994
USER
How many administrative territories are a component of approximately 1 natural region of Germanys and architectural structures ?
(c(Q15617994),P361,c(Q553036)|c(Q811979))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q811979
value 1
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?w WHERE { VALUES ( ?s ) { ( ontology:Q553036 ) ( ontology:Q811979 ) } . ?h rdf:type ?s } GROUP BY ?w } . FILTER ( ?y = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?w WHERE { VALUES ( ?s ) { ( ontology:natural_region_of_Germany ) ( ontology:architectural_structure ) } . ?h rdf:type ?s } GROUP BY ?w } . FILTER ( ?y = 1 ) }
[]
natural region of Germany architectural structure designation for an administrative territorial entity
SYSTEM
2
Q57857 Q2313565
(c(Q15617994),P361,c(Q553036)|c(Q811979))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q811979
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?w WHERE { VALUES ( ?s ) { ( ontology:Q553036 ) ( ontology:Q811979 ) } . ?h rdf:type ?s } GROUP BY ?w } . FILTER ( ?y = 1 ) }
Zschorlau Spreng
2
action count
action approx
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?w WHERE { VALUES ( ?s ) { ( ontology:natural_region_of_Germany ) ( ontology:architectural_structure ) } . ?h rdf:type ?s } GROUP BY ?w } . FILTER ( ?y = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q79
P840
Q15617994 Q166142 Q15416
USER
How many administrative territories are around the same number of applications and television programs set in as Egypt ?
(c(Q166142)|c(Q15416),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q79
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?n . VALUES ( ?n ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P840 resource:Q79 . { VALUES ( ?e ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } . ?y rdf:type ?e } } } . FILTER ( ?g = ?f ) }
Egypt
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Egypt
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?n . VALUES ( ?n ) { ( ontology:application ) ( ontology:television_program ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:narrative_location resource:Egypt . { VALUES ( ?e ) { ( ontology:application ) ( ontology:television_program ) } . ?y rdf:type ?e } } } . FILTER ( ?g = ?f ) }
[]
designation for an administrative territorial entity application television program
SYSTEM
150
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q668 Q414 Q3278 Q55 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q43 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q166142)|c(Q15416),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q79
relation P840
type Q166142
type Q15416
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?n . VALUES ( ?n ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P840 resource:Q79 . { VALUES ( ?e ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } . ?y rdf:type ?e } } } . FILTER ( ?g = ?f ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre India Argentina Charente-Maritime Netherlands Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Turkey Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
150
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Egypt
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?n . VALUES ( ?n ) { ( ontology:application ) ( ontology:television_program ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:narrative_location resource:Egypt . { VALUES ( ?e ) { ( ontology:application ) ( ontology:television_program ) } . ?y rdf:type ?e } } } . FILTER ( ?g = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q30
P840
Q15617994 Q166142 Q15416
USER
And how about United States of America?
(c(Q166142)|c(Q15416),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q30
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?r ) WHERE { { ?e rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q166142 . ?t property:P840 ?e } UNION { ?t property:P840 ?e . ?e rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15416 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:P840 resource:Q30 . { { ?a rdf:type ontology:Q166142 } UNION { ?a rdf:type ontology:Q15416 } } } } . FILTER ( ?r = ?f ) }
United States of America
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity United States of America
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?r ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:application . ?t property:narrative_location ?e } UNION { ?t property:narrative_location ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:television_program } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:narrative_location resource:United_States_of_America . { { ?a rdf:type ontology:application } UNION { ?a rdf:type ontology:television_program } } } } . FILTER ( ?r = ?f ) }
[]
designation for an administrative territorial entity application television program
SYSTEM
151
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q668 Q414 Q3278 Q55 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q43 Q41 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q166142)|c(Q15416),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q30
relation P840
type Q166142
type Q15416
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?r ) WHERE { { ?e rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q166142 . ?t property:P840 ?e } UNION { ?t property:P840 ?e . ?e rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15416 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:P840 resource:Q30 . { { ?a rdf:type ontology:Q166142 } UNION { ?a rdf:type ontology:Q15416 } } } } . FILTER ( ?r = ?f ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre India Argentina Charente-Maritime Netherlands Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Turkey Greece Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
151
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity United States of America
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?r ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:application . ?t property:narrative_location ?e } UNION { ?t property:narrative_location ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:television_program } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:narrative_location resource:United_States_of_America . { { ?a rdf:type ontology:application } UNION { ?a rdf:type ontology:television_program } } } } . FILTER ( ?r = ?f ) }
[]