Simple Question (Direct)
Simple Question
Q7827925
P641
Q349
USER
Which sport was Tot Walsh a part of ?
(Q7827925,P641,c(Q349))
action filter_type
action find
entity Q7827925
relation P641
type Q349
['Q7827925', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q7827925 property:P641 ?z . ?z rdf:type ontology:Q349 }
Tot Walsh
action filter_type
action find
entity Tot Walsh
relation sport
type sport
['Tot Walsh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Tot_Walsh property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7827925,P641,c(Q349))
action filter_type
action find
entity Q7827925
relation P641
type Q349
Which sport was Tot Walsh a part of
['Q7827925', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q7827925 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
Which sport was Tot Walsh a part of
association football
action filter_type
action find
entity Tot Walsh
relation sport
type sport
['Tot Walsh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Tot_Walsh property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7827925
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7827925
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q7827925 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Tot Walsh
action filter_type
action find
entity Tot Walsh
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Tot_Walsh property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7827925
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q7827925 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the native country of that person
United Kingdom
action filter_type
action find
entity Tot Walsh
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Tot_Walsh property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q2342494
USER
How many administrative territories did greater number of television programs or collectables originate than that administrative territory ?
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q145
relation P495
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?l WHERE { { ?m property:P495 ?l . ?l rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15416 } UNION { ?m property:P495 ?l . ?l rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q2342494 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P495 resource:Q145 . { { ?w rdf:type ontology:Q15416 } UNION { ?w rdf:type ontology:Q2342494 } } } } . FILTER ( ?o > ?k ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation country of origin
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?l WHERE { { ?m property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:television_program } UNION { ?m property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:collectable } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:country_of_origin resource:United_Kingdom . { { ?w rdf:type ontology:television_program } UNION { ?w rdf:type ontology:collectable } } } } . FILTER ( ?o > ?k ) }
[]
designation for an administrative territorial entity television program collectable
SYSTEM
1
Q30
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q145
relation P495
type Q15416
type Q2342494
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?l WHERE { { ?m property:P495 ?l . ?l rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15416 } UNION { ?m property:P495 ?l . ?l rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q2342494 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P495 resource:Q145 . { { ?w rdf:type ontology:Q15416 } UNION { ?w rdf:type ontology:Q2342494 } } } } . FILTER ( ?o > ?k ) }
United States of America
1
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation country of origin
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?l WHERE { { ?m property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:television_program } UNION { ?m property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:collectable } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:country_of_origin resource:United_Kingdom . { { ?w rdf:type ontology:television_program } UNION { ?w rdf:type ontology:collectable } } } } . FILTER ( ?o > ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1007
P1376
Q15617994 Q20667921 Q56061
USER
Which administrative territories have greater number of french administrative divisions and administrative territories as their capital than Guinea-Bissau ?
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q1007
relation P1376
type Q20667921
type Q56061
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P1376 resource:Q1007 . { { ?t rdf:type ontology:Q20667921 } UNION { ?t rdf:type ontology:Q56061 } } } } . FILTER ( ?r > ?p ) }
Guinea-Bissau
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Guinea-Bissau
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:capital_of resource:Guinea-Bissau . { { ?t rdf:type ontology:type_of_french_administrative_division } UNION { ?t rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?r > ?p ) }
[]
designation for an administrative territorial entity type of french administrative division administrative territorial entity
Q38 Q30 Q805
SYSTEM
Italy, United States of America, Yemen
Q805 Q2998020 Q258 Q3259 Q12798 Q1020 Q12703 Q12569 Q41 Q12789 Q30 Q38 Q12730 Q199688 Q3278 Q12772 Q12661 Q12536 Q517333 Q160307
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q1007
relation P1376
type Q20667921
type Q56061
[ANSWERS] have greater number of french administrative divisions and administrative territories as their capital than Guinea-Bissau
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P1376 resource:Q1007 . { { ?t rdf:type ontology:Q20667921 } UNION { ?t rdf:type ontology:Q56061 } } } } . FILTER ( ?r > ?p ) }
Yemen Corse South Africa Cantal Vendée Malawi Pyrénées-Atlantiques Loire Greece Var United States of America Italy Haute-Saône Almohad Charente-Maritime Tarn Nord Abbasid caliphate Principality of Polotsk Fatimid caliphate
Italy, United States of America and Yemen have greater number of french administrative divisions and administrative territories as their capital than Guinea-Bissau
Italy United States of America Yemen
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Guinea-Bissau
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:capital_of resource:Guinea-Bissau . { { ?t rdf:type ontology:type_of_french_administrative_division } UNION { ?t rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?r > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q12751
P1376
Q15617994 Q20667921 Q56061
USER
And how about Haute-Savoie?
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q12751
relation P1376
type Q20667921
type Q56061
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { VALUES ( ?i ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?j rdf:type ?i } . ?j property:P1376 resource:Q12751 } } . FILTER ( ?t > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?o WHERE { VALUES ( ?q ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?p rdf:type ?q } GROUP BY ?o } }
Haute-Savoie
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Haute-Savoie
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { VALUES ( ?i ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?j rdf:type ?i } . ?j property:capital_of resource:Haute-Savoie } } . FILTER ( ?t > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?o WHERE { VALUES ( ?q ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?p rdf:type ?q } GROUP BY ?o } }
[]
designation for an administrative territorial entity type of french administrative division administrative territorial entity
Q38 Q30 Q805
SYSTEM
Italy, United States of America, Yemen
Q805 Q2998020 Q258 Q3259 Q12798 Q1020 Q12703 Q12569 Q41 Q12789 Q30 Q38 Q12730 Q199688 Q3278 Q12772 Q12661 Q12536 Q517333 Q160307
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q12751
relation P1376
type Q20667921
type Q56061
[ANSWERS]
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { VALUES ( ?i ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?j rdf:type ?i } . ?j property:P1376 resource:Q12751 } } . FILTER ( ?t > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?o WHERE { VALUES ( ?q ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?p rdf:type ?q } GROUP BY ?o } }
Yemen Corse South Africa Cantal Vendée Malawi Pyrénées-Atlantiques Loire Greece Var United States of America Italy Haute-Saône Almohad Charente-Maritime Tarn Nord Abbasid caliphate Principality of Polotsk Fatimid caliphate
Italy United States of America Yemen
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Haute-Savoie
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { VALUES ( ?i ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?j rdf:type ?i } . ?j property:capital_of resource:Haute-Savoie } } . FILTER ( ?t > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?o WHERE { VALUES ( ?q ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?p rdf:type ?q } GROUP BY ?o } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with max number of administrative territories and political territories ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action argmax
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?r = ?n ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) ?w WHERE { { ?v rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 . ?w property:P530 ?v } UNION { ?w rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 . ?w property:P530 ?v } } GROUP BY ?w } . { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?f WHERE { { ?x rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?f property:P530 ?x } UNION { ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 . ?f property:P530 ?x } } GROUP BY ?f } } }
action argmax
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?r = ?n ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) ?w WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?v } UNION { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity . ?w property:diplomatic_relation ?v } } GROUP BY ?w } . { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?f WHERE { { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?x } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation ?x } } GROUP BY ?f } } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action argmax
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWER] have tactful political relations with max number of administrative territories and political territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?r = ?n ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) ?w WHERE { { ?v rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 . ?w property:P530 ?v } UNION { ?w rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 . ?w property:P530 ?v } } GROUP BY ?w } . { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?f WHERE { { ?x rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?f property:P530 ?x } UNION { ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 . ?f property:P530 ?x } } GROUP BY ?f } } }
Georgia
Georgia have tactful political relations with max number of administrative territories and political territories
Georgia
action argmax
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?r = ?n ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) ?w WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?v } UNION { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity . ?w property:diplomatic_relation ?v } } GROUP BY ?w } . { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?f WHERE { { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?x } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation ?x } } GROUP BY ?f } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q2342494
USER
Which administrative territories are the countries of origin of more number of musical ensembles or collectables than that administrative territory ?
(c(Q2088357)|c(Q2342494),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q230
relation P495
type Q2088357
type Q2342494
[[{'concept': 'Q2088357'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { { ?d rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q2088357 } } . ?d property:P495 resource:Q230 } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?x ) WHERE { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2088357 ) ( ontology:Q2342494 ) } } GROUP BY ?b } }
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Georgia
relation country of origin
type musical ensemble
type collectable
[[{'concept': 'musical ensemble'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { { ?d rdf:type ontology:collectable } UNION { ?d rdf:type ontology:musical_ensemble } } . ?d property:country_of_origin resource:Georgia } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?x ) WHERE { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:musical_ensemble ) ( ontology:collectable ) } } GROUP BY ?b } }
[]
designation for an administrative territorial entity musical ensemble collectable
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q258 Q45 Q159 Q43 Q155 Q884 Q33 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q20 Q27 Q28 Q96 Q17 Q298 Q213 Q215 Q29
(c(Q2088357)|c(Q2342494),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q230
relation P495
type Q2088357
type Q2342494
[ANSWERS] are the countries of origin of more number of musical ensembles or collectables than that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { { ?d rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q2088357 } } . ?d property:P495 resource:Q230 } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?x ) WHERE { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2088357 ) ( ontology:Q2342494 ) } } GROUP BY ?b } }
Israel India Argentina France Netherlands United Kingdom People's Republic of China South Africa Portugal Russia Turkey Brazil South Korea Finland Belgium United States of America Poland Sweden Philippines Switzerland Italy Norway Ireland Hungary Mexico Japan Chile Czech Republic Slovenia Spain
Italy, Brazil and United States of America are the countries of origin of more number of musical ensembles or collectables than that administrative territory
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Georgia
relation country of origin
type musical ensemble
type collectable
[[{'concept': 'musical ensemble'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { { ?d rdf:type ontology:collectable } UNION { ?d rdf:type ontology:musical_ensemble } } . ?d property:country_of_origin resource:Georgia } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?x ) WHERE { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:musical_ensemble ) ( ontology:collectable ) } } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230
P159
Q7210356
USER
Which political organizations have their HQ location at Georgia ?
(c(Q7210356),P159,Q230)
action filter_type
action find_reverse
entity Q230
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q230']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q230 . ?n rdf:type ontology:Q7210356 }
Georgia
action filter_type
action find_reverse
entity Georgia
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Georgia']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Georgia . ?n rdf:type ontology:political_organization }
[]
political organization
Q1509468 Q2607801
SYSTEM
Georgian Labour Party, Democratic Movement – United Georgia
Q1509468 Q2607801
(c(Q7210356),P159,Q230)
action filter_type
action find_reverse
entity Q230
relation P159
type Q7210356
The [ANSWERS] have their HQ location at Georgia
[{'concept': 'Q7210356'}, 'P159', 'Q230']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q230 . ?n rdf:type ontology:Q7210356 }
Georgian Labour Party Democratic Movement – United Georgia
The Georgian Labour Party and Democratic Movement – United Georgia have their HQ location at Georgia
Georgian Labour Party Democratic Movement – United Georgia
action filter_type
action find_reverse
entity Georgia
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Georgia']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Georgia . ?n rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1509468 Q2607801
P488
Q502895
USER
Who were the chairpersons of Georgian Labour Party and Democratic Movement – United Georgia ?
(Q1509468,P488,c(Q502895)) (Q2607801,P488,c(Q502895))
action union
action filter_type
action find
entity Q1509468
relation P488
type Q502895
action filter_type
action find
entity Q2607801
relation P488
type Q502895
['Q1509468', 'P488', {'concept': 'Q502895'}] ['Q2607801', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?g property:P488 ?v . VALUES ( ?g ) { ( resource:Q1509468 ) ( resource:Q2607801 ) } }
Georgian Labour Party Democratic Movement – United Georgia
action union
action filter_type
action find
entity Georgian Labour Party
relation chairperson
type common name
action filter_type
action find
entity Democratic Movement – United Georgia
relation chairperson
type common name
['Georgian Labour Party', 'chairperson', {'concept': 'common name'}] ['Democratic Movement – United Georgia', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?g property:chairperson ?v . VALUES ( ?g ) { ( resource:Georgian_Labour_Party ) ( resource:Democratic_Movement_–_United_Georgia ) } }
[]
common name
Q252719 Q229493
SYSTEM
Shalva Natelashvili, Nino Burjanadze
Q252719 Q229493
(Q1509468,P488,c(Q502895)) (Q2607801,P488,c(Q502895))
action union
action filter_type
action find
entity Q1509468
relation P488
type Q502895
action filter_type
action find
entity Q2607801
relation P488
type Q502895
The chairpersons of Georgian Labour Party and Democratic Movement – United Georgia were to [ANSWERS]
['Q1509468', 'P488', {'concept': 'Q502895'}] ['Q2607801', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?g property:P488 ?v . VALUES ( ?g ) { ( resource:Q1509468 ) ( resource:Q2607801 ) } }
Shalva Natelashvili Nino Burjanadze
The chairpersons of Georgian Labour Party and Democratic Movement – United Georgia were to Shalva Natelashvili and Nino Burjanadze
Shalva Natelashvili Nino Burjanadze
action union
action filter_type
action find
entity Georgian Labour Party
relation chairperson
type common name
action filter_type
action find
entity Democratic Movement – United Georgia
relation chairperson
type common name
['Georgian Labour Party', 'chairperson', {'concept': 'common name'}] ['Democratic Movement – United Georgia', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?g property:chairperson ?v . VALUES ( ?g ) { ( resource:Georgian_Labour_Party ) ( resource:Democratic_Movement_–_United_Georgia ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q252719 Q229493
P102
Q7210356
USER
Which parties do Shalva Natelashvili and Nino Burjanadze belong to ?
(Q252719,P102,c(Q7210356)) (Q229493,P102,c(Q7210356))
action union
action filter_type
action find
entity Q252719
relation P102
type Q7210356
action filter_type
action find
entity Q229493
relation P102
type Q7210356
['Q252719', 'P102', {'concept': 'Q7210356'}] ['Q229493', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Q252719 ) ( resource:Q229493 ) } . ?h property:P102 ?s }
Shalva Natelashvili Nino Burjanadze
action union
action filter_type
action find
entity Shalva Natelashvili
relation member of political party
type political organization
action filter_type
action find
entity Nino Burjanadze
relation member of political party
type political organization
['Shalva Natelashvili', 'member of political party', {'concept': 'political organization'}] ['Nino Burjanadze', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Shalva_Natelashvili ) ( resource:Nino_Burjanadze ) } . ?h property:member_of_political_party ?s }
[]
political organization
Q1509468 Q2607801
SYSTEM
Georgian Labour Party, Democratic Movement – United Georgia
Q1509468 Q2607801
(Q252719,P102,c(Q7210356)) (Q229493,P102,c(Q7210356))
action union
action filter_type
action find
entity Q252719
relation P102
type Q7210356
action filter_type
action find
entity Q229493
relation P102
type Q7210356
Shalva Natelashvili and Nino Burjanadze belong to [ANSWERS]
['Q252719', 'P102', {'concept': 'Q7210356'}] ['Q229493', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Q252719 ) ( resource:Q229493 ) } . ?h property:P102 ?s }
Georgian Labour Party Democratic Movement – United Georgia
Shalva Natelashvili and Nino Burjanadze belong to Georgian Labour Party and Democratic Movement – United Georgia
Georgian Labour Party Democratic Movement – United Georgia
action union
action filter_type
action find
entity Shalva Natelashvili
relation member of political party
type political organization
action filter_type
action find
entity Nino Burjanadze
relation member of political party
type political organization
['Shalva Natelashvili', 'member of political party', {'concept': 'political organization'}] ['Nino Burjanadze', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Shalva_Natelashvili ) ( resource:Nino_Burjanadze ) } . ?h property:member_of_political_party ?s }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1509468 Q2607801
P159
Q15617994
USER
Which administrative territories are the HQ of Georgian Labour Party and Democratic Movement – United Georgia ?
(Q1509468,P159,c(Q15617994)) (Q2607801,P159,c(Q15617994))
action union
action filter_type
action find
entity Q1509468
relation P159
type Q15617994
action filter_type
action find
entity Q2607801
relation P159
type Q15617994
['Q1509468', 'P159', {'concept': 'Q15617994'}] ['Q2607801', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { resource:Q1509468 property:P159 ?t . ?t rdf:type ontology:Q15617994 } UNION { resource:Q2607801 property:P159 ?t . ?t rdf:type ontology:Q15617994 } }
Georgian Labour Party Democratic Movement – United Georgia
action union
action filter_type
action find
entity Georgian Labour Party
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Democratic Movement – United Georgia
relation headquarters location
type designation for an administrative territorial entity
['Georgian Labour Party', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Democratic Movement – United Georgia', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Georgian_Labour_Party property:headquarters_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Democratic_Movement_–_United_Georgia property:headquarters_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q230 Q230
SYSTEM
Georgia
Q230 Q230
(Q1509468,P159,c(Q15617994)) (Q2607801,P159,c(Q15617994))
action union
action filter_type
action find
entity Q1509468
relation P159
type Q15617994
action filter_type
action find
entity Q2607801
relation P159
type Q15617994
[ANSWER] and [ANSWER] are the HQ of [ANSWER]n Labour Party and Democratic Movement – United [ANSWER]
['Q1509468', 'P159', {'concept': 'Q15617994'}] ['Q2607801', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { resource:Q1509468 property:P159 ?t . ?t rdf:type ontology:Q15617994 } UNION { resource:Q2607801 property:P159 ?t . ?t rdf:type ontology:Q15617994 } }
Georgia Georgia
Georgia and Georgia are the HQ of Georgian Labour Party and Democratic Movement – United Georgia
Georgia Georgia
action union
action filter_type
action find
entity Georgian Labour Party
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Democratic Movement – United Georgia
relation headquarters location
type designation for an administrative territorial entity
['Georgian Labour Party', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Democratic Movement – United Georgia', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Georgian_Labour_Party property:headquarters_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Democratic_Movement_–_United_Georgia property:headquarters_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q229493
P512
Q3412758
USER
What is the degree held by Nino Burjanadze ?
(Q229493,P512,c(Q3412758))
action filter_type
action find
entity Q229493
relation P512
type Q3412758
['Q229493', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?s WHERE { resource:Q229493 property:P512 ?s . ?s rdf:type ontology:Q3412758 }
Nino Burjanadze
action filter_type
action find
entity Nino Burjanadze
relation academic degree
type qualification
['Nino Burjanadze', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?s WHERE { resource:Nino_Burjanadze property:academic_degree ?s . ?s rdf:type ontology:qualification }
[]
qualification
Q19610320
SYSTEM
PhD in Law
Q19610320
(Q229493,P512,c(Q3412758))
action filter_type
action find
entity Q229493
relation P512
type Q3412758
The degree held by Nino Burjanadze is a [ANSWER]
['Q229493', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?s WHERE { resource:Q229493 property:P512 ?s . ?s rdf:type ontology:Q3412758 }
PhD in Law
The degree held by Nino Burjanadze is a PhD in Law
PhD in Law
action filter_type
action find
entity Nino Burjanadze
relation academic degree
type qualification
['Nino Burjanadze', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?s WHERE { resource:Nino_Burjanadze property:academic_degree ?s . ?s rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q229493
P21
Q290
USER
Which sex does Nino Burjanadze possess ?
(Q229493,P21,c(Q290))
action filter_type
action find
entity Q229493
relation P21
type Q290
['Q229493', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q229493 property:P21 ?c . ?c rdf:type ontology:Q290 }
Nino Burjanadze
action filter_type
action find
entity Nino Burjanadze
relation gender
type sex
['Nino Burjanadze', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Nino_Burjanadze property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q229493,P21,c(Q290))
action filter_type
action find
entity Q229493
relation P21
type Q290
Nino Burjanadze possesses a [ANSWER]
['Q229493', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q229493 property:P21 ?c . ?c rdf:type ontology:Q290 }
female
Nino Burjanadze possesses a female
female
action filter_type
action find
entity Nino Burjanadze
relation gender
type sex
['Nino Burjanadze', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Nino_Burjanadze property:gender ?c . ?c rdf:type ontology:sex }
[]