Simple Question (Direct)
Simple Question
Q3702368
P21
Q290
USER
What is the sex of Dante Lodrini ?
(Q3702368,P21,c(Q290))
action filter_type
action find
entity Q3702368
relation P21
type Q290
['Q3702368', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3702368 property:P21 ?u . ?u rdf:type ontology:Q290 }
Dante Lodrini
action filter_type
action find
entity Dante Lodrini
relation gender
type sex
['Dante Lodrini', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Dante_Lodrini property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3702368,P21,c(Q290))
action filter_type
action find
entity Q3702368
relation P21
type Q290
The sex of Dante Lodrini is the [ANSWER]
['Q3702368', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3702368 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
The sex of Dante Lodrini is the male
male
action filter_type
action find
entity Dante Lodrini
relation gender
type sex
['Dante Lodrini', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Dante_Lodrini property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3702368
P19
Q56061
USER
Where was Dante Lodrini born ?
(Q3702368,P19,c(Q56061))
action filter_type
action find
entity Q3702368
relation P19
type Q56061
['Q3702368', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3702368 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Dante Lodrini
action filter_type
action find
entity Dante Lodrini
relation place of birth
type administrative territorial entity
['Dante Lodrini', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Dante_Lodrini property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q3702368,P19,c(Q56061))
action filter_type
action find
entity Q3702368
relation P19
type Q56061
Dante Lodrini was born in [ANSWER]
['Q3702368', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3702368 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Milan
Dante Lodrini was born in Milan
Milan
action filter_type
action find
entity Dante Lodrini
relation place of birth
type administrative territorial entity
['Dante Lodrini', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Dante_Lodrini property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3702368
P27
Q15617994
USER
Which administrative territory is Dante Lodrini a civilian of ?
(Q3702368,P27,c(Q15617994))
action filter_type
action find
entity Q3702368
relation P27
type Q15617994
['Q3702368', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3702368 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Dante Lodrini
action filter_type
action find
entity Dante Lodrini
relation country of citizenship
type designation for an administrative territorial entity
['Dante Lodrini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Dante_Lodrini property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3702368,P27,c(Q15617994))
action filter_type
action find
entity Q3702368
relation P27
type Q15617994
[ANSWER] is Dante Lodrini a civilian of
['Q3702368', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3702368 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Italy
Italy is Dante Lodrini a civilian of
Italy
action filter_type
action find
entity Dante Lodrini
relation country of citizenship
type designation for an administrative territorial entity
['Dante Lodrini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Dante_Lodrini property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P162
Q838948
USER
Which work of art has been developed by that administrative territory ?
(c(Q838948),P162,Q38)
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q38']
SELECT DISTINCT ?p WHERE { ?p property:P162 resource:Q38 . ?p rdf:type ontology:Q838948 }
Italy
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Italy']
SELECT DISTINCT ?p WHERE { ?p property:producer resource:Italy . ?p rdf:type ontology:work_of_art }
[]
work of art
Q2933446
SYSTEM
Calabuch
Q2933446
(c(Q838948),P162,Q38)
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
The [ANSWER] has been developed by that administrative territory
[{'concept': 'Q838948'}, 'P162', 'Q38']
SELECT DISTINCT ?p WHERE { ?p property:P162 resource:Q38 . ?p rdf:type ontology:Q838948 }
Calabuch
The Calabuch has been developed by that administrative territory
Calabuch
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Italy']
SELECT DISTINCT ?p WHERE { ?p property:producer resource:Italy . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P437
Q82799
USER
Which name was distributed as Italy ?
(c(Q82799),P437,Q38)
action filter_type
action find_reverse
entity Q38
relation P437
type Q82799
[{'concept': 'Q82799'}, 'P437', 'Q38']
SELECT DISTINCT ?w WHERE { ?w property:P437 resource:Q38 . ?w rdf:type ontology:Q82799 }
Italy
action filter_type
action find_reverse
entity Italy
relation distribution
type name
[{'concept': 'name'}, 'distribution', 'Italy']
SELECT DISTINCT ?w WHERE { ?w property:distribution resource:Italy . ?w rdf:type ontology:name }
[]
name
Q19891513
SYSTEM
Fonseca
Q19891513
(c(Q82799),P437,Q38)
action filter_type
action find_reverse
entity Q38
relation P437
type Q82799
Italy [ANSWER] was distributed as Italy
[{'concept': 'Q82799'}, 'P437', 'Q38']
SELECT DISTINCT ?w WHERE { ?w property:P437 resource:Q38 . ?w rdf:type ontology:Q82799 }
Fonseca
Italy Fonseca was distributed as Italy
Fonseca
action filter_type
action find_reverse
entity Italy
relation distribution
type name
[{'concept': 'name'}, 'distribution', 'Italy']
SELECT DISTINCT ?w WHERE { ?w property:distribution resource:Italy . ?w rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P85
Q7725634
USER
Which is the national anthem of Italy ?
(Q38,P85,c(Q7725634))
action filter_type
action find
entity Q38
relation P85
type Q7725634
['Q38', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?y WHERE { resource:Q38 property:P85 ?y . ?y rdf:type ontology:Q7725634 }
Italy
action filter_type
action find
entity Italy
relation anthem
type literary work
['Italy', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?y WHERE { resource:Italy property:anthem ?y . ?y rdf:type ontology:literary_work }
[]
literary work
Q187
SYSTEM
Il Canto degli Italiani
Q187
(Q38,P85,c(Q7725634))
action filter_type
action find
entity Q38
relation P85
type Q7725634
The national anthem of Italy is the [ANSWER]
['Q38', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?y WHERE { resource:Q38 property:P85 ?y . ?y rdf:type ontology:Q7725634 }
Il Canto degli Italiani
The national anthem of Italy is the Il Canto degli Italiani
Il Canto degli Italiani
action filter_type
action find
entity Italy
relation anthem
type literary work
['Italy', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?y WHERE { resource:Italy property:anthem ?y . ?y rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P291
Q1002697
USER
Which periodical literatures have that administrative territory as their publication place ?
(c(Q1002697),P291,Q187)
action filter_type
action find_reverse
entity Q38
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q187']
SELECT DISTINCT ?e WHERE { ?e property:P291 resource:Q38 . ?e rdf:type ontology:Q1002697 }
Italy
action filter_type
action find_reverse
entity Italy
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Il Canto degli Italiani']
SELECT DISTINCT ?e WHERE { ?e property:place_of_publication resource:Italy . ?e rdf:type ontology:periodical_literature }
[]
periodical literature
Q18171439 Q18171445 Q18171516
SYSTEM
The Prince, The Empire, Today and Tomorrow
Q18171516 Q18171422 Q18171439 Q18171445
(c(Q1002697),P291,Q187)
action filter_type
action find_reverse
entity Q38
relation P291
type Q1002697
[ANSWERS] have that administrative territory as their publication place
[{'concept': 'Q1002697'}, 'P291', 'Q187']
SELECT DISTINCT ?e WHERE { ?e property:P291 resource:Q38 . ?e rdf:type ontology:Q1002697 }
Today and Tomorrow L'ardito The Prince The Empire
The Prince, The Empire and Today and Tomorrow have that administrative territory as their publication place
The Prince The Empire Today and Tomorrow
action filter_type
action find_reverse
entity Italy
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Il Canto degli Italiani']
SELECT DISTINCT ?e WHERE { ?e property:place_of_publication resource:Italy . ?e rdf:type ontology:periodical_literature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P194
Q1752346
USER
Which assembly is the legislative body for Italy ?
(Q38,P194,c(Q1752346))
action filter_type
action find
entity Q38
relation P194
type Q1752346
['Q38', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { resource:Q38 property:P194 ?t . ?t rdf:type ontology:Q1752346 }
Italy
action filter_type
action find
entity Italy
relation legislative body
type assembly
['Italy', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { resource:Italy property:legislative_body ?t . ?t rdf:type ontology:assembly }
[]
assembly
Q1117578
SYSTEM
Italian Parliament
Q1117578
(Q38,P194,c(Q1752346))
action filter_type
action find
entity Q38
relation P194
type Q1752346
[ANSWER] is the legislative body for Italy
['Q38', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { resource:Q38 property:P194 ?t . ?t rdf:type ontology:Q1752346 }
Italian Parliament
Italian Parliament is the legislative body for Italy
Italian Parliament
action filter_type
action find
entity Italy
relation legislative body
type assembly
['Italy', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { resource:Italy property:legislative_body ?t . ?t rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1117578 Q38
P17
Q15617994
USER
Is that assembly a part of Italy ?
(Q1117578,P17,Q38)
action is_in
entity Q38
action find
entity Q1117578
relation P17
['Q1117578', 'P17', 'Q38']
ASK WHERE { resource:Q1117578 property:P17 resource:Q38 }
Italian Parliament Italy
action is_in
entity Italy
action find
entity Italian Parliament
relation country
['Italian Parliament', 'country', 'Italy']
ASK WHERE { resource:Italian_Parliament property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1117578,P17,Q38)
action is_in
entity Q38
action find
entity Q1117578
relation P17
[ANSWER]
['Q1117578', 'P17', 'Q38']
ASK WHERE { resource:Q1117578 property:P17 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Italian Parliament
relation country
['Italian Parliament', 'country', 'Italy']
ASK WHERE { resource:Italian_Parliament property:country resource:Italy }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18171445 Q720105 Q2283869
P112
Q502895
USER
Was The Empire founded by Mario Carli and Siegfried Widera ?
(Q18171445,P112,Q720105) (Q18171445,P112,Q2283869)
action is_in
entity Q18171445
action intersection
action find_reverse
entity Q720105
relation P112
action find_reverse
entity Q2283869
relation P112
['Q18171445', 'P112', 'Q720105'] ['Q18171445', 'P112', 'Q2283869']
ASK WHERE { resource:Q18171445 property:P112 resource:Q720105 . resource:Q18171445 property:P112 resource:Q2283869 }
The Empire Mario Carli Siegfried Widera
action is_in
entity The Empire
action intersection
action find_reverse
entity Mario Carli
relation founder
action find_reverse
entity Siegfried Widera
relation founder
['The Empire', 'founder', 'Mario Carli'] ['The Empire', 'founder', 'Siegfried Widera']
ASK WHERE { resource:The_Empire property:founder resource:Mario_Carli . resource:The_Empire property:founder resource:Siegfried_Widera }
[]
common name
SYSTEM
YES and NO respectively
(Q18171445,P112,Q720105) (Q18171445,P112,Q2283869)
action is_in
entity Q18171445
action intersection
action find_reverse
entity Q720105
relation P112
action find_reverse
entity Q2283869
relation P112
[ANSWER]
['Q18171445', 'P112', 'Q720105'] ['Q18171445', 'P112', 'Q2283869']
ASK WHERE { resource:Q18171445 property:P112 resource:Q720105 . resource:Q18171445 property:P112 resource:Q2283869 }
YES and NO respectively
action is_in
entity The Empire
action intersection
action find_reverse
entity Mario Carli
relation founder
action find_reverse
entity Siegfried Widera
relation founder
['The Empire', 'founder', 'Mario Carli'] ['The Empire', 'founder', 'Siegfried Widera']
ASK WHERE { resource:The_Empire property:founder resource:Mario_Carli . resource:The_Empire property:founder resource:Siegfried_Widera }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P805
Q15617994 Q1752346
USER
Which administrative territories are min number of assemblies a subject of ?
(c(Q1752346),P805,Q856076)
action argmin
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
[{'concept': 'Q1752346'}, 'P805', 'Q856076']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P805 ?e . ?e rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1752346 } GROUP BY ?e } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P805 ?a . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1752346 } GROUP BY ?a } . FILTER ( ?c = ?p ) }
action argmin
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
[{'concept': 'assembly'}, 'subject of', 'municipality of Finland']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:subject_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:assembly } GROUP BY ?e } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:subject_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:assembly } GROUP BY ?a } . FILTER ( ?c = ?p ) }
[]
designation for an administrative territorial entity assembly
Q928 Q856076
SYSTEM
Philippines, municipality of Finland
Q928 Q856076
(c(Q1752346),P805,Q856076)
action argmin
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
[ANSWERS] are min number of assemblies a subject of
[{'concept': 'Q1752346'}, 'P805', 'Q856076']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P805 ?e . ?e rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1752346 } GROUP BY ?e } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P805 ?a . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1752346 } GROUP BY ?a } . FILTER ( ?c = ?p ) }
Philippines municipality of Finland
Philippines and municipality of Finland are min number of assemblies a subject of
Philippines municipality of Finland
action argmin
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
[{'concept': 'assembly'}, 'subject of', 'municipality of Finland']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:subject_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:assembly } GROUP BY ?e } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:subject_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:assembly } GROUP BY ?a } . FILTER ( ?c = ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q187 Q41180
P85
Q161243
USER
How many dependent territories have Il Canto degli Italiani or La Marseillaise as their national anthem ?
(c(Q161243),P85,Q187) (c(Q161243),P85,Q41180)
action count
action union
action filter_type
action find_reverse
entity Q187
relation P85
type Q161243
action filter_type
action find_reverse
entity Q41180
relation P85
type Q161243
[{'concept': 'Q161243'}, 'P85', 'Q187'] [{'concept': 'Q161243'}, 'P85', 'Q41180']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Q187 ) ( resource:Q41180 ) } . ?z property:P85 ?u }
Il Canto degli Italiani La Marseillaise
action count
action union
action filter_type
action find_reverse
entity Il Canto degli Italiani
relation anthem
type dependent territory
action filter_type
action find_reverse
entity La Marseillaise
relation anthem
type dependent territory
[{'concept': 'dependent territory'}, 'anthem', 'Il Canto degli Italiani'] [{'concept': 'dependent territory'}, 'anthem', 'La Marseillaise']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Il_Canto_degli_Italiani ) ( resource:La_Marseillaise ) } . ?z property:anthem ?u }
[]
dependent territory
SYSTEM
7
Q907234 Q126125 Q797433 Q35555 Q30971 Q5501708 Q179023
(c(Q161243),P85,Q187) (c(Q161243),P85,Q41180)
action count
action union
action filter_type
action find_reverse
entity Q187
relation P85
type Q161243
action filter_type
action find_reverse
entity Q41180
relation P85
type Q161243
[ANSWER]
[{'concept': 'Q161243'}, 'P85', 'Q187'] [{'concept': 'Q161243'}, 'P85', 'Q41180']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Q187 ) ( resource:Q41180 ) } . ?z property:P85 ?u }
French protectorate in Morocco Saint Martin French Guinea Wallis and Futuna French Polynesia French Chad French colonial empire
7
action count
action union
action filter_type
action find_reverse
entity Il Canto degli Italiani
relation anthem
type dependent territory
action filter_type
action find_reverse
entity La Marseillaise
relation anthem
type dependent territory
[{'concept': 'dependent territory'}, 'anthem', 'Il Canto degli Italiani'] [{'concept': 'dependent territory'}, 'anthem', 'La Marseillaise']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Il_Canto_degli_Italiani ) ( resource:La_Marseillaise ) } . ?z property:anthem ?u }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q766
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with greater number of administrative territories than Jamaica ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?e ) WHERE { ?a property:P530 ?d . ?a rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Q766 property:P530 ?h . ?h rdf:type ontology:Q1048835 } } . FILTER ( ?e > ?w ) }
Jamaica
action greater
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 Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?e ) WHERE { ?a property:diplomatic_relation ?d . ?a rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Jamaica property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } } . FILTER ( ?e > ?w ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with greater number of administrative territories than Jamaica
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?e ) WHERE { ?a property:P530 ?d . ?a rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Q766 property:P530 ?h . ?h rdf:type ontology:Q1048835 } } . FILTER ( ?e > ?w ) }
Austria Germany Australia Denmark Canada New Zealand
Germany, Australia and Denmark have diplomatic relations with greater number of administrative territories than Jamaica
Germany Australia Denmark
action greater
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 Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?e ) WHERE { ?a property:diplomatic_relation ?d . ?a rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Jamaica property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } } . FILTER ( ?e > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q40
P530
Q1048835 Q15617994
USER
And also tell me about Austria?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?x ) WHERE { ?c property:P530 ?l . ?c rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q40 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?x > ?s ) }
Austria
action greater
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': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?x ) WHERE { ?c property:diplomatic_relation ?l . ?c rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Austria property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?x > ?s ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?x ) WHERE { ?c property:P530 ?l . ?c rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q40 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?x > ?s ) }
Germany Australia Canada
Germany Australia Canada
action greater
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': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?x ) WHERE { ?c property:diplomatic_relation ?l . ?c rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Austria property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?x > ?s ) }
[]