Simple Question (Direct)
Simple Question
Q6255118
P102
Q7210356
USER
Which party does John Robert Holmes belong to ?
(Q6255118,P102,c(Q7210356))
action filter_type
action find
entity Q6255118
relation P102
type Q7210356
['Q6255118', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q7210356 . resource:Q6255118 property:P102 ?t }
John Robert Holmes
action filter_type
action find
entity John Robert Holmes
relation member of political party
type political organization
['John Robert Holmes', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_organization . resource:John_Robert_Holmes property:member_of_political_party ?t }
[]
political organization
Q1292617
SYSTEM
Progressive Conservative Party of Canada
Q1292617
(Q6255118,P102,c(Q7210356))
action filter_type
action find
entity Q6255118
relation P102
type Q7210356
John Robert Holmes belongs to [ANSWER]
['Q6255118', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q7210356 . resource:Q6255118 property:P102 ?t }
Progressive Conservative Party of Canada
John Robert Holmes belongs to Progressive Conservative Party of Canada
Progressive Conservative Party of Canada
action filter_type
action find
entity John Robert Holmes
relation member of political party
type political organization
['John Robert Holmes', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_organization . resource:John_Robert_Holmes property:member_of_political_party ?t }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q7210356 Q43229
USER
Which organizations are a component of max number of political organizations ?
(c(Q43229),P361,c(Q7210356))
action argmax
action find_tuple_counts
relation P361
type Q43229
type Q7210356
[{'concept': 'Q43229'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?k ) { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?q ) WHERE { ?h property:P361 ?z . ?h rdf:type ontology:Q43229 . ?z rdf:type ontology:Q7210356 } GROUP BY ?h } } . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?f property:P361 ?w . ?f rdf:type ontology:Q43229 . ?w rdf:type ontology:Q7210356 } GROUP BY ?f } . FILTER ( ?s = ?k ) }
action argmax
action find_tuple_counts
relation part of
type organization
type political organization
[{'concept': 'organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?k ) { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?q ) WHERE { ?h property:part_of ?z . ?h rdf:type ontology:organization . ?z rdf:type ontology:political_organization } GROUP BY ?h } } . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?f property:part_of ?w . ?f rdf:type ontology:organization . ?w rdf:type ontology:political_organization } GROUP BY ?f } . FILTER ( ?s = ?k ) }
[]
political organization organization
Q2103651 Q7314708 Q172648
SYSTEM
Young Socialists, Republican State Committee of Pennsylvania, Greek People's Liberation Army
Q1898994 Q2103651 Q172648 Q7314708 Q5027800 Q5016446 Q20850715 Q1185863
(c(Q43229),P361,c(Q7210356))
action argmax
action find_tuple_counts
relation P361
type Q43229
type Q7210356
[ANSWERS] are a component of max number of political organizations
[{'concept': 'Q43229'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?k ) { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?q ) WHERE { ?h property:P361 ?z . ?h rdf:type ontology:Q43229 . ?z rdf:type ontology:Q7210356 } GROUP BY ?h } } . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?f property:P361 ?w . ?f rdf:type ontology:Q43229 . ?w rdf:type ontology:Q7210356 } GROUP BY ?f } . FILTER ( ?s = ?k ) }
Special Organisation Young Socialists Greek People's Liberation Army Republican State Committee of Pennsylvania Campaign for Nationalism in Scotland Cadets of the Republic Organização da Mulher Moçambicana Democratic National Committee
Young Socialists, Republican State Committee of Pennsylvania and Greek People's Liberation Army are a component of max number of political organizations
Young Socialists Republican State Committee of Pennsylvania Greek People's Liberation Army
action argmax
action find_tuple_counts
relation part of
type organization
type political organization
[{'concept': 'organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?k ) { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?q ) WHERE { ?h property:part_of ?z . ?h rdf:type ontology:organization . ?z rdf:type ontology:political_organization } GROUP BY ?h } } . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?f property:part_of ?w . ?f rdf:type ontology:organization . ?w rdf:type ontology:political_organization } GROUP BY ?f } . FILTER ( ?s = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8027679
P361
Q43229 Q2235308 Q811979
USER
How many organizations are greater number of ship types and architectural structures a part of than Wison Group ?
(c(Q2235308)|c(Q811979),P361,c(Q43229))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q43229
type Q2235308
action find_reverse_tuple_counts
relation P361
type Q43229
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q8027679
relation P361
type Q2235308
type Q811979
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2235308 ) ( ontology:Q811979 ) } } . ?r property:P361 resource:Q8027679 } } . FILTER ( ?h > ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?h ) WHERE { { ?q rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q43229 . ?q property:P361 ?j } UNION { ?q property:P361 ?j . ?j rdf:type ontology:Q43229 . ?q rdf:type ontology:Q811979 } } GROUP BY ?j } }
Wison Group
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type organization
type ship type
action find_reverse_tuple_counts
relation part of
type organization
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Wison Group
relation part of
type ship type
type architectural structure
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:ship_type ) ( ontology:architectural_structure ) } } . ?r property:part_of resource:Wison_Group } } . FILTER ( ?h > ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?h ) WHERE { { ?q rdf:type ontology:ship_type . ?j rdf:type ontology:organization . ?q property:part_of ?j } UNION { ?q property:part_of ?j . ?j rdf:type ontology:organization . ?q rdf:type ontology:architectural_structure } } GROUP BY ?j } }
[]
organization ship type architectural structure
SYSTEM
5
Q2972682 Q180 Q18770309 Q688785 Q4639379
(c(Q2235308)|c(Q811979),P361,c(Q43229))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q43229
type Q2235308
action find_reverse_tuple_counts
relation P361
type Q43229
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q8027679
relation P361
type Q2235308
type Q811979
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2235308 ) ( ontology:Q811979 ) } } . ?r property:P361 resource:Q8027679 } } . FILTER ( ?h > ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?h ) WHERE { { ?q rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q43229 . ?q property:P361 ?j } UNION { ?q property:P361 ?j . ?j rdf:type ontology:Q43229 . ?q rdf:type ontology:Q811979 } } GROUP BY ?j } }
Cimetières de la Guillotière Wikimedia Foundation Algemene Begraafplaats Kleverlaan Sea Launch 4th Naval Warfare Flotilla
5
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type organization
type ship type
action find_reverse_tuple_counts
relation part of
type organization
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Wison Group
relation part of
type ship type
type architectural structure
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:ship_type ) ( ontology:architectural_structure ) } } . ?r property:part_of resource:Wison_Group } } . FILTER ( ?h > ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?h ) WHERE { { ?q rdf:type ontology:ship_type . ?j rdf:type ontology:organization . ?q property:part_of ?j } UNION { ?q property:part_of ?j . ?j rdf:type ontology:organization . ?q rdf:type ontology:architectural_structure } } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3655897
P361
Q43229 Q2235308 Q811979
USER
And how about Carlsberg Sweden?
(c(Q2235308)|c(Q811979),P361,c(Q43229))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q43229
type Q2235308
action find_reverse_tuple_counts
relation P361
type Q43229
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q3655897
relation P361
type Q2235308
type Q811979
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?l ) WHERE { { ?p property:P361 ?b . ?b rdf:type ontology:Q43229 . ?p rdf:type ontology:Q811979 } UNION { ?p property:P361 ?b . ?p rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q43229 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:P361 resource:Q3655897 . { { ?j rdf:type ontology:Q2235308 } UNION { ?j rdf:type ontology:Q811979 } } } } . FILTER ( ?l > ?n ) }
Carlsberg Sweden
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type organization
type ship type
action find_reverse_tuple_counts
relation part of
type organization
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Carlsberg Sweden
relation part of
type ship type
type architectural structure
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?l ) WHERE { { ?p property:part_of ?b . ?b rdf:type ontology:organization . ?p rdf:type ontology:architectural_structure } UNION { ?p property:part_of ?b . ?p rdf:type ontology:ship_type . ?b rdf:type ontology:organization } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:part_of resource:Carlsberg_Sweden . { { ?j rdf:type ontology:ship_type } UNION { ?j rdf:type ontology:architectural_structure } } } } . FILTER ( ?l > ?n ) }
[]
organization ship type architectural structure
SYSTEM
5
Q2972682 Q180 Q18770309 Q688785 Q4639379
(c(Q2235308)|c(Q811979),P361,c(Q43229))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q43229
type Q2235308
action find_reverse_tuple_counts
relation P361
type Q43229
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q3655897
relation P361
type Q2235308
type Q811979
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?l ) WHERE { { ?p property:P361 ?b . ?b rdf:type ontology:Q43229 . ?p rdf:type ontology:Q811979 } UNION { ?p property:P361 ?b . ?p rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q43229 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:P361 resource:Q3655897 . { { ?j rdf:type ontology:Q2235308 } UNION { ?j rdf:type ontology:Q811979 } } } } . FILTER ( ?l > ?n ) }
Cimetières de la Guillotière Wikimedia Foundation Algemene Begraafplaats Kleverlaan Sea Launch 4th Naval Warfare Flotilla
5
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type organization
type ship type
action find_reverse_tuple_counts
relation part of
type organization
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Carlsberg Sweden
relation part of
type ship type
type architectural structure
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?l ) WHERE { { ?p property:part_of ?b . ?b rdf:type ontology:organization . ?p rdf:type ontology:architectural_structure } UNION { ?p property:part_of ?b . ?p rdf:type ontology:ship_type . ?b rdf:type ontology:organization } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:part_of resource:Carlsberg_Sweden . { { ?j rdf:type ontology:ship_type } UNION { ?j rdf:type ontology:architectural_structure } } } } . FILTER ( ?l > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q84129
P664
Q43229 Q500834 Q2312410
USER
Which organizations were responsible for the organization of more number of tournaments or sport disciplines than Minor League Baseball ?
(c(Q500834)|c(Q2312410),P664,c(Q43229))
action greater
action union
action find_reverse_tuple_counts
relation P664
type Q43229
type Q500834
action find_reverse_tuple_counts
relation P664
type Q43229
type Q2312410
action count
action filter_multi_types
action find_reverse
entity Q84129
relation P664
type Q500834
type Q2312410
[[{'concept': 'Q500834'}, {'concept': 'Q2312410'}], 'P664', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:Q2312410 ) ( ontology:Q500834 ) } . ?t rdf:type ?o } GROUP BY ?x } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:P664 resource:Q84129 . { ?i rdf:type ?a . VALUES ( ?a ) { ( ontology:Q500834 ) ( ontology:Q2312410 ) } } } } }
Minor League Baseball
action greater
action union
action find_reverse_tuple_counts
relation organizer
type organization
type tournament
action find_reverse_tuple_counts
relation organizer
type organization
type sport discipline
action count
action filter_multi_types
action find_reverse
entity Minor League Baseball
relation organizer
type tournament
type sport discipline
[[{'concept': 'tournament'}, {'concept': 'sport discipline'}], 'organizer', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:sport_discipline ) ( ontology:tournament ) } . ?t rdf:type ?o } GROUP BY ?x } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:organizer resource:Minor_League_Baseball . { ?i rdf:type ?a . VALUES ( ?a ) { ( ontology:tournament ) ( ontology:sport_discipline ) } } } } }
[]
organization tournament sport discipline
Q444649 Q5358893 Q11575035
SYSTEM
Asahi Shimbun Company, The Mainichi Newspapers Co., Sankei Shimbun Co.
Q744089 Q948442 Q11575035 Q5358893 Q1143147 Q444649
(c(Q500834)|c(Q2312410),P664,c(Q43229))
action greater
action union
action find_reverse_tuple_counts
relation P664
type Q43229
type Q500834
action find_reverse_tuple_counts
relation P664
type Q43229
type Q2312410
action count
action filter_multi_types
action find_reverse
entity Q84129
relation P664
type Q500834
type Q2312410
[ANSWERS] were responsible for the organization of more number of tournaments or sport disciplines than Minor League Baseball
[[{'concept': 'Q500834'}, {'concept': 'Q2312410'}], 'P664', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:Q2312410 ) ( ontology:Q500834 ) } . ?t rdf:type ?o } GROUP BY ?x } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:P664 resource:Q84129 . { ?i rdf:type ?a . VALUES ( ?a ) { ( ontology:Q500834 ) ( ontology:Q2312410 ) } } } } }
Association of Tennis Professionals Women's Tennis Association Sankei Shimbun Co. The Mainichi Newspapers Co. Kansai Telecasting Corporation Asahi Shimbun Company
Asahi Shimbun Company, The Mainichi Newspapers Co. and Sankei Shimbun Co. were responsible for the organization of more number of tournaments or sport disciplines than Minor League Baseball
Asahi Shimbun Company The Mainichi Newspapers Co. Sankei Shimbun Co.
action greater
action union
action find_reverse_tuple_counts
relation organizer
type organization
type tournament
action find_reverse_tuple_counts
relation organizer
type organization
type sport discipline
action count
action filter_multi_types
action find_reverse
entity Minor League Baseball
relation organizer
type tournament
type sport discipline
[[{'concept': 'tournament'}, {'concept': 'sport discipline'}], 'organizer', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:sport_discipline ) ( ontology:tournament ) } . ?t rdf:type ?o } GROUP BY ?x } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:organizer resource:Minor_League_Baseball . { ?i rdf:type ?a . VALUES ( ?a ) { ( ontology:tournament ) ( ontology:sport_discipline ) } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P287
Q43229 Q728 Q12280
USER
How many organizations are the designers of approximately 1 weapons or bridges ?
(c(Q728)|c(Q12280),P287,c(Q43229))
action count
action approx
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q728
action find_reverse_tuple_counts
relation P287
type Q43229
type Q12280
value 1
[[{'concept': 'Q728'}, {'concept': 'Q12280'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?d ) WHERE { { ?u rdf:type ontology:Q43229 . ?r rdf:type ontology:Q728 . ?r property:P287 ?u } UNION { ?r property:P287 ?u . ?u rdf:type ontology:Q43229 . ?r rdf:type ontology:Q12280 } } GROUP BY ?u } . FILTER ( ?d = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation designer
type organization
type weapon
action find_reverse_tuple_counts
relation designer
type organization
type bridge
value 1
[[{'concept': 'weapon'}, {'concept': 'bridge'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?d ) WHERE { { ?u rdf:type ontology:organization . ?r rdf:type ontology:weapon . ?r property:designer ?u } UNION { ?r property:designer ?u . ?u rdf:type ontology:organization . ?r rdf:type ontology:bridge } } GROUP BY ?u } . FILTER ( ?d = 1 ) }
[]
organization weapon bridge
SYSTEM
7
Q381498 Q329953 Q238765 Q154610 Q1538336 Q1148423 Q716737
(c(Q728)|c(Q12280),P287,c(Q43229))
action count
action approx
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q728
action find_reverse_tuple_counts
relation P287
type Q43229
type Q12280
value 1
[ANSWER]
[[{'concept': 'Q728'}, {'concept': 'Q12280'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?d ) WHERE { { ?u rdf:type ontology:Q43229 . ?r rdf:type ontology:Q728 . ?r property:P287 ?u } UNION { ?r property:P287 ?u . ?u rdf:type ontology:Q43229 . ?r rdf:type ontology:Q12280 } } GROUP BY ?u } . FILTER ( ?d = 1 ) }
Aerojet Northrop Grumman Alliant Techsystems Rafael Advanced Defense Systems Norinco Israel Military Industries Arup
7
action count
action approx
action union
action find_reverse_tuple_counts
relation designer
type organization
type weapon
action find_reverse_tuple_counts
relation designer
type organization
type bridge
value 1
[[{'concept': 'weapon'}, {'concept': 'bridge'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?d ) WHERE { { ?u rdf:type ontology:organization . ?r rdf:type ontology:weapon . ?r property:designer ?u } UNION { ?r property:designer ?u . ?u rdf:type ontology:organization . ?r rdf:type ontology:bridge } } GROUP BY ?u } . FILTER ( ?d = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q444649
P664
Q2312410 Q13406554
USER
How many sport disciplines and sport competitions were organized by Asahi Shimbun Company ?
(c(Q2312410),P664,Q444649) (c(Q13406554),P664,Q444649)
action count
action union
action filter_type
action find_reverse
entity Q444649
relation P664
type Q2312410
action filter_type
action find_reverse
entity Q444649
relation P664
type Q13406554
[{'concept': 'Q2312410'}, 'P664', 'Q444649'] [{'concept': 'Q13406554'}, 'P664', 'Q444649']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u rdf:type ontology:Q2312410 . ?u property:P664 resource:Q444649 } UNION { ?u property:P664 resource:Q444649 . ?u rdf:type ontology:Q13406554 } }
Asahi Shimbun Company
action count
action union
action filter_type
action find_reverse
entity Asahi Shimbun Company
relation organizer
type sport discipline
action filter_type
action find_reverse
entity Asahi Shimbun Company
relation organizer
type sport competition
[{'concept': 'sport discipline'}, 'organizer', 'Asahi Shimbun Company'] [{'concept': 'sport competition'}, 'organizer', 'Asahi Shimbun Company']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u rdf:type ontology:sport_discipline . ?u property:organizer resource:Asahi_Shimbun_Company } UNION { ?u property:organizer resource:Asahi_Shimbun_Company . ?u rdf:type ontology:sport_competition } }
[]
sport discipline sport competition
SYSTEM
1 sport disciplines and 3 sport competitions
Q1571193 Q3430401 Q1473381 Q1075405
(c(Q2312410),P664,Q444649) (c(Q13406554),P664,Q444649)
action count
action union
action filter_type
action find_reverse
entity Q444649
relation P664
type Q2312410
action filter_type
action find_reverse
entity Q444649
relation P664
type Q13406554
[ANSWER]
[{'concept': 'Q2312410'}, 'P664', 'Q444649'] [{'concept': 'Q13406554'}, 'P664', 'Q444649']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u rdf:type ontology:Q2312410 . ?u property:P664 resource:Q444649 } UNION { ?u property:P664 resource:Q444649 . ?u rdf:type ontology:Q13406554 } }
Yokohama Women's Marathon Rice Bowl Fukuoka International Marathon Japanese High School Baseball Championship
1 sport disciplines and 3 sport competitions
action count
action union
action filter_type
action find_reverse
entity Asahi Shimbun Company
relation organizer
type sport discipline
action filter_type
action find_reverse
entity Asahi Shimbun Company
relation organizer
type sport competition
[{'concept': 'sport discipline'}, 'organizer', 'Asahi Shimbun Company'] [{'concept': 'sport competition'}, 'organizer', 'Asahi Shimbun Company']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u rdf:type ontology:sport_discipline . ?u property:organizer resource:Asahi_Shimbun_Company } UNION { ?u property:organizer resource:Asahi_Shimbun_Company . ?u rdf:type ontology:sport_competition } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q444649
P159
Q18142
USER
Which tower block is the HQ of that organization ?
action filter_type
action find
entity Q444649
relation P159
type Q18142
SELECT DISTINCT ?q WHERE { resource:Q444649 property:P159 ?q . ?q rdf:type ontology:Q18142 }
Asahi Shimbun Company
action filter_type
action find
entity Asahi Shimbun Company
relation headquarters location
type tower block
SELECT DISTINCT ?q WHERE { resource:Asahi_Shimbun_Company property:headquarters_location ?q . ?q rdf:type ontology:tower_block }
[]
tower block
Q3335339
SYSTEM
Nakanoshima Festival Tower
Q3335339
action filter_type
action find
entity Q444649
relation P159
type Q18142
[ANSWER] is the HQ of that organization
SELECT DISTINCT ?q WHERE { resource:Q444649 property:P159 ?q . ?q rdf:type ontology:Q18142 }
Nakanoshima Festival Tower
Nakanoshima Festival Tower is the HQ of that organization
Nakanoshima Festival Tower
action filter_type
action find
entity Asahi Shimbun Company
relation headquarters location
type tower block
SELECT DISTINCT ?q WHERE { resource:Asahi_Shimbun_Company property:headquarters_location ?q . ?q rdf:type ontology:tower_block }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172648
P463
Q502895
USER
Which people are members of Greek People's Liberation Army ?
(c(Q502895),P463,Q172648)
action filter_type
action find_reverse
entity Q172648
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q172648']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P463 resource:Q172648 }
Greek People's Liberation Army
action filter_type
action find_reverse
entity Greek People's Liberation Army
relation member of
type common name
[{'concept': 'common name'}, 'member of', "Greek People's Liberation Army"]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:member_of resource:Greek_People's_Liberation_Army }
[]
common name
Q151976 Q935986 Q152880
SYSTEM
Mikis Theodorakis, Stefanos Sarafis, Iannis Xenakis
Q693729 Q3561059 Q152880 Q506372 Q19886192 Q12877311 Q15732406 Q6894819 Q4481183 Q562143 Q3557498 Q3547007 Q12271394 Q12875210 Q983648 Q15427025 Q15145646 Q16727278 Q165319 Q3565144 Q313432 Q3557570 Q151976 Q935986 Q693860 Q707200
(c(Q502895),P463,Q172648)
action filter_type
action find_reverse
entity Q172648
relation P463
type Q502895
[ANSWERS] are members of Greek People's Liberation Army
[{'concept': 'Q502895'}, 'P463', 'Q172648']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P463 resource:Q172648 }
Aris Velouchiotis Germanos Dimakis Iannis Xenakis Charilaos Florakis Kostas Basakidis Evangelos Yannopoulos Konstantinos Lagouranis Moisis Michail Bourlas Gregory Farakou Apostolos Santas Dimitrios Holevas Títos Patríkios Alexandros Rosios John Vooltepsis Kostas Axelos Andreas Tzimas Dimitris Michos Michalis Katsaros Leonidas Kyrkos Alexis Parnis Markos Vafiadis Antonis Vratsanos Mikis Theodorakis Stefanos Sarafis Nikos Beloyannis Evripidis Bakirtzis
Mikis Theodorakis, Stefanos Sarafis and Iannis Xenakis are members of Greek People's Liberation Army
Mikis Theodorakis Stefanos Sarafis Iannis Xenakis
action filter_type
action find_reverse
entity Greek People's Liberation Army
relation member of
type common name
[{'concept': 'common name'}, 'member of', "Greek People's Liberation Army"]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:member_of resource:Greek_People's_Liberation_Army }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q151976 Q935986 Q152880
P463
Q43229
USER
What were Mikis Theodorakis, Stefanos Sarafis and Iannis Xenakis a member of ?
(Q151976,P463,c(Q43229)) (Q935986,P463,c(Q43229)) (Q152880,P463,c(Q43229))
action union
action filter_type
action find
entity Q151976
relation P463
type Q43229
action filter_type
action find
entity Q935986
relation P463
type Q43229
action filter_type
action find
entity Q152880
relation P463
type Q43229
['Q151976', 'P463', {'concept': 'Q43229'}] ['Q935986', 'P463', {'concept': 'Q43229'}] ['Q152880', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { { resource:Q151976 property:P463 ?o . ?o rdf:type ontology:Q43229 } UNION { resource:Q935986 property:P463 ?o . ?o rdf:type ontology:Q43229 } }
Mikis Theodorakis Stefanos Sarafis Iannis Xenakis
action union
action filter_type
action find
entity Mikis Theodorakis
relation member of
type organization
action filter_type
action find
entity Stefanos Sarafis
relation member of
type organization
action filter_type
action find
entity Iannis Xenakis
relation member of
type organization
['Mikis Theodorakis', 'member of', {'concept': 'organization'}] ['Stefanos Sarafis', 'member of', {'concept': 'organization'}] ['Iannis Xenakis', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { { resource:Mikis_Theodorakis property:member_of ?o . ?o rdf:type ontology:organization } UNION { resource:Stefanos_Sarafis property:member_of ?o . ?o rdf:type ontology:organization } }
[]
organization
Q172648 Q172648 Q172648
SYSTEM
Greek People's Liberation Army
Q172648 Q172648 Q172648
(Q151976,P463,c(Q43229)) (Q935986,P463,c(Q43229)) (Q152880,P463,c(Q43229))
action union
action filter_type
action find
entity Q151976
relation P463
type Q43229
action filter_type
action find
entity Q935986
relation P463
type Q43229
action filter_type
action find
entity Q152880
relation P463
type Q43229
Mikis Theodorakis , Stefanos Sarafis and Iannis Xenakis a member of were the [ANSWER], [ANSWER] and [ANSWER]
['Q151976', 'P463', {'concept': 'Q43229'}] ['Q935986', 'P463', {'concept': 'Q43229'}] ['Q152880', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { { resource:Q151976 property:P463 ?o . ?o rdf:type ontology:Q43229 } UNION { resource:Q935986 property:P463 ?o . ?o rdf:type ontology:Q43229 } }
Greek People's Liberation Army Greek People's Liberation Army Greek People's Liberation Army
Mikis Theodorakis , Stefanos Sarafis and Iannis Xenakis a member of were the Greek People's Liberation Army, Greek People's Liberation Army and Greek People's Liberation Army
Greek People's Liberation Army Greek People's Liberation Army Greek People's Liberation Army
action union
action filter_type
action find
entity Mikis Theodorakis
relation member of
type organization
action filter_type
action find
entity Stefanos Sarafis
relation member of
type organization
action filter_type
action find
entity Iannis Xenakis
relation member of
type organization
['Mikis Theodorakis', 'member of', {'concept': 'organization'}] ['Stefanos Sarafis', 'member of', {'concept': 'organization'}] ['Iannis Xenakis', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { { resource:Mikis_Theodorakis property:member_of ?o . ?o rdf:type ontology:organization } UNION { resource:Stefanos_Sarafis property:member_of ?o . ?o rdf:type ontology:organization } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172648
P17
Q15617994
USER
Which administrative territory is that organization situated in ?
(Q172648,P17,c(Q15617994)) (Q172648,P17,c(Q15617994)) (Q172648,P17,c(Q15617994))
action filter_type
action find
entity Q172648
relation P17
type Q15617994
['Q172648', 'P17', {'concept': 'Q15617994'}] ['Q172648', 'P17', {'concept': 'Q15617994'}] ['Q172648', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q172648 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Greek People's Liberation Army
action filter_type
action find
entity Greek People's Liberation Army
relation country
type designation for an administrative territorial entity
["Greek People's Liberation Army", 'country', {'concept': 'designation for an administrative territorial entity'}] ["Greek People's Liberation Army", 'country', {'concept': 'designation for an administrative territorial entity'}] ["Greek People's Liberation Army", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Greek_People's_Liberation_Army property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q172648,P17,c(Q15617994)) (Q172648,P17,c(Q15617994)) (Q172648,P17,c(Q15617994))
action filter_type
action find
entity Q172648
relation P17
type Q15617994
That organization is situated in [ANSWER]
['Q172648', 'P17', {'concept': 'Q15617994'}] ['Q172648', 'P17', {'concept': 'Q15617994'}] ['Q172648', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q172648 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Greece
That organization is situated in Greece
Greece
action filter_type
action find
entity Greek People's Liberation Army
relation country
type designation for an administrative territorial entity
["Greek People's Liberation Army", 'country', {'concept': 'designation for an administrative territorial entity'}] ["Greek People's Liberation Army", 'country', {'concept': 'designation for an administrative territorial entity'}] ["Greek People's Liberation Army", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Greek_People's_Liberation_Army property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q172648
P361
Q7210356 Q43229
USER
How many political organizations and organizations are Greek People's Liberation Army a component of ?
(Q172648,P361,c(Q7210356)) (Q172648,P361,c(Q43229))
action count
action union
action filter_type
action find
entity Q172648
relation P361
type Q7210356
action filter_type
action find
entity Q172648
relation P361
type Q43229
['Q172648', 'P361', {'concept': 'Q7210356'}] ['Q172648', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:Q43229 ) ( ontology:Q7210356 ) } . ?c rdf:type ?f }
Greek People's Liberation Army
action count
action union
action filter_type
action find
entity Greek People's Liberation Army
relation part of
type political organization
action filter_type
action find
entity Greek People's Liberation Army
relation part of
type organization
["Greek People's Liberation Army", 'part of', {'concept': 'political organization'}] ["Greek People's Liberation Army", 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:organization ) ( ontology:political_organization ) } . ?c rdf:type ?f }
[]
political organization organization
SYSTEM
1 political organizations and 1 organizations
Q192254 Q490035
(Q172648,P361,c(Q7210356)) (Q172648,P361,c(Q43229))
action count
action union
action filter_type
action find
entity Q172648
relation P361
type Q7210356
action filter_type
action find
entity Q172648
relation P361
type Q43229
[ANSWER]
['Q172648', 'P361', {'concept': 'Q7210356'}] ['Q172648', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:Q43229 ) ( ontology:Q7210356 ) } . ?c rdf:type ?f }
National Liberation Front Greek Resistance
1 political organizations and 1 organizations
action count
action union
action filter_type
action find
entity Greek People's Liberation Army
relation part of
type political organization
action filter_type
action find
entity Greek People's Liberation Army
relation part of
type organization
["Greek People's Liberation Army", 'part of', {'concept': 'political organization'}] ["Greek People's Liberation Army", 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:organization ) ( ontology:political_organization ) } . ?c rdf:type ?f }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7094738 Q6255118
P27 P17
Q1048835
USER
Which political territories do John Robert Holmes belong to or are Ontario Highway 529 located in ?
OR((Q6255118,P27,c(Q1048835)), (Q7094738,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q6255118
relation P27
action find
entity Q7094738
relation P17
type Q1048835
{'OR': [['Q6255118', 'P27', {'concept': 'Q1048835'}], ['Q7094738', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q6255118 property:P27 ?j } UNION { resource:Q7094738 property:P17 ?j } } . ?j rdf:type ontology:Q1048835 }
Ontario Highway 529 John Robert Holmes
action filter_type
action union
action find
entity John Robert Holmes
relation country of citizenship
action find
entity Ontario Highway 529
relation country
type political territorial entity
{'OR': [['John Robert Holmes', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ontario Highway 529', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:John_Robert_Holmes property:country_of_citizenship ?j } UNION { resource:Ontario_Highway_529 property:country ?j } } . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
OR((Q6255118,P27,c(Q1048835)), (Q7094738,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q6255118
relation P27
action find
entity Q7094738
relation P17
type Q1048835
John Robert Holmes belong to the [ANSWER]
{'OR': [['Q6255118', 'P27', {'concept': 'Q1048835'}], ['Q7094738', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q6255118 property:P27 ?j } UNION { resource:Q7094738 property:P17 ?j } } . ?j rdf:type ontology:Q1048835 }
Canada
John Robert Holmes belong to the Canada
Canada
action filter_type
action union
action find
entity John Robert Holmes
relation country of citizenship
action find
entity Ontario Highway 529
relation country
type political territorial entity
{'OR': [['John Robert Holmes', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ontario Highway 529', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:John_Robert_Holmes property:country_of_citizenship ?j } UNION { resource:Ontario_Highway_529 property:country ?j } } . ?j rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q7275
USER
How many administrative territories or states have a diplomatic relationship with that political territory ?
(Q16,P530,c(Q15617994)) (Q16,P530,c(Q7275)) (Q16,P530,c(Q15617994)) (Q16,P530,c(Q7275))
action count
action union
action filter_type
action find
entity Q16
relation P530
type Q15617994
action filter_type
action find
entity Q16
relation P530
type Q7275
['Q16', 'P530', {'concept': 'Q15617994'}] ['Q16', 'P530', {'concept': 'Q7275'}] ['Q16', 'P530', {'concept': 'Q15617994'}] ['Q16', 'P530', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { resource:Q16 property:P530 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q16 property:P530 ?m . ?m rdf:type ontology:Q7275 } }
action count
action union
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Canada
relation diplomatic relation
type state
['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'state'}] ['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { resource:Canada property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Canada property:diplomatic_relation ?m . ?m rdf:type ontology:state } }
[]
designation for an administrative territorial entity state
SYSTEM
35
Q804 Q801 Q843 Q1029 Q1028 Q145 Q229 Q33 Q30 Q36 Q79 Q34 Q77 Q39 Q38 Q878 Q739 Q833 Q711 Q15180 Q1030 Q851 Q29999 Q928 Q115 Q258 Q212 Q159 Q43 Q155 Q218 Q20 Q423 Q252 Q884
(Q16,P530,c(Q15617994)) (Q16,P530,c(Q7275)) (Q16,P530,c(Q15617994)) (Q16,P530,c(Q7275))
action count
action union
action filter_type
action find
entity Q16
relation P530
type Q15617994
action filter_type
action find
entity Q16
relation P530
type Q7275
[ANSWER]
['Q16', 'P530', {'concept': 'Q15617994'}] ['Q16', 'P530', {'concept': 'Q7275'}] ['Q16', 'P530', {'concept': 'Q15617994'}] ['Q16', 'P530', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { resource:Q16 property:P530 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q16 property:P530 ?m . ?m rdf:type ontology:Q7275 } }
Panama Israel Pakistan Mozambique Morocco United Kingdom Cyprus Finland United States of America Poland Egypt Sweden Uruguay Switzerland Italy United Arab Emirates Colombia Malaysia Mongolia Soviet Union Namibia Saudi Arabia Kingdom of the Netherlands Philippines Ethiopia South Africa Ukraine Russia Turkey Brazil Romania Norway North Korea Indonesia South Korea
35
action count
action union
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Canada
relation diplomatic relation
type state
['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'state'}] ['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { resource:Canada property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Canada property:diplomatic_relation ?m . ?m rdf:type ontology:state } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q16
P530
Q1048835 Q1048835
USER
Which political territories are known to have diplomatic connections with more number of political territories than Canada ?
(c(Q1048835),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?c ) WHERE { ?r property:P530 ?o . ?r rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q1048835 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q16 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?c > ?s ) }
Canada
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?c ) WHERE { ?r property:diplomatic_relation ?o . ?r rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Canada property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?c > ?s ) }
[]
political territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWERS] are known to have diplomatic connections with more number of political territories than Canada
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?c ) WHERE { ?r property:P530 ?o . ?r rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q1048835 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q16 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?c > ?s ) }
Germany Australia
Germany and Australia are known to have diplomatic connections with more number of political territories than Canada
Germany Australia
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?c ) WHERE { ?r property:diplomatic_relation ?o . ?r rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Canada property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?c > ?s ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17091267
P530
Q15617994
USER
Are Wauwatosa School District known to have diplomatic connections with those political territories ?
(Q17091267,P530,Q183) (Q17091267,P530,Q408)
action is_in
entity prev_answer
action find
entity Q17091267
relation P530
['Q17091267', 'P530', 'Q183'] ['Q17091267', 'P530', 'Q408']
ASK WHERE { resource:Q17091267 property:P530 ?k . VALUES ( ?k ) { ( resource:Q183 ) ( resource:Q408 ) } }
Wauwatosa School District
action is_in
entity prev_answer
action find
entity Wauwatosa School District
relation diplomatic relation
['Wauwatosa School District', 'diplomatic relation', 'Germany'] ['Wauwatosa School District', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Wauwatosa_School_District property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Germany ) ( resource:Australia ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q17091267,P530,Q183) (Q17091267,P530,Q408)
action is_in
entity prev_answer
action find
entity Q17091267
relation P530
[ANSWER]
['Q17091267', 'P530', 'Q183'] ['Q17091267', 'P530', 'Q408']
ASK WHERE { resource:Q17091267 property:P530 ?k . VALUES ( ?k ) { ( resource:Q183 ) ( resource:Q408 ) } }
No
action is_in
entity prev_answer
action find
entity Wauwatosa School District
relation diplomatic relation
['Wauwatosa School District', 'diplomatic relation', 'Germany'] ['Wauwatosa School District', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Wauwatosa_School_District property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Germany ) ( resource:Australia ) } }
[]