Simple Question (Direct)
Simple Question
Q7764194
P344
Q502895
USER
Which person is the cinematographer of The Silence of Dean Maitland ?
(Q7764194,P344,c(Q502895))
action filter_type
action find
entity Q7764194
relation P344
type Q502895
['Q7764194', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7764194 property:P344 ?u . ?u rdf:type ontology:Q502895 }
The Silence of Dean Maitland
action filter_type
action find
entity The Silence of Dean Maitland
relation director of photography
type common name
['The Silence of Dean Maitland', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Silence_of_Dean_Maitland property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]
common name
Q7687395
SYSTEM
Tasman Higgins
Q7687395
(Q7764194,P344,c(Q502895))
action filter_type
action find
entity Q7764194
relation P344
type Q502895
[ANSWER] is the cinematographer of The Silence of Dean Maitland
['Q7764194', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7764194 property:P344 ?u . ?u rdf:type ontology:Q502895 }
Tasman Higgins
Tasman Higgins is the cinematographer of The Silence of Dean Maitland
Tasman Higgins
action filter_type
action find
entity The Silence of Dean Maitland
relation director of photography
type common name
['The Silence of Dean Maitland', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Silence_of_Dean_Maitland property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7687395
P19
Q15700808
USER
Which urban unit definition is the place of birth of that person ?
(Q7687395,P19,c(Q15700808))
action filter_type
action find
entity Q7687395
relation P19
type Q15700808
['Q7687395', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?m WHERE { resource:Q7687395 property:P19 ?m . ?m rdf:type ontology:Q15700808 }
Tasman Higgins
action filter_type
action find
entity Tasman Higgins
relation place of birth
type urban unit definition
['Tasman Higgins', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?m WHERE { resource:Tasman_Higgins property:place_of_birth ?m . ?m rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q5567425
SYSTEM
Glebe
Q5567425
(Q7687395,P19,c(Q15700808))
action filter_type
action find
entity Q7687395
relation P19
type Q15700808
[ANSWER] is the place of birth of that person
['Q7687395', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?m WHERE { resource:Q7687395 property:P19 ?m . ?m rdf:type ontology:Q15700808 }
Glebe
Glebe is the place of birth of that person
Glebe
action filter_type
action find
entity Tasman Higgins
relation place of birth
type urban unit definition
['Tasman Higgins', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?m WHERE { resource:Tasman_Higgins property:place_of_birth ?m . ?m rdf:type ontology:urban_unit_definition }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have location of birth at that urban unit definition ?
(c(Q502895),P19,Q5567425)
action count
action filter_type
action find_reverse
entity Q5567425
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q5567425']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P19 resource:Q5567425 . ?i rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Glebe
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Glebe']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:place_of_birth resource:Glebe . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q7687395
(c(Q502895),P19,Q5567425)
action count
action filter_type
action find_reverse
entity Q5567425
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q5567425']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P19 resource:Q5567425 . ?i rdf:type ontology:Q502895 }
Tasman Higgins
1
action count
action filter_type
action find_reverse
entity Glebe
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Glebe']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:place_of_birth resource:Glebe . ?i rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q917543
P725
Q502895 Q15961987
USER
How many television genres had their voice dubbing done by more number of people than The Garfield Show ?
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q917543
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?r ) WHERE { ?l property:P725 ?o . ?l rdf:type ontology:Q15961987 . ?o rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q917543 property:P725 ?s . ?s rdf:type ontology:Q15961987 } } . FILTER ( ?r > ?c ) }
The Garfield Show
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Garfield Show
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?r ) WHERE { ?l property:voice_actor ?o . ?l rdf:type ontology:television_genre . ?o rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:The_Garfield_Show property:voice_actor ?s . ?s rdf:type ontology:television_genre } } . FILTER ( ?r > ?c ) }
[]
common name television genre
SYSTEM
12
Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q22773153 Q18790 Q53093 Q753848 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q917543
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?r ) WHERE { ?l property:P725 ?o . ?l rdf:type ontology:Q15961987 . ?o rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q917543 property:P725 ?s . ?s rdf:type ontology:Q15961987 } } . FILTER ( ?r > ?c ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Milo Murphy's Law The Legend of Korra Adventure Time TaleSpin My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
12
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Garfield Show
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?r ) WHERE { ?l property:voice_actor ?o . ?l rdf:type ontology:television_genre . ?o rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:The_Garfield_Show property:voice_actor ?s . ?s rdf:type ontology:television_genre } } . FILTER ( ?r > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3235151
P725
Q502895 Q15961987
USER
And also tell me about VeggieTales?
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q3235151
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?s ) WHERE { ?g property:P725 ?v . ?g rdf:type ontology:Q15961987 . ?v rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q3235151 property:P725 ?c . ?c rdf:type ontology:Q15961987 } } . FILTER ( ?s > ?x ) }
VeggieTales
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity VeggieTales
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?s ) WHERE { ?g property:voice_actor ?v . ?g rdf:type ontology:television_genre . ?v rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:VeggieTales property:voice_actor ?c . ?c rdf:type ontology:television_genre } } . FILTER ( ?s > ?x ) }
[]
common name television genre
SYSTEM
9
Q24034511 Q11296848 Q7615342 Q22773153 Q18790 Q53093 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q3235151
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?s ) WHERE { ?g property:P725 ?v . ?g rdf:type ontology:Q15961987 . ?v rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q3235151 property:P725 ?c . ?c rdf:type ontology:Q15961987 } } . FILTER ( ?s > ?x ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe Milo Murphy's Law The Legend of Korra Adventure Time My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
9
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity VeggieTales
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?s ) WHERE { ?g property:voice_actor ?v . ?g rdf:type ontology:television_genre . ?v rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:VeggieTales property:voice_actor ?c . ?c rdf:type ontology:television_genre } } . FILTER ( ?s > ?x ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16724 Q7764194
P47 P495
Q1048835
USER
Which political territories are the origins of The Silence of Dean Maitland or are adjacent to Navàs ?
OR((Q7764194,P495,c(Q1048835)), (Q16724,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q7764194
relation P495
action find
entity Q16724
relation P47
type Q1048835
{'OR': [['Q7764194', 'P495', {'concept': 'Q1048835'}], ['Q16724', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q7764194 property:P495 ?z } UNION { resource:Q16724 property:P47 ?z } } . ?z rdf:type ontology:Q1048835 }
Navàs The Silence of Dean Maitland
action filter_type
action union
action find
entity The Silence of Dean Maitland
relation country of origin
action find
entity Navàs
relation shares border with
type political territorial entity
{'OR': [['The Silence of Dean Maitland', 'country of origin', {'concept': 'political territorial entity'}], ['Navàs', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:The_Silence_of_Dean_Maitland property:country_of_origin ?z } UNION { resource:Navàs property:shares_border_with ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16737 Q16732 Q16683 Q1905542 Q16687 Q16679 Q16696 Q408 Q15534 Q15545
SYSTEM
Súria, Sant Mateu de Bages, Cardona, Pinós, Castellnou de Bages, Balsareny, Gaià, Australia, Puig-reig, Viver i Serrateix
Q16737 Q16732 Q16683 Q1905542 Q16687 Q16679 Q16696 Q408 Q15534 Q15545
OR((Q7764194,P495,c(Q1048835)), (Q16724,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q7764194
relation P495
action find
entity Q16724
relation P47
type Q1048835
[ANSWERS] are the origins of The Silence of Dean Maitland or are adjacent to Navàs
{'OR': [['Q7764194', 'P495', {'concept': 'Q1048835'}], ['Q16724', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q7764194 property:P495 ?z } UNION { resource:Q16724 property:P47 ?z } } . ?z rdf:type ontology:Q1048835 }
Súria Sant Mateu de Bages Cardona Pinós Castellnou de Bages Balsareny Gaià Australia Puig-reig Viver i Serrateix
Súria, Sant Mateu de Bages, Cardona, Pinós, Castellnou de Bages, Balsareny, Gaià, Australia, Puig-reig and Viver i Serrateix are the origins of The Silence of Dean Maitland or are adjacent to Navàs
Súria Sant Mateu de Bages Cardona Pinós Castellnou de Bages Balsareny Gaià Australia Puig-reig Viver i Serrateix
action filter_type
action union
action find
entity The Silence of Dean Maitland
relation country of origin
action find
entity Navàs
relation shares border with
type political territorial entity
{'OR': [['The Silence of Dean Maitland', 'country of origin', {'concept': 'political territorial entity'}], ['Navàs', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:The_Silence_of_Dean_Maitland property:country_of_origin ?z } UNION { resource:Navàs property:shares_border_with ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P495
Q386724 Q1002697
USER
How many works or periodical literatures originated in Australia ?
(c(Q386724),P495,Q408) (c(Q1002697),P495,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P495
type Q386724
action filter_type
action find_reverse
entity Q408
relation P495
type Q1002697
[{'concept': 'Q386724'}, 'P495', 'Q408'] [{'concept': 'Q1002697'}, 'P495', 'Q408']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:P495 resource:Q408 . ?x rdf:type ontology:Q386724 } UNION { ?x property:P495 resource:Q408 . ?x rdf:type ontology:Q1002697 } }
Australia
action count
action union
action filter_type
action find_reverse
entity Australia
relation country of origin
type work
action filter_type
action find_reverse
entity Australia
relation country of origin
type periodical literature
[{'concept': 'work'}, 'country of origin', 'Australia'] [{'concept': 'periodical literature'}, 'country of origin', 'Australia']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:country_of_origin resource:Australia . ?x rdf:type ontology:work } UNION { ?x property:country_of_origin resource:Australia . ?x rdf:type ontology:periodical_literature } }
[]
work periodical literature
SYSTEM
7
Q7824531 Q19879942 Q16140821 Q7737253 Q4836459 Q18350394 Q390216
(c(Q386724),P495,Q408) (c(Q1002697),P495,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P495
type Q386724
action filter_type
action find_reverse
entity Q408
relation P495
type Q1002697
[ANSWER]
[{'concept': 'Q386724'}, 'P495', 'Q408'] [{'concept': 'Q1002697'}, 'P495', 'Q408']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:P495 resource:Q408 . ?x rdf:type ontology:Q386724 } UNION { ?x property:P495 resource:Q408 . ?x rdf:type ontology:Q1002697 } }
Top Gear Australia The Tenterfield Star Hi-5 The Good Neighbour BRW Huon Times The Sydney Morning Herald
7
action count
action union
action filter_type
action find_reverse
entity Australia
relation country of origin
type work
action filter_type
action find_reverse
entity Australia
relation country of origin
type periodical literature
[{'concept': 'work'}, 'country of origin', 'Australia'] [{'concept': 'periodical literature'}, 'country of origin', 'Australia']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:country_of_origin resource:Australia . ?x rdf:type ontology:work } UNION { ?x property:country_of_origin resource:Australia . ?x rdf:type ontology:periodical_literature } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q1048835 Q44539 Q532
USER
Which political territories are around 118 temples or villages present in ?
(c(Q44539)|c(Q532),P17,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q44539
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q532
value 118
[[{'concept': 'Q44539'}, {'concept': 'Q532'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:P17 ?v . ?v rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q44539 } UNION { ?q property:P17 ?v . ?v rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q532 } } GROUP BY ?v } . FILTER ( ?e = 118 ) }
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type temple
action find_reverse_tuple_counts
relation country
type political territorial entity
type village
value 118
[[{'concept': 'temple'}, {'concept': 'village'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:country ?v . ?v rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:temple } UNION { ?q property:country ?v . ?v rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:village } } GROUP BY ?v } . FILTER ( ?e = 118 ) }
[]
political territorial entity temple village
Q408 Q35 Q40
SYSTEM
Australia, Denmark, Austria
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q408 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q44539)|c(Q532),P17,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q44539
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q532
value 118
[ANSWERS]
[[{'concept': 'Q44539'}, {'concept': 'Q532'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:P17 ?v . ?v rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q44539 } UNION { ?q property:P17 ?v . ?v rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q532 } } GROUP BY ?v } . FILTER ( ?e = 118 ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Australia Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
Which political territories are around 118 temples or villages present in
Australia Denmark Austria
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type temple
action find_reverse_tuple_counts
relation country
type political territorial entity
type village
value 118
[[{'concept': 'temple'}, {'concept': 'village'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:country ?v . ?v rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:temple } UNION { ?q property:country ?v . ?v rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:village } } GROUP BY ?v } . FILTER ( ?e = 118 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q1048835 Q515 Q20667921
USER
Which political territories have atleast 1 cities and french administrative divisions as their capital ?
(c(Q515)|c(Q20667921),P1376,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
value 1
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?p ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?h rdf:type ?p } GROUP BY ?x } }
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
value 1
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?p ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?h rdf:type ?p } GROUP BY ?x } }
[]
political territorial entity city type of french administrative division
Q664 Q757 Q785
SYSTEM
New Zealand, Saint Vincent and the Grenadines, Jersey
Q13881 Q13882 Q13884 Q13889 Q785 Q13726 Q2051 Q3891 Q3899 Q2175 Q2271 Q48060 Q13900 Q170390 Q1122980 Q8170 Q168651 Q3741 Q2223 Q22880 Q13786 Q13785 Q13869 Q13868 Q13865 Q13863 Q13862 Q10547 Q2485101 Q1890 Q664 Q12741 Q6339 Q5082 Q5065 Q5067 Q5061 Q5062 Q5068 Q13737 Q7932 Q2140 Q13827 Q13826 Q13825 Q34617 Q13829 Q953068 Q170036 Q9648 Q3125978 Q13857 Q757 Q13772 Q642314 Q6301 Q7890 Q3916 Q13794 Q13791 Q13792 Q13813 Q48079 Q5093 Q5095 Q671742 Q5075 Q193619 Q13744 Q48094 Q192697 Q2772 Q13874 Q7928 Q188373 Q48046 Q2101298 Q1823 Q13844 Q13847 Q13843 Q2594990 Q1232887 Q8195 Q2110 Q48072 Q3586 Q13892 Q13891 Q13899 Q3906 Q778266 Q1866 Q13809 Q13860 Q13806 Q240441 Q24174 Q10440 Q49655 Q190930 Q13753 Q13752 Q13755 Q13759 Q8167 Q48089 Q7916 Q7912 Q3540 Q10526 Q13870 Q13872 Q3724 Q13876 Q48057 Q6328 Q10557 Q10555 Q2902 Q10559
(c(Q515)|c(Q20667921),P1376,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
value 1
[ANSWERS] have atleast 1 cities and french administrative divisions as their capital
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?p ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?h rdf:type ?p } GROUP BY ?x } }
Sorsogon South Cotabato Southern Leyte Surigao del Norte Jersey Albay Jambi Province Kalimantan Tengah Kalimantan Timur Riau Province South Sumatra Gera District Zamboanga del Sur County of Oldenburg Comtat Venaissin Tübingen Landgraviate of Hesse-Kassel Special Region of Yogyakarta Kepulauan Riau Electoral Palatinate Cebu Cavite Palawan Oriental Mindoro Nueva Ecija Negros Oriental Negros Occidental Lower Franconia County of Chiny Bengkulu Province New Zealand Ilocos Sur Erzgebirgskreis West Sulawesi Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara North Sulawesi Province Basilan Darmstadt Government Region North Sumatra Province Kalinga Isabela Iloilo Saint Pierre and Miquelon La Union South-West Africa Kiev Oblast Falkland Islands Bali Misamis Occidental Saint Vincent and the Grenadines Capiz County of Burgundy Nordsachsen Kassel Kalimantan Barat Davao del Sur Cotabato Davao del Norte Ilocos Norte Leipzig District Maluku Province Papua General Pueyrredón South East Sulawesi Province Union of South Africa Batangas Potsdam District South Moravian Region West Sumatra Rizal Kassel  Government Region South Bohemia Region Cottbus Tandil Aceh Leyte Masbate Lanao del Sur Dominion of New Zealand County of Savoy Breisgau-Hochschwarzwald Lampung Province Karl-Marx-Stadt District East Java Tarlac Surigao del Sur Zamboanga del Norte Kalimantan Selatan County of Artois Bangka–Belitung Islands Eastern Samar Misamis Oriental Davao Oriental General Alvarado Partido Dresden Government Region Coburg Schellenberg Vysočina Region Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Neubrandenburg District Darmstadt-Dieburg Offenbach Banten Province Rosenheim Pampanga Quezon West Java Province Samar Frankfurt (Oder) Mittelsachsen Swabia Upper Palatinate Mecklenburgische Seenplatte District Lower Bavaria
New Zealand, Saint Vincent and the Grenadines and Jersey have atleast 1 cities and french administrative divisions as their capital
New Zealand Saint Vincent and the Grenadines Jersey
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
value 1
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?p ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?h rdf:type ?p } GROUP BY ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q785
P421
Q317623
USER
Which technical standard is Jersey located in ?
(Q785,P421,c(Q317623))
action filter_type
action find
entity Q785
relation P421
type Q317623
['Q785', 'P421', {'concept': 'Q317623'}]
SELECT DISTINCT ?j WHERE { resource:Q785 property:P421 ?j . ?j rdf:type ontology:Q317623 }
Jersey
action filter_type
action find
entity Jersey
relation located in time zone
type technical standard
['Jersey', 'located in time zone', {'concept': 'technical standard'}]
SELECT DISTINCT ?j WHERE { resource:Jersey property:located_in_time_zone ?j . ?j rdf:type ontology:technical_standard }
[]
technical standard
Q30192
SYSTEM
Greenwich Mean Time
Q30192
(Q785,P421,c(Q317623))
action filter_type
action find
entity Q785
relation P421
type Q317623
Jersey is located at [ANSWER]
['Q785', 'P421', {'concept': 'Q317623'}]
SELECT DISTINCT ?j WHERE { resource:Q785 property:P421 ?j . ?j rdf:type ontology:Q317623 }
Greenwich Mean Time
Jersey is located at Greenwich Mean Time
Greenwich Mean Time
action filter_type
action find
entity Jersey
relation located in time zone
type technical standard
['Jersey', 'located in time zone', {'concept': 'technical standard'}]
SELECT DISTINCT ?j WHERE { resource:Jersey property:located_in_time_zone ?j . ?j rdf:type ontology:technical_standard }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q1048835 Q15416 Q838948
USER
How many political territories are the origins of atmost 1206 television programs or works of art ?
(c(Q15416)|c(Q838948),P495,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
value 1206
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { FILTER ( ?d <= 1206 ) . { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?a rdf:type ?o } GROUP BY ?g } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
value 1206
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { FILTER ( ?d <= 1206 ) . { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?a rdf:type ?o } GROUP BY ?g } }
[]
political territorial entity television program work of art
SYSTEM
23
Q1000 Q1747689 Q838261 Q769 Q763 Q664 Q766 Q1054923 Q13353 Q781 Q5705 Q1823 Q35 Q407199 Q778 Q691 Q234 Q2991382 Q40 Q9337 Q23635 Q31747 Q129286
(c(Q15416)|c(Q838948),P495,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
value 1206
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { FILTER ( ?d <= 1206 ) . { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?a rdf:type ?o } GROUP BY ?g } }
Gabon Ancient Rome Federal Republic of Yugoslavia Grenada Saint Kitts and Nevis New Zealand Jamaica British Hong Kong Montserrat Antigua and Barbuda Catalonia Aceh Denmark Palestinian territories The Bahamas Papua New Guinea Flemish Region County of Provence Austria Flemish Region Bermuda Irish Free State British Raj
23
action count
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
value 1206
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { FILTER ( ?d <= 1206 ) . { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?a rdf:type ?o } GROUP BY ?g } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q13786
P127
Q1048835 Q43229 Q483110
USER
Which political territories are the owners of approximately the same number of organizations or stadia as Cebu ?
(c(Q43229)|c(Q483110),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q13786
relation P127
type Q43229
type Q483110
[[{'concept': 'Q43229'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P127 resource:Q13786 . { VALUES ( ?x ) { ( ontology:Q483110 ) ( ontology:Q43229 ) } . ?d rdf:type ?x } } } . FILTER ( ?i = ?o ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:Q483110 ) ( ontology:Q43229 ) } } GROUP BY ?y } }
Cebu
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_multi_types
action find_reverse
entity Cebu
relation owned by
type organization
type stadium
[[{'concept': 'organization'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:owned_by resource:Cebu . { VALUES ( ?x ) { ( ontology:stadium ) ( ontology:organization ) } . ?d rdf:type ?x } } } . FILTER ( ?i = ?o ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:stadium ) ( ontology:organization ) } } GROUP BY ?y } }
[]
political territorial entity organization stadium
Q35 Q40 Q231
SYSTEM
Denmark, Austria, Walloon Region
Q192536 Q1648590 Q3741 Q20937 Q2321093 Q5691 Q188399 Q490638 Q126514 Q211091 Q133083 Q74881 Q6139 Q7379734 Q1823 Q13786 Q193317 Q35 Q191091 Q2947 Q13862 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q9337 Q23635 Q193307 Q206926
(c(Q43229)|c(Q483110),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q13786
relation P127
type Q43229
type Q483110
[ANSWERS] are the owners of approximately the same number of organizations or stadia as Cebu
[[{'concept': 'Q43229'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P127 resource:Q13786 . { VALUES ( ?x ) { ( ontology:Q483110 ) ( ontology:Q43229 ) } . ?d rdf:type ?x } } } . FILTER ( ?i = ?o ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:Q483110 ) ( ontology:Q43229 ) } } GROUP BY ?y } }
Zlín Region Manises Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Almendralejo Dumfries and Galloway Renfrewshire Gauteng Dalian Havelland Aachen Aceh Cebu Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Flemish Region Bermuda Olomouc Region North Ayrshire
Denmark, Austria and Walloon Region are the owners of approximately the same number of organizations or stadia as Cebu
Denmark Austria Walloon Region
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_multi_types
action find_reverse
entity Cebu
relation owned by
type organization
type stadium
[[{'concept': 'organization'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:owned_by resource:Cebu . { VALUES ( ?x ) { ( ontology:stadium ) ( ontology:organization ) } . ?d rdf:type ?x } } } . FILTER ( ?i = ?o ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:stadium ) ( ontology:organization ) } } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q126514
P127
Q1048835 Q43229 Q483110
USER
And how about Dumfries and Galloway?
(c(Q43229)|c(Q483110),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q126514
relation P127
type Q43229
type Q483110
[[{'concept': 'Q43229'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:Q43229 ) ( ontology:Q483110 ) } . ?e rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P127 resource:Q126514 . { { ?x rdf:type ontology:Q483110 } UNION { ?x rdf:type ontology:Q43229 } } } } . FILTER ( ?h = ?w ) }
Dumfries and Galloway
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_multi_types
action find_reverse
entity Dumfries and Galloway
relation owned by
type organization
type stadium
[[{'concept': 'organization'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:organization ) ( ontology:stadium ) } . ?e rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:owned_by resource:Dumfries_and_Galloway . { { ?x rdf:type ontology:stadium } UNION { ?x rdf:type ontology:organization } } } } . FILTER ( ?h = ?w ) }
[]
political territorial entity organization stadium
Q35 Q40 Q231
SYSTEM
Denmark, Austria, Walloon Region
Q192536 Q1648590 Q3741 Q20937 Q2321093 Q5691 Q188399 Q490638 Q126514 Q211091 Q133083 Q74881 Q6139 Q7379734 Q1823 Q13786 Q193317 Q35 Q191091 Q2947 Q13862 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q9337 Q23635 Q193307 Q206926
(c(Q43229)|c(Q483110),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q126514
relation P127
type Q43229
type Q483110
[ANSWERS]
[[{'concept': 'Q43229'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:Q43229 ) ( ontology:Q483110 ) } . ?e rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P127 resource:Q126514 . { { ?x rdf:type ontology:Q483110 } UNION { ?x rdf:type ontology:Q43229 } } } } . FILTER ( ?h = ?w ) }
Zlín Region Manises Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Almendralejo Dumfries and Galloway Renfrewshire Gauteng Dalian Havelland Aachen Aceh Cebu Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Flemish Region Bermuda Olomouc Region North Ayrshire
Denmark Austria Walloon Region
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_multi_types
action find_reverse
entity Dumfries and Galloway
relation owned by
type organization
type stadium
[[{'concept': 'organization'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:organization ) ( ontology:stadium ) } . ?e rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:owned_by resource:Dumfries_and_Galloway . { { ?x rdf:type ontology:stadium } UNION { ?x rdf:type ontology:organization } } } } . FILTER ( ?h = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q970
P530
Q15617994 Q1048835
USER
How many administrative territories holds diplomatic relationship with greater number of political territories than Comoros ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q970
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Q970 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?k ) WHERE { ?o property:P530 ?s . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?o } }
Comoros
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Comoros
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Comoros property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?k ) WHERE { ?o property:diplomatic_relation ?s . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?o } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
154
Q702 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q970
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Q970 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?k ) WHERE { ?o property:P530 ?s . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?o } }
Federated States of Micronesia Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Comoros
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Comoros property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?k ) WHERE { ?o property:diplomatic_relation ?s . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q819
P530
Q15617994 Q1048835
USER
And what about Laos?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q819
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?p ) WHERE { ?d property:P530 ?e . ?d rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q819 property:P530 ?m } } . FILTER ( ?p > ?b ) }
Laos
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Laos
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?p ) WHERE { ?d property:diplomatic_relation ?e . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Laos property:diplomatic_relation ?m } } . FILTER ( ?p > ?b ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
82
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q1041 Q27 Q843 Q1029 Q1028 Q736 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q819
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?p ) WHERE { ?d property:P530 ?e . ?d rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q819 property:P530 ?m } } . FILTER ( ?p > ?b ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Senegal Ireland Pakistan Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
82
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Laos
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?p ) WHERE { ?d property:diplomatic_relation ?e . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Laos property:diplomatic_relation ?m } } . FILTER ( ?p > ?b ) }
[]