Simple Question (Direct)
Simple Question
Q105764
P166
Q618779
USER
Which award was received by Joe Viera ?
(Q105764,P166,c(Q618779))
action filter_type
action find
entity Q105764
relation P166
type Q618779
['Q105764', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q105764 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Joe Viera
action filter_type
action find
entity Joe Viera
relation award received
type award
['Joe Viera', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Joe_Viera property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q10905380
SYSTEM
Cross of the Order of Merit of the Federal Republic of Germany
Q10905380
(Q105764,P166,c(Q618779))
action filter_type
action find
entity Q105764
relation P166
type Q618779
Germany [ANSWER] was received by Joe Viera
['Q105764', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q105764 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Cross of the Order of Merit of the Federal Republic of Germany
Germany Cross of the Order of Merit of the Federal Republic of Germany was received by Joe Viera
Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Joe Viera
relation award received
type award
['Joe Viera', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Joe_Viera property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q105764
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q10905380,P27,c(Q1048835))
action filter_type
action find
entity Q105764
relation P27
type Q1048835
['Q10905380', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q105764 property:P27 ?l . ?l rdf:type ontology:Q1048835 }
Joe Viera
action filter_type
action find
entity Joe Viera
relation country of citizenship
type political territorial entity
['Cross of the Order of Merit of the Federal Republic of Germany', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Joe_Viera property:country_of_citizenship ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q10905380,P27,c(Q1048835))
action filter_type
action find
entity Q105764
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q10905380', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q105764 property:P27 ?l . ?l rdf:type ontology:Q1048835 }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Joe Viera
relation country of citizenship
type political territorial entity
['Cross of the Order of Merit of the Federal Republic of Germany', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Joe_Viera property:country_of_citizenship ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P841
Q573 Q186081 Q502895
USER
Which people have around 3 days or time intervals as their principal feast day ?
(c(Q502895),P841,c(Q573)|c(Q186081))
action approx
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
value 3
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?m = 3 ) . { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?m ) WHERE { { ?e property:P841 ?v . ?e rdf:type ontology:Q502895 . ?v rdf:type ontology:Q573 } UNION { ?v rdf:type ontology:Q186081 . ?e rdf:type ontology:Q502895 . ?e property:P841 ?v } } GROUP BY ?e } }
action approx
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
value 3
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?m = 3 ) . { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?m ) WHERE { { ?e property:feast_day ?v . ?e rdf:type ontology:common_name . ?v rdf:type ontology:day } UNION { ?v rdf:type ontology:time_interval . ?e rdf:type ontology:common_name . ?e property:feast_day ?v } } GROUP BY ?e } }
[]
day time interval common name
Q724454 Q18691847
SYSTEM
Julian of Antioch, Saint Ilar
Q724454 Q18691847
(c(Q502895),P841,c(Q573)|c(Q186081))
action approx
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
value 3
[ANSWERS] have around 3 days or time intervals as their principal feast day
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?m = 3 ) . { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?m ) WHERE { { ?e property:P841 ?v . ?e rdf:type ontology:Q502895 . ?v rdf:type ontology:Q573 } UNION { ?v rdf:type ontology:Q186081 . ?e rdf:type ontology:Q502895 . ?e property:P841 ?v } } GROUP BY ?e } }
Julian of Antioch Saint Ilar
Julian of Antioch and Saint Ilar have around 3 days or time intervals as their principal feast day
Julian of Antioch Saint Ilar
action approx
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
value 3
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?m = 3 ) . { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?m ) WHERE { { ?e property:feast_day ?v . ?e rdf:type ontology:common_name . ?v rdf:type ontology:day } UNION { ?v rdf:type ontology:time_interval . ?e rdf:type ontology:common_name . ?e property:feast_day ?v } } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11621483
P725
Q502895 Q5398426
USER
How many television series had more number of people as the dubbing artist than Arpeggio of Blue Steel ?
(c(Q5398426),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q11621483
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?k ) WHERE { ?s property:P725 ?m . ?s rdf:type ontology:Q5398426 . ?m rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q11621483 property:P725 ?u . ?u rdf:type ontology:Q5398426 } } . FILTER ( ?k > ?n ) }
Arpeggio of Blue Steel
action count
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Arpeggio of Blue Steel
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?k ) WHERE { ?s property:voice_actor ?m . ?s rdf:type ontology:television_series . ?m rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Arpeggio_of_Blue_Steel property:voice_actor ?u . ?u rdf:type ontology:television_series } } . FILTER ( ?k > ?n ) }
[]
common name television series
SYSTEM
20
Q602721 Q662 Q199073 Q881797 Q211183 Q1335290 Q498079 Q386361 Q483535 Q3280971 Q1339165 Q921440 Q5364072 Q15392994 Q1617849 Q1657773 Q2498954 Q281062 Q4185849 Q2756865
(c(Q5398426),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q11621483
relation P725
type Q5398426
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?k ) WHERE { ?s property:P725 ?m . ?s rdf:type ontology:Q5398426 . ?m rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q11621483 property:P725 ?u . ?u rdf:type ontology:Q5398426 } } . FILTER ( ?k > ?n ) }
Shugo Chara! Neon Genesis Evangelion Tokyo Ravens YuruYuri Tamako Market Medaka Box Pretty Rhythm Devil May Cry: The Animated Series Ore no Imōto ga Konna ni Kawaii Wake ga Nai Love Live! Hyōka Seitokai Yakuindomo Non Non Biyori Prison School High School DxD Inu x Boku SS The Ambition of Oda Nobuna The Qwaser of Stigmata Gokujyo NG Knight Lamune & 40
20
action count
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Arpeggio of Blue Steel
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?k ) WHERE { ?s property:voice_actor ?m . ?s rdf:type ontology:television_series . ?m rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Arpeggio_of_Blue_Steel property:voice_actor ?u . ?u rdf:type ontology:television_series } } . FILTER ( ?k > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1798603
P1303
Q34379 Q502895
USER
How many musical instruments do around the same number of people know to play as string instrument ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1798603
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:P1303 ?u . ?t rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q1798603 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?m = ?k ) }
string instrument
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity string instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:instrument ?u . ?t rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:string_instrument property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?m = ?k ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1798603
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:P1303 ?u . ?t rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q1798603 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?m = ?k ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity string instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:instrument ?u . ?t rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:string_instrument property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?m = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q744831
P1303
Q34379 Q502895
USER
And how about Mridangam?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q744831
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q744831 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?z = ?o ) }
Mridangam
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Mridangam
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Mridangam property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?z = ?o ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q744831
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q744831 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?z = ?o ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Mridangam
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Mridangam property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?z = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q641138
P17
Q1048835 Q34442 Q2668072
USER
Which political territories are greater number of roads or collections present in than Duchy of Cleves ?
(c(Q34442)|c(Q2668072),P17,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q34442
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q2668072
action count
action filter_multi_types
action find_reverse
entity Q641138
relation P17
type Q34442
type Q2668072
[[{'concept': 'Q34442'}, {'concept': 'Q2668072'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:Q34442 ) ( ontology:Q2668072 ) } } GROUP BY ?b } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P17 resource:Q641138 . { VALUES ( ?m ) { ( ontology:Q34442 ) ( ontology:Q2668072 ) } . ?p rdf:type ?m } } } }
Duchy of Cleves
action greater
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type road
action find_reverse_tuple_counts
relation country
type political territorial entity
type collection
action count
action filter_multi_types
action find_reverse
entity Duchy of Cleves
relation country
type road
type collection
[[{'concept': 'road'}, {'concept': 'collection'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:road ) ( ontology:collection ) } } GROUP BY ?b } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:country resource:Duchy_of_Cleves . { VALUES ( ?m ) { ( ontology:road ) ( ontology:collection ) } . ?p rdf:type ?m } } } }
[]
political territorial entity road collection
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q183 Q785 Q9676 Q664 Q16 Q5785 Q35 Q778 Q408 Q781 Q40 Q23635 Q192184
(c(Q34442)|c(Q2668072),P17,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q34442
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q2668072
action count
action filter_multi_types
action find_reverse
entity Q641138
relation P17
type Q34442
type Q2668072
[ANSWERS] are greater number of roads or collections present in than Duchy of Cleves
[[{'concept': 'Q34442'}, {'concept': 'Q2668072'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:Q34442 ) ( ontology:Q2668072 ) } } GROUP BY ?b } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P17 resource:Q641138 . { VALUES ( ?m ) { ( ontology:Q34442 ) ( ontology:Q2668072 ) } . ?p rdf:type ?m } } } }
Germany Jersey Isle of Man New Zealand Canada Cayman Islands Denmark The Bahamas Australia Antigua and Barbuda Austria Bermuda Saint Helena, Ascension and Tristan da Cunha
Germany, Australia and Denmark are greater number of roads or collections present in than Duchy of Cleves
Germany Australia Denmark
action greater
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type road
action find_reverse_tuple_counts
relation country
type political territorial entity
type collection
action count
action filter_multi_types
action find_reverse
entity Duchy of Cleves
relation country
type road
type collection
[[{'concept': 'road'}, {'concept': 'collection'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:road ) ( ontology:collection ) } } GROUP BY ?b } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:country resource:Duchy_of_Cleves . { VALUES ( ?m ) { ( ontology:road ) ( ontology:collection ) } . ?p rdf:type ?m } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q35672
P17
Q1048835 Q34442 Q2668072
USER
And also tell me about Pitcairn Islands?
(c(Q34442)|c(Q2668072),P17,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q34442
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q2668072
action count
action filter_multi_types
action find_reverse
entity Q35672
relation P17
type Q34442
type Q2668072
[[{'concept': 'Q34442'}, {'concept': 'Q2668072'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?p ) { ( ontology:Q34442 ) ( ontology:Q2668072 ) } . ?d rdf:type ?p } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { VALUES ( ?g ) { ( ontology:Q34442 ) ( ontology:Q2668072 ) } . ?v rdf:type ?g } . ?v property:P17 resource:Q35672 } } . FILTER ( ?j > ?l ) }
Pitcairn Islands
action greater
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type road
action find_reverse_tuple_counts
relation country
type political territorial entity
type collection
action count
action filter_multi_types
action find_reverse
entity Pitcairn Islands
relation country
type road
type collection
[[{'concept': 'road'}, {'concept': 'collection'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?p ) { ( ontology:road ) ( ontology:collection ) } . ?d rdf:type ?p } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { VALUES ( ?g ) { ( ontology:road ) ( ontology:collection ) } . ?v rdf:type ?g } . ?v property:country resource:Pitcairn_Islands } } . FILTER ( ?j > ?l ) }
[]
political territorial entity road collection
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q183 Q785 Q9676 Q664 Q16 Q5785 Q35 Q778 Q408 Q781 Q40 Q23635 Q192184
(c(Q34442)|c(Q2668072),P17,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q34442
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q2668072
action count
action filter_multi_types
action find_reverse
entity Q35672
relation P17
type Q34442
type Q2668072
[ANSWERS]
[[{'concept': 'Q34442'}, {'concept': 'Q2668072'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?p ) { ( ontology:Q34442 ) ( ontology:Q2668072 ) } . ?d rdf:type ?p } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { VALUES ( ?g ) { ( ontology:Q34442 ) ( ontology:Q2668072 ) } . ?v rdf:type ?g } . ?v property:P17 resource:Q35672 } } . FILTER ( ?j > ?l ) }
Germany Jersey Isle of Man New Zealand Canada Cayman Islands Denmark The Bahamas Australia Antigua and Barbuda Austria Bermuda Saint Helena, Ascension and Tristan da Cunha
Germany Australia Denmark
action greater
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type road
action find_reverse_tuple_counts
relation country
type political territorial entity
type collection
action count
action filter_multi_types
action find_reverse
entity Pitcairn Islands
relation country
type road
type collection
[[{'concept': 'road'}, {'concept': 'collection'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?p ) { ( ontology:road ) ( ontology:collection ) } . ?d rdf:type ?p } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { VALUES ( ?g ) { ( ontology:road ) ( ontology:collection ) } . ?v rdf:type ?g } . ?v property:country resource:Pitcairn_Islands } } . FILTER ( ?j > ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relationships with approximately 6 political territories ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?d ) WHERE { ?c property:P530 ?z . ?z rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?d = 6 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?d ) WHERE { ?c property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?d = 6 ) }
[]
political territorial entity political territorial entity
Q183 Q16
SYSTEM
Germany, Canada
Q183 Q16
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[ANSWERS] have diplomatic relationships with approximately 6 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?d ) WHERE { ?c property:P530 ?z . ?z rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?d = 6 ) }
Germany Canada
Germany and Canada have diplomatic relationships with approximately 6 political territories
Germany Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?d ) WHERE { ?c property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?d = 6 ) }
[]