Simple Question (Direct)
Simple Question
Q4935597
P641
Q349
USER
What was the sport that Bobby Smith was a part of ?
(Q4935597,P641,c(Q349))
action filter_type
action find
entity Q4935597
relation P641
type Q349
['Q4935597', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4935597 property:P641 ?u . ?u rdf:type ontology:Q349 }
Bobby Smith
action filter_type
action find
entity Bobby Smith
relation sport
type sport
['Bobby Smith', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Bobby_Smith property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4935597,P641,c(Q349))
action filter_type
action find
entity Q4935597
relation P641
type Q349
The sport that Bobby Smith was a part of was [ANSWER]
['Q4935597', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4935597 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
The sport that Bobby Smith was a part of was association football
association football
action filter_type
action find
entity Bobby Smith
relation sport
type sport
['Bobby Smith', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Bobby_Smith property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4935597
P106
Q12737077
USER
Which occupations have Bobby Smith as his/her 's career ?
(Q4935597,P106,c(Q12737077))
action filter_type
action find
entity Q4935597
relation P106
type Q12737077
['Q4935597', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q4935597 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Bobby Smith
action filter_type
action find
entity Bobby Smith
relation occupation
type occupation
['Bobby Smith', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Bobby_Smith property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q4935597,P106,c(Q12737077))
action filter_type
action find
entity Q4935597
relation P106
type Q12737077
The [ANSWERS] have Bobby Smith as his/her 's career
['Q4935597', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q4935597 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football manager association football player
The association football manager and association football player have Bobby Smith as his/her 's career
association football manager association football player
action filter_type
action find
entity Bobby Smith
relation occupation
type occupation
['Bobby Smith', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Bobby_Smith property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4935597
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q628099,P19,c(Q56061)) (Q937857,P19,c(Q56061))
action filter_type
action find
entity Q4935597
relation P19
type Q56061
['Q628099', 'P19', {'concept': 'Q56061'}] ['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q4935597 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Bobby Smith
action filter_type
action find
entity Bobby Smith
relation place of birth
type administrative territorial entity
['association football manager', 'place of birth', {'concept': 'administrative territorial entity'}] ['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Bobby_Smith property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25330
SYSTEM
Trenton
Q25330
(Q628099,P19,c(Q56061)) (Q937857,P19,c(Q56061))
action filter_type
action find
entity Q4935597
relation P19
type Q56061
That person was born in [ANSWER]
['Q628099', 'P19', {'concept': 'Q56061'}] ['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q4935597 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Trenton
That person was born in Trenton
Trenton
action filter_type
action find
entity Bobby Smith
relation place of birth
type administrative territorial entity
['association football manager', 'place of birth', {'concept': 'administrative territorial entity'}] ['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Bobby_Smith property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q25330 Q87632
P19
Q502895
USER
Does Oswald Tschirtner have place of birth as that administrative territory ?
(Q87632,P19,Q25330)
action is_in
entity Q87632
action find
entity Q25330
relation P19
['Q87632', 'P19', 'Q25330']
ASK WHERE { resource:Q25330 property:P19 resource:Q87632 }
Trenton Oswald Tschirtner
action is_in
entity Oswald Tschirtner
action find
entity Trenton
relation place of birth
['Oswald Tschirtner', 'place of birth', 'Trenton']
ASK WHERE { resource:Trenton property:place_of_birth resource:Oswald_Tschirtner }
[]
common name
SYSTEM
NO
(Q87632,P19,Q25330)
action is_in
entity Q87632
action find
entity Q25330
relation P19
[ANSWER]
['Q87632', 'P19', 'Q25330']
ASK WHERE { resource:Q25330 property:P19 resource:Q87632 }
No
action is_in
entity Oswald Tschirtner
action find
entity Trenton
relation place of birth
['Oswald Tschirtner', 'place of birth', 'Trenton']
ASK WHERE { resource:Trenton property:place_of_birth resource:Oswald_Tschirtner }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25330
P47
Q852446
USER
Who shares the border with that administrative territory ?
action filter_type
action find
entity Q25330
relation P47
type Q852446
SELECT DISTINCT ?b WHERE { resource:Q25330 property:P47 ?b . ?b rdf:type ontology:Q852446 }
Trenton
action filter_type
action find
entity Trenton
relation shares border with
type administrative territorial entity of the United States
SELECT DISTINCT ?b WHERE { resource:Trenton property:shares_border_with ?b . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1400
SYSTEM
Pennsylvania
Q1400
action filter_type
action find
entity Q25330
relation P47
type Q852446
[ANSWER] shares the border with that administrative territory
SELECT DISTINCT ?b WHERE { resource:Q25330 property:P47 ?b . ?b rdf:type ontology:Q852446 }
Pennsylvania
Pennsylvania shares the border with that administrative territory
Pennsylvania
action filter_type
action find
entity Trenton
relation shares border with
type administrative territorial entity of the United States
SELECT DISTINCT ?b WHERE { resource:Trenton property:shares_border_with ?b . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P163
Q14660 Q17335294 Q852446
USER
Which US administrative territories can be described by less number of flags and coats of arms than that US administrative territory ?
(c(Q852446),P163,c(Q14660)|c(Q17335294))
action less
action union
action find_tuple_counts
relation P163
type Q852446
type Q14660
action find_tuple_counts
relation P163
type Q852446
type Q17335294
action count
action filter_multi_types
action find
entity Q1400
relation P163
type Q14660
type Q17335294
[{'concept': 'Q852446'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?r WHERE { VALUES ( ?i ) { ( ontology:Q14660 ) ( ontology:Q17335294 ) } . ?j rdf:type ?i } GROUP BY ?r } . FILTER ( ?q < ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { VALUES ( ?g ) { ( ontology:Q14660 ) ( ontology:Q17335294 ) } . ?s rdf:type ?g } . resource:Q1400 property:P163 ?s } } }
action less
action union
action find_tuple_counts
relation flag
type administrative territorial entity of the United States
type flag
action find_tuple_counts
relation flag
type administrative territorial entity of the United States
type flag or coat of arms
action count
action filter_multi_types
action find
entity Pennsylvania
relation flag
type flag
type flag or coat of arms
[{'concept': 'administrative territorial entity of the United States'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?r WHERE { VALUES ( ?i ) { ( ontology:flag ) ( ontology:flag_or_coat_of_arms ) } . ?j rdf:type ?i } GROUP BY ?r } . FILTER ( ?q < ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { VALUES ( ?g ) { ( ontology:flag ) ( ontology:flag_or_coat_of_arms ) } . ?s rdf:type ?g } . resource:Pennsylvania property:flag ?s } } }
[]
flag flag or coat of arms administrative territorial entity of the United States
SYSTEM
1
Q1537
(c(Q852446),P163,c(Q14660)|c(Q17335294))
action less
action union
action find_tuple_counts
relation P163
type Q852446
type Q14660
action find_tuple_counts
relation P163
type Q852446
type Q17335294
action count
action filter_multi_types
action find
entity Q1400
relation P163
type Q14660
type Q17335294
[ANSWER]
[{'concept': 'Q852446'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?r WHERE { VALUES ( ?i ) { ( ontology:Q14660 ) ( ontology:Q17335294 ) } . ?j rdf:type ?i } GROUP BY ?r } . FILTER ( ?q < ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { VALUES ( ?g ) { ( ontology:Q14660 ) ( ontology:Q17335294 ) } . ?s rdf:type ?g } . resource:Q1400 property:P163 ?s } } }
Wisconsin
1
action less
action union
action find_tuple_counts
relation flag
type administrative territorial entity of the United States
type flag
action find_tuple_counts
relation flag
type administrative territorial entity of the United States
type flag or coat of arms
action count
action filter_multi_types
action find
entity Pennsylvania
relation flag
type flag
type flag or coat of arms
[{'concept': 'administrative territorial entity of the United States'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?r WHERE { VALUES ( ?i ) { ( ontology:flag ) ( ontology:flag_or_coat_of_arms ) } . ?j rdf:type ?i } GROUP BY ?r } . FILTER ( ?q < ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { VALUES ( ?g ) { ( ontology:flag ) ( ontology:flag_or_coat_of_arms ) } . ?s rdf:type ?g } . resource:Pennsylvania property:flag ?s } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q852446 Q838948 Q15416
USER
Which US administrative territories are min number of works of art and television programs set in ?
(c(Q838948)|c(Q15416),P840,c(Q852446))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q838948
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?p WHERE { { ?p rdf:type ontology:Q852446 . ?e rdf:type ontology:Q838948 . ?e property:P840 ?p } UNION { ?e property:P840 ?p . ?p rdf:type ontology:Q852446 . ?e rdf:type ontology:Q15416 } } GROUP BY ?p } } . FILTER ( ?t = ?s ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?i WHERE { { ?n property:P840 ?i . ?n rdf:type ontology:Q838948 . ?i rdf:type ontology:Q852446 } UNION { ?n property:P840 ?i . ?i rdf:type ontology:Q852446 . ?n rdf:type ontology:Q15416 } } GROUP BY ?i } }
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?p WHERE { { ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?e rdf:type ontology:work_of_art . ?e property:narrative_location ?p } UNION { ?e property:narrative_location ?p . ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?e rdf:type ontology:television_program } } GROUP BY ?p } } . FILTER ( ?t = ?s ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?i WHERE { { ?n property:narrative_location ?i . ?n rdf:type ontology:work_of_art . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?n property:narrative_location ?i . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?n rdf:type ontology:television_program } } GROUP BY ?i } }
[]
administrative territorial entity of the United States work of art television program
Q759 Q782 Q7886863
SYSTEM
New Hampshire, Hawaii, Unionville
Q7886863 Q5000330 Q3474463 Q782 Q759 Q14710458
(c(Q838948)|c(Q15416),P840,c(Q852446))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q838948
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
[ANSWERS] are min number of works of art and television programs set in
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?p WHERE { { ?p rdf:type ontology:Q852446 . ?e rdf:type ontology:Q838948 . ?e property:P840 ?p } UNION { ?e property:P840 ?p . ?p rdf:type ontology:Q852446 . ?e rdf:type ontology:Q15416 } } GROUP BY ?p } } . FILTER ( ?t = ?s ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?i WHERE { { ?n property:P840 ?i . ?n rdf:type ontology:Q838948 . ?i rdf:type ontology:Q852446 } UNION { ?n property:P840 ?i . ?i rdf:type ontology:Q852446 . ?n rdf:type ontology:Q15416 } } GROUP BY ?i } }
Unionville Burr Oak, Iowa South Troy Hawaii New Hampshire Esperanza
New Hampshire, Hawaii and Unionville are min number of works of art and television programs set in
New Hampshire Hawaii Unionville
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?p WHERE { { ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?e rdf:type ontology:work_of_art . ?e property:narrative_location ?p } UNION { ?e property:narrative_location ?p . ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?e rdf:type ontology:television_program } } GROUP BY ?p } } . FILTER ( ?t = ?s ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?i WHERE { { ?n property:narrative_location ?i . ?n rdf:type ontology:work_of_art . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?n property:narrative_location ?i . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?n rdf:type ontology:television_program } } GROUP BY ?i } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7973360 Q25330
P17
Q15617994
USER
Which administrative territories are Trenton or Water Resources University situated in ?
OR((Q25330,P17,c(Q15617994)), (Q7973360,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q25330
relation P17
action find
entity Q7973360
relation P17
type Q15617994
{'OR': [['Q25330', 'P17', {'concept': 'Q15617994'}], ['Q7973360', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q25330 property:P17 ?q } UNION { resource:Q7973360 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Water Resources University Trenton
action filter_type
action union
action find
entity Trenton
relation country
action find
entity Water Resources University
relation country
type designation for an administrative territorial entity
{'OR': [['Trenton', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Water Resources University', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Trenton property:country ?q } UNION { resource:Water_Resources_University property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q881
SYSTEM
United States of America, Vietnam
Q30 Q881
OR((Q25330,P17,c(Q15617994)), (Q7973360,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q25330
relation P17
action find
entity Q7973360
relation P17
type Q15617994
Trenton or Water Resources University are situated in [ANSWERS]
{'OR': [['Q25330', 'P17', {'concept': 'Q15617994'}], ['Q7973360', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q25330 property:P17 ?q } UNION { resource:Q7973360 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
United States of America Vietnam
Trenton or Water Resources University are situated in United States of America and Vietnam
United States of America Vietnam
action filter_type
action union
action find
entity Trenton
relation country
action find
entity Water Resources University
relation country
type designation for an administrative territorial entity
{'OR': [['Trenton', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Water Resources University', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Trenton property:country ?q } UNION { resource:Water_Resources_University property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q230
P530
Q15617994
USER
Are Georgia known to have diplomatic connections with those ones ?
(Q230,P530,Q30) (Q230,P530,Q881)
action is_in
entity prev_answer
action find
entity Q230
relation P530
['Q230', 'P530', 'Q30'] ['Q230', 'P530', 'Q881']
ASK WHERE { resource:Q230 property:P530 ?a . VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q881 ) } }
Georgia
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'United States of America'] ['Georgia', 'diplomatic relation', 'Vietnam']
ASK WHERE { resource:Georgia property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Vietnam ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q30) (Q230,P530,Q881)
action is_in
entity prev_answer
action find
entity Q230
relation P530
[ANSWER]
['Q230', 'P530', 'Q30'] ['Q230', 'P530', 'Q881']
ASK WHERE { resource:Q230 property:P530 ?a . VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q881 ) } }
Yes
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'United States of America'] ['Georgia', 'diplomatic relation', 'Vietnam']
ASK WHERE { resource:Georgia property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Vietnam ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q759 Q30
P17
Q15617994
USER
Is that US administrative territory a part of United States of America ?
(Q759,P17,Q30)
action is_in
entity Q30
action find
entity Q759
relation P17
['Q759', 'P17', 'Q30']
ASK WHERE { resource:Q759 property:P17 resource:Q30 }
New Hampshire United States of America
action is_in
entity United States of America
action find
entity New Hampshire
relation country
['New Hampshire', 'country', 'United States of America']
ASK WHERE { resource:New_Hampshire property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q759,P17,Q30)
action is_in
entity Q30
action find
entity Q759
relation P17
[ANSWER]
['Q759', 'P17', 'Q30']
ASK WHERE { resource:Q759 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity New Hampshire
relation country
['New Hampshire', 'country', 'United States of America']
ASK WHERE { resource:New_Hampshire property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q881 Q673820
P530
Q15617994
USER
Does Oberahr have diplomatic relationships with Vietnam ?
(Q881,P530,Q673820)
action is_in
entity Q673820
action find
entity Q881
relation P530
['Q881', 'P530', 'Q673820']
ASK WHERE { resource:Q881 property:P530 resource:Q673820 }
Vietnam Oberahr
action is_in
entity Oberahr
action find
entity Vietnam
relation diplomatic relation
['Vietnam', 'diplomatic relation', 'Oberahr']
ASK WHERE { resource:Vietnam property:diplomatic_relation resource:Oberahr }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q881,P530,Q673820)
action is_in
entity Q673820
action find
entity Q881
relation P530
[ANSWER]
['Q881', 'P530', 'Q673820']
ASK WHERE { resource:Q881 property:P530 resource:Q673820 }
No
action is_in
entity Oberahr
action find
entity Vietnam
relation diplomatic relation
['Vietnam', 'diplomatic relation', 'Oberahr']
ASK WHERE { resource:Vietnam property:diplomatic_relation resource:Oberahr }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q145
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with approximately the same number of administrative territories as United Kingdom ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?o ) WHERE { ?x property:P530 ?u . ?x rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?o = ?l ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Q145 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } }
United Kingdom
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?o ) WHERE { ?x property:diplomatic_relation ?u . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?o = ?l ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:United_Kingdom property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
38
Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q43 Q41 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q34 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?o ) WHERE { ?x property:P530 ?u . ?x rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?o = ?l ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Q145 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } }
Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Turkey Greece Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium Sweden North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
38
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?o ) WHERE { ?x property:diplomatic_relation ?u . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?o = ?l ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:United_Kingdom property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q917
P530
Q15617994 Q15617994
USER
And what about Bhutan?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?u ) WHERE { ?w rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 . ?e property:P530 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Q917 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?o ) }
Bhutan
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bhutan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?u ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Bhutan property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?u ) WHERE { ?w rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 . ?e property:P530 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Q917 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?o ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
152
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bhutan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?u ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Bhutan property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1400
P1408
Q4830453
USER
Which business enterprise has procured license for broadcasting to Pennsylvania ?
(c(Q4830453),P1408,Q1400)
action filter_type
action find_reverse
entity Q1400
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q1400']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q4830453 . ?q property:P1408 resource:Q1400 }
Pennsylvania
action filter_type
action find_reverse
entity Pennsylvania
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Pennsylvania']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:business_enterprise . ?q property:licensed_to_broadcast_to resource:Pennsylvania }
[]
business enterprise
Q7955023
SYSTEM
WRGN
Q7955023
(c(Q4830453),P1408,Q1400)
action filter_type
action find_reverse
entity Q1400
relation P1408
type Q4830453
[ANSWER] has procured license for broadcasting to Pennsylvania
[{'concept': 'Q4830453'}, 'P1408', 'Q1400']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q4830453 . ?q property:P1408 resource:Q1400 }
WRGN
WRGN has procured license for broadcasting to Pennsylvania
WRGN
action filter_type
action find_reverse
entity Pennsylvania
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Pennsylvania']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:business_enterprise . ?q property:licensed_to_broadcast_to resource:Pennsylvania }
[]