Simple Question (Direct)
Simple Question
Q4910037
P607
Q198
USER
What battle was Bill Martin, Jr. a part of ?
(Q4910037,P607,c(Q198))
action filter_type
action find
entity Q4910037
relation P607
type Q198
['Q4910037', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?a WHERE { resource:Q4910037 property:P607 ?a . ?a rdf:type ontology:Q198 }
Bill Martin, Jr.
action filter_type
action find
entity Bill Martin, Jr.
relation conflict
type war
['Bill Martin, Jr.', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?a WHERE { resource:Bill_Martin,_Jr. property:conflict ?a . ?a rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q4910037,P607,c(Q198))
action filter_type
action find
entity Q4910037
relation P607
type Q198
The [ANSWER] was Bill Martin, Jr. a part of
['Q4910037', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?a WHERE { resource:Q4910037 property:P607 ?a . ?a rdf:type ontology:Q198 }
World War II
The World War II was Bill Martin, Jr. a part of
World War II
action filter_type
action find
entity Bill Martin, Jr.
relation conflict
type war
['Bill Martin, Jr.', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?a WHERE { resource:Bill_Martin,_Jr. property:conflict ?a . ?a rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4910037
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q362,P1412,c(Q34770))
action filter_type
action find
entity Q4910037
relation P1412
type Q34770
['Q362', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q4910037 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Bill Martin, Jr.
action filter_type
action find
entity Bill Martin, Jr.
relation languages spoken, written or signed
type language
['World War II', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Bill_Martin,_Jr. property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q362,P1412,c(Q34770))
action filter_type
action find
entity Q4910037
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q362', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q4910037 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
English
English is that person capable of writing
English
action filter_type
action find
entity Bill Martin, Jr.
relation languages spoken, written or signed
type language
['World War II', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Bill_Martin,_Jr. property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
How many writing systems are the writing systems used for approximately 1 language ?
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P282 ?b . ?b rdf:type ontology:Q8192 . ?a rdf:type ontology:Q34770 } GROUP BY ?b } . FILTER ( ?p = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:writing_system ?b . ?b rdf:type ontology:writing_system . ?a rdf:type ontology:language } GROUP BY ?b } . FILTER ( ?p = 1 ) }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P282 ?b . ?b rdf:type ontology:Q8192 . ?a rdf:type ontology:Q34770 } GROUP BY ?b } . FILTER ( ?p = 1 ) }
katakana Linear A hiragana
3
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:writing_system ?b . ?b rdf:type ontology:writing_system . ?a rdf:type ontology:language } GROUP BY ?b } . FILTER ( ?p = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q362
P2348
Q491040
USER
Which violent crime happened in the historical era of World War II ?
(c(Q491040),P2348,Q362)
action filter_type
action find_reverse
entity Q362
relation P2348
type Q491040
[{'concept': 'Q491040'}, 'P2348', 'Q362']
SELECT DISTINCT ?a WHERE { ?a property:P2348 resource:Q362 . ?a rdf:type ontology:Q491040 }
World War II
action filter_type
action find_reverse
entity World War II
relation period
type violent crime
[{'concept': 'violent crime'}, 'period', 'World War II']
SELECT DISTINCT ?a WHERE { ?a property:period resource:World_War_II . ?a rdf:type ontology:violent_crime }
[]
violent crime
Q3297473
SYSTEM
Sant'Anna di Stazzema massacre
Q3297473
(c(Q491040),P2348,Q362)
action filter_type
action find_reverse
entity Q362
relation P2348
type Q491040
[ANSWER] happened in the historical era of World War II
[{'concept': 'Q491040'}, 'P2348', 'Q362']
SELECT DISTINCT ?a WHERE { ?a property:P2348 resource:Q362 . ?a rdf:type ontology:Q491040 }
Sant'Anna di Stazzema massacre
Sant'Anna di Stazzema massacre happened in the historical era of World War II
Sant'Anna di Stazzema massacre
action filter_type
action find_reverse
entity World War II
relation period
type violent crime
[{'concept': 'violent crime'}, 'period', 'World War II']
SELECT DISTINCT ?a WHERE { ?a property:period resource:World_War_II . ?a rdf:type ontology:violent_crime }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q362
P710
Q15617994
USER
Who attended that war ?
(Q3297473,P710,c(Q15617994))
action filter_type
action find
entity Q362
relation P710
type Q15617994
['Q3297473', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q362 property:P710 ?e . ?e rdf:type ontology:Q15617994 }
World War II
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
["Sant'Anna di Stazzema massacre", 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:World_War_II property:participant ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q30 Q142
SYSTEM
Italy, United States of America, France
Q142 Q17 Q30 Q38 Q145
(Q3297473,P710,c(Q15617994))
action filter_type
action find
entity Q362
relation P710
type Q15617994
[ANSWERS] attended that war
['Q3297473', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q362 property:P710 ?e . ?e rdf:type ontology:Q15617994 }
France Japan United States of America Italy United Kingdom
Italy, United States of America and France attended that war
Italy United States of America France
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
["Sant'Anna di Stazzema massacre", 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:World_War_II property:participant ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with atmost 30 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 30
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?i ) WHERE { ?b property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?i <= 30 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?i ) WHERE { ?b property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?i <= 30 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 30
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?i ) WHERE { ?b property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?i <= 30 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?i ) WHERE { ?b property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?i <= 30 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8683
P921
Q198 Q2342494 Q838948
USER
How many wars were less number of collectables and works of art mainly about than Cold War ?
(c(Q2342494)|c(Q838948),P921,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q8683
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?u ) WHERE { { ?k property:P921 ?x . ?x rdf:type ontology:Q198 . ?k rdf:type ontology:Q2342494 } UNION { ?k property:P921 ?x . ?x rdf:type ontology:Q198 . ?k rdf:type ontology:Q838948 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P921 resource:Q8683 . { { ?f rdf:type ontology:Q2342494 } UNION { ?f rdf:type ontology:Q838948 } } } } . FILTER ( ?u < ?a ) }
Cold War
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Cold War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?u ) WHERE { { ?k property:main_subject ?x . ?x rdf:type ontology:war . ?k rdf:type ontology:collectable } UNION { ?k property:main_subject ?x . ?x rdf:type ontology:war . ?k rdf:type ontology:work_of_art } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:main_subject resource:Cold_War . { { ?f rdf:type ontology:collectable } UNION { ?f rdf:type ontology:work_of_art } } } } . FILTER ( ?u < ?a ) }
[]
war collectable work of art
SYSTEM
17
Q81545 Q211855 Q8676 Q633862 Q188972 Q129053 Q1049945 Q10859 Q209297 Q242352 Q201424 Q142529 Q361 Q75984 Q178810 Q545449 Q243620
(c(Q2342494)|c(Q838948),P921,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q8683
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?u ) WHERE { { ?k property:P921 ?x . ?x rdf:type ontology:Q198 . ?k rdf:type ontology:Q2342494 } UNION { ?k property:P921 ?x . ?x rdf:type ontology:Q198 . ?k rdf:type ontology:Q838948 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P921 resource:Q8683 . { { ?f rdf:type ontology:Q2342494 } UNION { ?f rdf:type ontology:Q838948 } } } } . FILTER ( ?u < ?a ) }
2011 Libyan Civil War Finnish Civil War American Civil War Cold War Greek Civil War partition of India Jacobite rising of 1745 Spanish Civil War Farroupilha Revolution Yugoslav Wars nuclear war Algerian Civil War World War I Dirty War Syrian Civil War Iraq War Somali Civil War
17
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Cold War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?u ) WHERE { { ?k property:main_subject ?x . ?x rdf:type ontology:war . ?k rdf:type ontology:collectable } UNION { ?k property:main_subject ?x . ?x rdf:type ontology:war . ?k rdf:type ontology:work_of_art } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:main_subject resource:Cold_War . { { ?f rdf:type ontology:collectable } UNION { ?f rdf:type ontology:work_of_art } } } } . FILTER ( ?u < ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q10859
P921
Q198 Q2342494 Q838948
USER
And also tell me about Spanish Civil War?
(c(Q2342494)|c(Q838948),P921,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q10859
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?j } . FILTER ( ?g < ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { { ?w rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q2342494 } } . ?w property:P921 resource:Q10859 } } }
Spanish Civil War
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Spanish Civil War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?j } . FILTER ( ?g < ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { { ?w rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:collectable } } . ?w property:main_subject resource:Spanish_Civil_War } } }
[]
war collectable work of art
SYSTEM
15
Q81545 Q211855 Q8676 Q633862 Q188972 Q129053 Q1049945 Q209297 Q242352 Q201424 Q142529 Q75984 Q178810 Q545449 Q243620
(c(Q2342494)|c(Q838948),P921,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q10859
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?j } . FILTER ( ?g < ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { { ?w rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q2342494 } } . ?w property:P921 resource:Q10859 } } }
2011 Libyan Civil War Finnish Civil War American Civil War Cold War Greek Civil War partition of India Jacobite rising of 1745 Farroupilha Revolution Yugoslav Wars nuclear war Algerian Civil War Dirty War Syrian Civil War Iraq War Somali Civil War
15
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Spanish Civil War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?j } . FILTER ( ?g < ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { { ?w rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:collectable } } . ?w property:main_subject resource:Spanish_Civil_War } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q40
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with around the same number of administrative territories as Austria ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:Q1048835 . resource:Q40 property:P530 ?h } } . FILTER ( ?g = ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?g ) WHERE { ?e property:P530 ?s . ?e rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?e } }
Austria
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:political_territorial_entity . resource:Austria property:diplomatic_relation ?h } } . FILTER ( ?g = ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?g ) WHERE { ?e property:diplomatic_relation ?s . ?e rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:Q1048835 . resource:Q40 property:P530 ?h } } . FILTER ( ?g = ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?g ) WHERE { ?e property:P530 ?s . ?e rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?e } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:political_territorial_entity . resource:Austria property:diplomatic_relation ?h } } . FILTER ( ?g = ?p ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?g ) WHERE { ?e property:diplomatic_relation ?s . ?e rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q183
P530
Q15617994 Q1048835
USER
And also tell me about Germany?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q183 property:P530 ?j . ?j rdf:type ontology:Q1048835 } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?r ) WHERE { ?a rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 . ?a property:P530 ?e } GROUP BY ?a } }
Germany
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Germany property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?r ) WHERE { ?a rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?e } GROUP BY ?a } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q183 property:P530 ?j . ?j rdf:type ontology:Q1048835 } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?r ) WHERE { ?a rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 . ?a property:P530 ?e } GROUP BY ?a } }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Germany property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?r ) WHERE { ?a rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?e } GROUP BY ?a } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with approximately 26 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 26
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?d ) WHERE { ?f property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?d = 26 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 26
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?d ) WHERE { ?f property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?d = 26 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q953
SYSTEM
United States of America, Russia, Zambia
Q801 Q805 Q159 Q30 Q114 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 26
[ANSWERS] have ambassadorial relations with approximately 26 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?d ) WHERE { ?f property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?d = 26 ) }
Israel Yemen Russia United States of America Kenya Zambia
United States of America, Russia and Zambia have ambassadorial relations with approximately 26 administrative territories
United States of America Russia Zambia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 26
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?d ) WHERE { ?f property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?d = 26 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q142
P35
Q502895
USER
How many people are the heads of state of France ?
(Q142,P35,c(Q502895))
action count
action filter_type
action find
entity Q142
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q142 property:P35 ?g . ?g rdf:type ontology:Q502895 }
France
action count
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:France property:head_of_state ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
8
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124
(Q142,P35,c(Q502895))
action count
action filter_type
action find
entity Q142
relation P35
type Q502895
[ANSWER]
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q142 property:P35 ?g . ?g rdf:type ontology:Q502895 }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
8
action count
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:France property:head_of_state ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q786
Q502895
USER
And how about Dominican Republic?
(Q786,P35,c(Q502895))
action count
action filter_type
action find
entity Q786
relation P35
type Q502895
['Q786', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:Q502895 . resource:Q786 property:P35 ?a }
Dominican Republic
action count
action filter_type
action find
entity Dominican Republic
relation head of state
type common name
['Dominican Republic', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:common_name . resource:Dominican_Republic property:head_of_state ?a }
[]
common name
SYSTEM
8
(Q786,P35,c(Q502895))
action count
action filter_type
action find
entity Q786
relation P35
type Q502895
[ANSWER]
['Q786', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:Q502895 . resource:Q786 property:P35 ?a }
8
action count
action filter_type
action find
entity Dominican Republic
relation head of state
type common name
['Dominican Republic', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:common_name . resource:Dominican_Republic property:head_of_state ?a }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with min number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?b ) { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?g ) WHERE { ?s property:P530 ?r . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?s } } . { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?f ) WHERE { ?q property:P530 ?a . ?q rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?f = ?b ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?b ) { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?g ) WHERE { ?s property:diplomatic_relation ?r . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } } . { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?f ) WHERE { ?q property:diplomatic_relation ?a . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?f = ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have a diplomatic relationship with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?b ) { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?g ) WHERE { ?s property:P530 ?r . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?s } } . { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?f ) WHERE { ?q property:P530 ?a . ?q rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?f = ?b ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have a diplomatic relationship with min number of administrative territories
Central African Republic Kingdom of the Netherlands Kazakhstan
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?b ) { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?g ) WHERE { ?s property:diplomatic_relation ?r . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } } . { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?f ) WHERE { ?q property:diplomatic_relation ?a . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?f = ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q223557 Q1190554 Q15617994
USER
How many administrative territories are named after atmost 1 physical objects or events ?
(c(Q15617994),P138,c(Q223557)|c(Q1190554))
action count
action atmost
action union
action find_tuple_counts
relation P138
type Q15617994
type Q223557
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q223557'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { { ?j rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q223557 . ?j property:P138 ?v } UNION { ?j property:P138 ?v . ?j rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1190554 } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'physical object'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:physical_object . ?j property:named_after ?v } UNION { ?j property:named_after ?v . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:event } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
[]
physical object event designation for an administrative territorial entity
SYSTEM
318
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q223557)|c(Q1190554))
action count
action atmost
action union
action find_tuple_counts
relation P138
type Q15617994
type Q223557
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q223557'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { { ?j rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q223557 . ?j property:P138 ?v } UNION { ?j property:P138 ?v . ?j rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1190554 } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
318
action count
action atmost
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'physical object'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:physical_object . ?j property:named_after ?v } UNION { ?j property:named_after ?v . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:event } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with atmost 43 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 43
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?q <= 43 ) }
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 43
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?q <= 43 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q159
SYSTEM
United States of America, Georgia, Russia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 43
[ANSWERS] hold diplomatic relationship with atmost 43 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?q <= 43 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti 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 Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
United States of America, Georgia and Russia hold diplomatic relationship with atmost 43 administrative territories
United States of America Georgia Russia
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 43
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?q <= 43 ) }
[]