Simple Question (Direct)
Simple Question
Q2964893
P27
Q1048835
USER
Which political territory is Chris Whitaker an inhabitant of ?
(Q2964893,P27,c(Q1048835))
action filter_type
action find
entity Q2964893
relation P27
type Q1048835
['Q2964893', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q2964893 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Chris Whitaker
action filter_type
action find
entity Chris Whitaker
relation country of citizenship
type political territorial entity
['Chris Whitaker', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Chris_Whitaker property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q2964893,P27,c(Q1048835))
action filter_type
action find
entity Q2964893
relation P27
type Q1048835
The [ANSWER] is Chris Whitaker an inhabitant of
['Q2964893', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q2964893 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Australia
The Australia is Chris Whitaker an inhabitant of
Australia
action filter_type
action find
entity Chris Whitaker
relation country of citizenship
type political territorial entity
['Chris Whitaker', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Chris_Whitaker property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2964893
P69
Q3914
USER
Which school was that person educated at ?
(Q408,P69,c(Q3914))
action filter_type
action find
entity Q2964893
relation P69
type Q3914
['Q408', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q3914 . resource:Q2964893 property:P69 ?y }
Chris Whitaker
action filter_type
action find
entity Chris Whitaker
relation educated at
type school
['Australia', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:school . resource:Chris_Whitaker property:educated_at ?y }
[]
school
Q7659840
SYSTEM
Sydney Boys High School
Q7659840
(Q408,P69,c(Q3914))
action filter_type
action find
entity Q2964893
relation P69
type Q3914
That person was educated at [ANSWER]
['Q408', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q3914 . resource:Q2964893 property:P69 ?y }
Sydney Boys High School
That person was educated at Sydney Boys High School
Sydney Boys High School
action filter_type
action find
entity Chris Whitaker
relation educated at
type school
['Australia', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:school . resource:Chris_Whitaker property:educated_at ?y }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q43229 Q811979
USER
Which political territories own approximately 1 organizations or architectural structures ?
(c(Q43229)|c(Q811979),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
value 1
[[{'concept': 'Q43229'}, {'concept': 'Q811979'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:P127 ?e . ?e rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q43229 } UNION { ?j property:P127 ?e . ?e rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q811979 } } GROUP BY ?e } . FILTER ( ?x = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
value 1
[[{'concept': 'organization'}, {'concept': 'architectural structure'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:owned_by ?e . ?e rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:organization } UNION { ?j property:owned_by ?e . ?e rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:architectural_structure } } GROUP BY ?e } . FILTER ( ?x = 1 ) }
[]
political territorial entity organization architectural structure
Q408 Q16 Q170322
SYSTEM
Australia, Canada, Qingdao
Q170322 Q6040 Q6053 Q8543 Q6041 Q2379199 Q8178 Q8551 Q13862 Q54902 Q849584 Q6047 Q6045 Q8182 Q408 Q16
(c(Q43229)|c(Q811979),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
value 1
[ANSWERS] own approximately 1 organizations or architectural structures
[[{'concept': 'Q43229'}, {'concept': 'Q811979'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:P127 ?e . ?e rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q43229 } UNION { ?j property:P127 ?e . ?e rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q811979 } } GROUP BY ?e } . FILTER ( ?x = 1 ) }
Qingdao Goslar Gifhorn Germersheim Wolfenbüttel politics of Edinburgh Karlsruhe Südliche Weinstraße Negros Occidental Fuenlabrada Jaraguá do Sul Helmstedt Peine Rastatt Australia Canada
Australia, Canada and Qingdao own approximately 1 organizations or architectural structures
Australia Canada Qingdao
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
value 1
[[{'concept': 'organization'}, {'concept': 'architectural structure'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:owned_by ?e . ?e rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:organization } UNION { ?j property:owned_by ?e . ?e rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:architectural_structure } } GROUP BY ?e } . FILTER ( ?x = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q170322
P740
Q43229
USER
What was formed at that political territory ?
(c(Q43229),P740,Q170322)
action filter_type
action find_reverse
entity Q170322
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q170322']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q43229 . ?t property:P740 resource:Q170322 }
Qingdao
action filter_type
action find_reverse
entity Qingdao
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Qingdao']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:organization . ?t property:location_of_formation resource:Qingdao }
[]
organization
Clarification for simple ques.
Q16
SYSTEM
Did you mean Canada ?
Q408 Q16 Q170322
(c(Q43229),P740,Q408) (c(Q43229),P740,Q16) (c(Q43229),P740,Q170322)
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q408'] [{'concept': 'Q43229'}, 'P740', 'Q16'] [{'concept': 'Q43229'}, 'P740', 'Q170322']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q43229 . ?t property:P740 resource:Q170322 }
Australia Canada Qingdao
Did you mean Canada ?
Canada
[{'concept': 'organization'}, 'location of formation', 'Australia'] [{'concept': 'organization'}, 'location of formation', 'Canada'] [{'concept': 'organization'}, 'location of formation', 'Qingdao']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:organization . ?t property:location_of_formation resource:Qingdao }
[]
Simple Question (Coreferenced)
USER
No, I meant Qingdao. Could you tell me the answer for that?
(c(Q43229),P740,Q170322)
Q170322
[{'concept': 'Q43229'}, 'P740', 'Q170322']
[{'concept': 'organization'}, 'location of formation', 'Qingdao']
[]
Q2527941
SYSTEM
Hisense
Q2527941
(c(Q43229),P740,Q170322)
action filter_type
action find_reverse
entity Q170322
relation P740
type Q43229
[ANSWER] was formed at that political territory
[{'concept': 'Q43229'}, 'P740', 'Q170322']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q43229 . ?t property:P740 resource:Q170322 }
Hisense
Hisense was formed at that political territory
Hisense
action filter_type
action find_reverse
entity Qingdao
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Qingdao']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:organization . ?t property:location_of_formation resource:Qingdao }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2527941
P859
Q1375427
USER
Which European Championship was funded by that organization ?
(c(Q1375427),P859,Q2527941)
action filter_type
action find_reverse
entity Q2527941
relation P859
type Q1375427
[{'concept': 'Q1375427'}, 'P859', 'Q2527941']
SELECT DISTINCT ?v WHERE { ?v property:P859 resource:Q2527941 . ?v rdf:type ontology:Q1375427 }
Hisense
action filter_type
action find_reverse
entity Hisense
relation sponsor
type European Championship
[{'concept': 'European Championship'}, 'sponsor', 'Hisense']
SELECT DISTINCT ?v WHERE { ?v property:sponsor resource:Hisense . ?v rdf:type ontology:European_Championship }
[]
European Championship
Q189571
SYSTEM
UEFA Euro 2016
Q189571
(c(Q1375427),P859,Q2527941)
action filter_type
action find_reverse
entity Q2527941
relation P859
type Q1375427
[ANSWER] was funded by that organization
[{'concept': 'Q1375427'}, 'P859', 'Q2527941']
SELECT DISTINCT ?v WHERE { ?v property:P859 resource:Q2527941 . ?v rdf:type ontology:Q1375427 }
UEFA Euro 2016
UEFA Euro 2016 was funded by that organization
UEFA Euro 2016
action filter_type
action find_reverse
entity Hisense
relation sponsor
type European Championship
[{'concept': 'European Championship'}, 'sponsor', 'Hisense']
SELECT DISTINCT ?v WHERE { ?v property:sponsor resource:Hisense . ?v rdf:type ontology:European_Championship }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2527941
P749
Q43229
USER
Which organization is owned by that one ?
(c(Q43229),P749,Q189571)
action filter_type
action find_reverse
entity Q2527941
relation P749
type Q43229
[{'concept': 'Q43229'}, 'P749', 'Q189571']
SELECT DISTINCT ?e WHERE { ?e property:P749 resource:Q2527941 . ?e rdf:type ontology:Q43229 }
Hisense
action filter_type
action find_reverse
entity Hisense
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', 'UEFA Euro 2016']
SELECT DISTINCT ?e WHERE { ?e property:parent_organization resource:Hisense . ?e rdf:type ontology:organization }
[]
organization
Q5772527
SYSTEM
Hisense Kelon
Q5772527
(c(Q43229),P749,Q189571)
action filter_type
action find_reverse
entity Q2527941
relation P749
type Q43229
Is [ANSWER] is owned by that one
[{'concept': 'Q43229'}, 'P749', 'Q189571']
SELECT DISTINCT ?e WHERE { ?e property:P749 resource:Q2527941 . ?e rdf:type ontology:Q43229 }
Hisense Kelon
Is Hisense Kelon is owned by that one
Hisense Kelon
action filter_type
action find_reverse
entity Hisense
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', 'UEFA Euro 2016']
SELECT DISTINCT ?e WHERE { ?e property:parent_organization resource:Hisense . ?e rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P355
Q43229
USER
How many organizations are that organization the subordinate of ?
(c(Q43229),P355,Q5772527)
action count
action filter_type
action find_reverse
entity Q5772527
relation P355
type Q43229
[{'concept': 'Q43229'}, 'P355', 'Q5772527']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P355 resource:Q5772527 . ?r rdf:type ontology:Q43229 }
action count
action filter_type
action find_reverse
entity Hisense Kelon
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Hisense Kelon']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:subsidiary resource:Hisense_Kelon . ?r rdf:type ontology:organization }
[]
organization
SYSTEM
1
Q2527941
(c(Q43229),P355,Q5772527)
action count
action filter_type
action find_reverse
entity Q5772527
relation P355
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P355', 'Q5772527']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P355 resource:Q5772527 . ?r rdf:type ontology:Q43229 }
Hisense
1
action count
action filter_type
action find_reverse
entity Hisense Kelon
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Hisense Kelon']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:subsidiary resource:Hisense_Kelon . ?r rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P47
Q7275 Q1048835
USER
How many states and political territories do Australia share a border with ?
(c(Q7275),P47,Q408) (c(Q1048835),P47,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P47
type Q7275
action filter_type
action find_reverse
entity Q408
relation P47
type Q1048835
[{'concept': 'Q7275'}, 'P47', 'Q408'] [{'concept': 'Q1048835'}, 'P47', 'Q408']
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { ?h rdf:type ontology:Q7275 . ?h property:P47 resource:Q408 } UNION { ?h property:P47 resource:Q408 . ?h rdf:type ontology:Q1048835 } }
Australia
action count
action union
action filter_type
action find_reverse
entity Australia
relation shares border with
type state
action filter_type
action find_reverse
entity Australia
relation shares border with
type political territorial entity
[{'concept': 'state'}, 'shares border with', 'Australia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Australia']
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { ?h rdf:type ontology:state . ?h property:shares_border_with resource:Australia } UNION { ?h property:shares_border_with resource:Australia . ?h rdf:type ontology:political_territorial_entity } }
[]
state political territorial entity
SYSTEM
1 states and 3 political territories
Q664 Q1152445 Q5095 Q691
(c(Q7275),P47,Q408) (c(Q1048835),P47,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P47
type Q7275
action filter_type
action find_reverse
entity Q408
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q7275'}, 'P47', 'Q408'] [{'concept': 'Q1048835'}, 'P47', 'Q408']
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { ?h rdf:type ontology:Q7275 . ?h property:P47 resource:Q408 } UNION { ?h property:P47 resource:Q408 . ?h rdf:type ontology:Q1048835 } }
New Zealand Aerican Empire Papua Papua New Guinea
1 states and 3 political territories
action count
action union
action filter_type
action find_reverse
entity Australia
relation shares border with
type state
action filter_type
action find_reverse
entity Australia
relation shares border with
type political territorial entity
[{'concept': 'state'}, 'shares border with', 'Australia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Australia']
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { ?h rdf:type ontology:state . ?h property:shares_border_with resource:Australia } UNION { ?h property:shares_border_with resource:Australia . ?h rdf:type ontology:political_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5756
P127
Q1048835 Q83620 Q79007
USER
How many political territories owned greater number of thoroughfares or streets than Community of Madrid ?
(c(Q83620)|c(Q79007),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q79007
action count
action filter_multi_types
action find_reverse
entity Q5756
relation P127
type Q83620
type Q79007
[[{'concept': 'Q83620'}, {'concept': 'Q79007'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:Q83620 ) ( ontology:Q79007 ) } . ?t rdf:type ?s } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P127 resource:Q5756 . { { ?k rdf:type ontology:Q83620 } UNION { ?k rdf:type ontology:Q79007 } } } } . FILTER ( ?g > ?a ) }
Community of Madrid
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type street
action count
action filter_multi_types
action find_reverse
entity Community of Madrid
relation owned by
type thoroughfare
type street
[[{'concept': 'thoroughfare'}, {'concept': 'street'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:thoroughfare ) ( ontology:street ) } . ?t rdf:type ?s } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:owned_by resource:Community_of_Madrid . { { ?k rdf:type ontology:thoroughfare } UNION { ?k rdf:type ontology:street } } } } . FILTER ( ?g > ?a ) }
[]
political territorial entity thoroughfare street
SYSTEM
10
Q192536 Q188399 Q183 Q191091 Q46070 Q192697 Q188373 Q190930 Q192702 Q193307
(c(Q83620)|c(Q79007),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q79007
action count
action filter_multi_types
action find_reverse
entity Q5756
relation P127
type Q83620
type Q79007
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q79007'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:Q83620 ) ( ontology:Q79007 ) } . ?t rdf:type ?s } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P127 resource:Q5756 . { { ?k rdf:type ontology:Q83620 } UNION { ?k rdf:type ontology:Q79007 } } } } . FILTER ( ?g > ?a ) }
Zlín Region Central Bohemian Region Germany Karlovy Vary Region Plzeň Region South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Olomouc Region
10
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type street
action count
action filter_multi_types
action find_reverse
entity Community of Madrid
relation owned by
type thoroughfare
type street
[[{'concept': 'thoroughfare'}, {'concept': 'street'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:thoroughfare ) ( ontology:street ) } . ?t rdf:type ?s } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:owned_by resource:Community_of_Madrid . { { ?k rdf:type ontology:thoroughfare } UNION { ?k rdf:type ontology:street } } } } . FILTER ( ?g > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q211091
P127
Q1048835 Q83620 Q79007
USER
And how about Renfrewshire?
(c(Q83620)|c(Q79007),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q79007
action count
action filter_multi_types
action find_reverse
entity Q211091
relation P127
type Q83620
type Q79007
[[{'concept': 'Q83620'}, {'concept': 'Q79007'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:Q83620 ) ( ontology:Q79007 ) } . ?l rdf:type ?y } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:P127 resource:Q211091 . { { ?u rdf:type ontology:Q83620 } UNION { ?u rdf:type ontology:Q79007 } } } } . FILTER ( ?a > ?d ) }
Renfrewshire
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type street
action count
action filter_multi_types
action find_reverse
entity Renfrewshire
relation owned by
type thoroughfare
type street
[[{'concept': 'thoroughfare'}, {'concept': 'street'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:thoroughfare ) ( ontology:street ) } . ?l rdf:type ?y } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:owned_by resource:Renfrewshire . { { ?u rdf:type ontology:thoroughfare } UNION { ?u rdf:type ontology:street } } } } . FILTER ( ?a > ?d ) }
[]
political territorial entity thoroughfare street
SYSTEM
10
Q192536 Q188399 Q183 Q191091 Q46070 Q192697 Q188373 Q190930 Q192702 Q193307
(c(Q83620)|c(Q79007),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q79007
action count
action filter_multi_types
action find_reverse
entity Q211091
relation P127
type Q83620
type Q79007
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q79007'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:Q83620 ) ( ontology:Q79007 ) } . ?l rdf:type ?y } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:P127 resource:Q211091 . { { ?u rdf:type ontology:Q83620 } UNION { ?u rdf:type ontology:Q79007 } } } } . FILTER ( ?a > ?d ) }
Zlín Region Central Bohemian Region Germany Karlovy Vary Region Plzeň Region South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Olomouc Region
10
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type street
action count
action filter_multi_types
action find_reverse
entity Renfrewshire
relation owned by
type thoroughfare
type street
[[{'concept': 'thoroughfare'}, {'concept': 'street'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:thoroughfare ) ( ontology:street ) } . ?l rdf:type ?y } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:owned_by resource:Renfrewshire . { { ?u rdf:type ontology:thoroughfare } UNION { ?u rdf:type ontology:street } } } } . FILTER ( ?a > ?d ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q1321 Q189571
P1412 P1344
Q502895
USER
Which people took part in UEFA Euro 2016 and do not have language named Spanish ?
AND((c(Q502895),P1344,Q189571), NOT((c(Q502895),P1412,Q1321)))
action filter_type
action difference
action find_reverse
entity Q189571
relation P1344
action find_reverse
entity Q1321
relation P1412
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1344', 'Q189571'], {'NOT': [[{'concept': 'Q502895'}, 'P1412', 'Q1321']]}]}
SELECT DISTINCT ?w WHERE { ?w property:P1344 resource:Q189571 . FILTER NOT EXISTS { ?w property:P1412 resource:Q1321 } . ?w rdf:type ontology:Q502895 }
Spanish UEFA Euro 2016
action filter_type
action difference
action find_reverse
entity UEFA Euro 2016
relation participant of
action find_reverse
entity Spanish
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'participant of', 'UEFA Euro 2016'], {'NOT': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Spanish']]}]}
SELECT DISTINCT ?w WHERE { ?w property:participant_of resource:UEFA_Euro_2016 . FILTER NOT EXISTS { ?w property:languages_spoken,_written_or_signed resource:Spanish } . ?w rdf:type ontology:common_name }
[]
common name
Q487459 Q151260 Q80128 Q304416 Q284078 Q994561 Q697255 Q10715 Q247780 Q16528455
SYSTEM
Some of them are Arda Turan, Jérôme Boateng, Federico Marchetti, William Carvalho, Yevhen Konoplyanka, Jonas Hector, Julian Baumgartlinger, Lee Hodson, Kornel Saláta, Alessandro Schöpf
Q5660741 Q263738 Q357984 Q83498 Q54094 Q314227 Q59719 Q3811755 Q215297 Q188997 Q161054 Q1938 Q689503 Q314386 Q363500 Q1100297 Q6413296 Q355816 Q701297 Q188921 Q184586 Q21066260 Q296986 Q482947 Q315327 Q247780 Q546799 Q129027 Q676126 Q502891 Q1450945 Q377899 Q514427 Q1940 Q3090268 Q312157 Q3898288 Q192913 Q191885 Q694924 Q208586 Q187184 Q16665941 Q29162 Q508512 Q296391 Q348432 Q278239 Q470751 Q994561 Q188241 Q266045 Q969725 Q348801 Q170038 Q96755 Q10715 Q1759443 Q44181 Q299736 Q2463858 Q472300 Q2718231 Q107365 Q5546374 Q151838 Q2336602 Q11954 Q714067 Q920425 Q713439 Q526445 Q15844698 Q187396 Q222231 Q481330 Q217389 Q1907 Q58377 Q679530 Q72802 Q694014 Q299750 Q334430 Q20128169 Q253348 Q313952 Q1392235 Q3785984 Q306351 Q487459 Q1191188 Q214204 Q252190 Q1332571 Q358075 Q43666 Q80306 Q13865408 Q73360 Q15976362 Q2724855 Q151269 Q217507 Q1563415 Q125460 Q273715 Q455462 Q355193 Q528983 Q215577 Q314391 Q16837911 Q318524 Q311349 Q718231 Q3496583 Q514341 Q328882 Q334393 Q39233 Q206306 Q17562446 Q376237 Q246680 Q680223 Q319884 Q151260 Q1911 Q1910 Q2091463 Q316591 Q1915 Q40596 Q214124 Q1916 Q328479 Q93555 Q781755 Q579231 Q294980 Q10732 Q131234 Q645750 Q32556 Q7114242 Q16528455 Q15065431 Q29491 Q16499882 Q313575 Q570811 Q483837 Q178270 Q213011 Q206607 Q348813 Q104454 Q10552708 Q313170 Q334334 Q302130 Q138839 Q110053 Q223827 Q934766 Q153266 Q16235064 Q1921 Q4018373 Q59105 Q2602888 Q315289 Q18223242 Q1909 Q517192 Q59108 Q299768 Q3623650 Q284078 Q11571 Q326240 Q203002 Q1352049 Q18142105 Q933750 Q134976 Q15907851 Q760734 Q458316 Q215812 Q2715111 Q60545 Q128936 Q314083 Q464694 Q698326 Q433120 Q184177 Q666748 Q184269 Q266613 Q249572 Q40771 Q13308 Q681913 Q126444 Q673691 Q218680 Q12875294 Q5238456 Q15199 Q2067320 Q80128 Q213427 Q1361462 Q273776 Q22951255 Q60360 Q969901 Q275512 Q2025900 Q168497 Q818111 Q313316 Q4254043 Q315697 Q344107 Q15956282 Q388835 Q26233 Q160472 Q31564 Q201394 Q207157 Q3777702 Q313250 Q2861144 Q16235149 Q357912 Q193717 Q258824 Q17180713 Q314093 Q275169 Q766289 Q283762 Q969467 Q310328 Q193000 Q72648 Q187171 Q442457 Q1556977 Q355837 Q158980 Q700357 Q213980 Q697255 Q524870 Q3976225 Q1924 Q2416149 Q3495784 Q853594 Q519006 Q311368 Q207800 Q83638 Q2037238 Q930371 Q313149 Q6147586 Q68060 Q2552704 Q519008 Q4241680 Q6298271 Q2736254 Q370527 Q213095 Q161082 Q59194 Q285685 Q3788202 Q115453 Q2623887 Q1986401 Q667596 Q686688 Q44298 Q83488 Q1369793 Q358862 Q309966 Q151025 Q314048 Q294877 Q2894444 Q299515 Q348199 Q294990 Q355807 Q29495 Q184612 Q3687123 Q2066985 Q1883203 Q152897 Q10553748 Q201825 Q191136 Q27694 Q971539 Q686599 Q2635045 Q483137 Q18214882 Q128840 Q215770 Q391628 Q6203811 Q205773 Q865680 Q3185990 Q485697 Q304416 Q107051 Q222151
AND((c(Q502895),P1344,Q189571), NOT((c(Q502895),P1412,Q1321)))
action filter_type
action difference
action find_reverse
entity Q189571
relation P1344
action find_reverse
entity Q1321
relation P1412
type Q502895
[ANSWERS] took part in UEFA Euro 2016 and do not have language named Spanish
{'AND': [[{'concept': 'Q502895'}, 'P1344', 'Q189571'], {'NOT': [[{'concept': 'Q502895'}, 'P1412', 'Q1321']]}]}
SELECT DISTINCT ?w WHERE { ?w property:P1344 resource:Q189571 . FILTER NOT EXISTS { ?w property:P1412 resource:Q1321 } . ?w rdf:type ontology:Q502895 }
Will Grigg Jakub Wawrzyniak Kevin De Bruyne Danny Rose Sami Khedira Domagoj Vida Adam Lallana Jón Daði Böðvarsson Andriy Pyatov Wojciech Szczęsny Ivan Perišić Bacary Sagna Jakob Jantscher Denis Glushakov György Garics Laurent Ciman Kingsley Coman Oleksandr Kucher Mateo Kovačić Igor Denisov Gareth Bale Denis Zakaria Ruslan Rotan Nani Stanislav Šesták Kornel Saláta James Chester Paul Pogba Markus Suttner Vyacheslav Shevchuk Valentino Lazaro Cristian Săpunaru Granit Xhaka André-Pierre Gignac Frédéric Veseli Raheem Sterling Pavel Kadeřábek Martin Škrtel Thiago Motta Florian Klein Stephan Lichtsteiner Joe Hart N'Golo Kanté Tomáš Rosický Bohdan Butko Ryan Bertrand Denys Harmash Vladimír Darida Chris Gunter Jonas Hector Ricardo Quaresma Marek Suchý Harry Kane Yevhen Seleznyov Jóhann Berg Guðmundsson Antonio Rüdiger Lee Hodson Alan Mannus Anatoliy Tymoshchuk Tomáš Necid Ashley Richards Marcel Sabitzer Kári Árnason Manuel Neuer George Williams Axel Witsel Stefan Ilsanker Dries Mertens Nathaniel Clyne Oliver Norwood Artyom Dzyuba Andy King Julian Weigl Eiður Guðjohnsen Daniel Sturridge Cédric Soares Valon Behrami Hugo Lloris André Schürrle Michael Lang Eliseu Shkodran Mustafi Theodor Gebre Selassie David Lafata Danny Ward Blerim Džemaili Roman Hubník Anthony Lopes Hjörtur Hermannsson John O'Shea Arda Turan Neil Taylor Eden Hazard Xherdan Shaqiri Pavel Mamayev Danijel Subašić Thomas Müller Giorgio Chiellini Joshua Kimmich Thibaut Courtois Luke McCullough Adrien Silva Robert Lewandowski Vladimír Weiss Josef Šural Simon Mignolet Jordan Henderson Antoine Griezmann Vieirinha Ashley Williams Eren Derdiyok Yevhen Khacheridi Ante Ćorić Ján Ďurica Vasili Berezutski Michał Pazdan Tomáš Koubek Cosmin Moți Yaroslav Rakitskiy David Limberský Aleksandr Kokorin Vedran Ćorluka Ingvar Jónsson Chris Baird Georgi Shchennikov Robert Almer Kamil Grosicki Jérôme Boateng Olivier Giroud Yohan Cabaye Anthony Martial Steve von Bergen Laurent Koscielny Łukasz Fabiański Kim Källström Patrice Evra Jamie Ward Ben Davies Aron Gunnarsson Eliaquim Mangala Rui Patrício Daniel Pudil Toni Kroos Roman Shishkin Antonio Candreva Owain Fôn Williams Alessandro Schöpf Aleksandr Golovin Chris Smalling Leroy Sané Marko Arnautović Ricardo Carvalho Luka Modrić Andreas Granqvist Aleksei Berezutski Roman Shirokov Fraser Forster Mario Götze Kevin Wimmer Jan Vertonghen Daniel Kolář Aaron Hughes Wayne Hennessey Mats Hummels Gary Cahill David Edwards Łukasz Piszczek Sverrir Ingi Ingason Blaise Matuidi Rúnar Már Sigurjónsson Gylfi Sigurðsson Birkir Már Sævarsson Sebastian Prödl Florin Andone Adil Rami Radja Nainggolan Kyle Walker Eduardo Carvalho Arnór Ingvi Traustason Yevhen Konoplyanka Cristiano Ronaldo Ross Barkley Igor Akinfeev Niall McGinn Patrick McNair Gareth McAuley Lukas Podolski Rafa Silva Ragnar Sigurðsson Craig Cathcart Shay Given Emil Hallfreðsson Moussa Sissoko Kolbeinn Sigþórsson Ivan Strinić Nicolae Stanciu Lukas Hinterseer Milan Badelj Thomas Vermaelen Aleksandar Dragović Darijo Srna Wayne Rooney Ádám Szalai Alfreð Finnbogason Samuel Umtiti Bogdan Stancu David Vaughan Fabian Schär Graziano Pellè Yuri Lodygin David Pavelka Jack Wilshere Hannes Þór Halldórsson Federico Marchetti Aaron Ramsey Morgan Schneiderlin Éder Marcus Rashford Martin Harnik Guilherme Marinato Dmitri Kombarov John Stones Daniele De Rossi Benoît Costil Romelu Lukaku Divock Origi Julian Draxler Marc Janko Breel Embolo Bořek Dočkal Roman Neustädter Marc-André ter Stegen Hakan Balta Ján Mucha Zlatko Junuzović Michael McGovern Joe Allen Ari Freyr Skúlason Conor Washington Tom Heaton Jaroslav Plašil Roy Carroll Ögmundur Kristinsson Juraj Kucka Marouane Fellaini Danilo Luís Hélio Pereira Haris Seferović Shane Ferguson Andriy Yarmolenko Bruno Alves Lucas Digne Mario Mandžukić Christophe Jallet Tomáš Vaclík Christian Fuchs James Collins Rubin Okotie Sergei Ignashevich Julian Baumgartlinger Roman Bürki Stuart Dallas Steve Mandanda Aleksandr Samedov Milan Škoda Corry Evans Oleg Ivanov Nikola Kalinić Artur Boruc Sebastian Larsson Oleg Shatov Sam Vokes Răzvan Raț Jamie Vardy Gianluigi Buffon Theódór Elmar Bjarnason André Gomes Raphaël Guerreiro João Mário Eduardo José Fonte Joe Ledley Gélson Fernandes Peter Pekarík Moussa Dembélé Ramazan Özcan Hörður Björgvin Magnússon Ivan Rakitić Hal Robson-Kanu Ladislav Krejčí Yann Sommer Martin Hinteregger Bastian Schweinsteiger Mesut Özil Kyle Lafferty Admir Mehmedi Bernd Leno Jakub Błaszczykowski Gordon Schildenfeld Dmitri Torbinski Igor Smolnikov Miroslav Stoch Mehmet Topal Michal Kadlec Steven Davis Jonny Evans Robbie Keane Conor McLaughlin Jonathan Williams Fyodor Smolov Benedikt Höwedes Dele Alli Marek Hamšík James Milner Emre Can David Cotterill Heinz Lindner Simon Church Petr Čech Haukur Heiðar Hauksson Toby Alderweireld Johan Djourou Šime Vrsaljko Jiří Skalák Andreas Isaksson Birkir Bjarnason Josh Magennis Pepe William Carvalho Andrea Barzagli João Moutinho
Arda Turan, Jérôme Boateng, Federico Marchetti, William Carvalho, Yevhen Konoplyanka, Jonas Hector, Julian Baumgartlinger, Lee Hodson, Kornel Saláta and Alessandro Schöpf took part in UEFA Euro 2016 and do not have language named Spanish
Arda Turan Jérôme Boateng Federico Marchetti William Carvalho Yevhen Konoplyanka Jonas Hector Julian Baumgartlinger Lee Hodson Kornel Saláta Alessandro Schöpf
action filter_type
action difference
action find_reverse
entity UEFA Euro 2016
relation participant of
action find_reverse
entity Spanish
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'participant of', 'UEFA Euro 2016'], {'NOT': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Spanish']]}]}
SELECT DISTINCT ?w WHERE { ?w property:participant_of resource:UEFA_Euro_2016 . FILTER NOT EXISTS { ?w property:languages_spoken,_written_or_signed resource:Spanish } . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q508512 Q487459
P1344
Q1375427
USER
Which European Championships did Arda Turan and Bohdan Butko participate in ?
AND((Q487459,P1344,c(Q1375427)), (Q508512,P1344,c(Q1375427)))
action filter_type
action intersection
action find
entity Q487459
relation P1344
action find
entity Q508512
relation P1344
type Q1375427
{'AND': [['Q487459', 'P1344', {'concept': 'Q1375427'}], ['Q508512', 'P1344', {'concept': 'Q1375427'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1375427 . resource:Q508512 property:P1344 ?v . resource:Q487459 property:P1344 ?v }
Bohdan Butko Arda Turan
action filter_type
action intersection
action find
entity Arda Turan
relation participant of
action find
entity Bohdan Butko
relation participant of
type European Championship
{'AND': [['Arda Turan', 'participant of', {'concept': 'European Championship'}], ['Bohdan Butko', 'participant of', {'concept': 'European Championship'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:European_Championship . resource:Bohdan_Butko property:participant_of ?v . resource:Arda_Turan property:participant_of ?v }
[]
European Championship
Q189571
SYSTEM
UEFA Euro 2016
Q189571
AND((Q487459,P1344,c(Q1375427)), (Q508512,P1344,c(Q1375427)))
action filter_type
action intersection
action find
entity Q487459
relation P1344
action find
entity Q508512
relation P1344
type Q1375427
Arda Turan and Bohdan Butko participated in [ANSWER]
{'AND': [['Q487459', 'P1344', {'concept': 'Q1375427'}], ['Q508512', 'P1344', {'concept': 'Q1375427'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1375427 . resource:Q508512 property:P1344 ?v . resource:Q487459 property:P1344 ?v }
UEFA Euro 2016
Arda Turan and Bohdan Butko participated in UEFA Euro 2016
UEFA Euro 2016
action filter_type
action intersection
action find
entity Arda Turan
relation participant of
action find
entity Bohdan Butko
relation participant of
type European Championship
{'AND': [['Arda Turan', 'participant of', {'concept': 'European Championship'}], ['Bohdan Butko', 'participant of', {'concept': 'European Championship'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:European_Championship . resource:Bohdan_Butko property:participant_of ?v . resource:Arda_Turan property:participant_of ?v }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q189571 Q267245 Q189198
P1923
Q1194951
USER
Did Portugal national football team and Iceland national football team participate in UEFA Euro 2016 ?
(Q189571,P1923,Q267245) (Q189571,P1923,Q189198)
action is_in
entity Q189571
action intersection
action find_reverse
entity Q267245
relation P1923
action find_reverse
entity Q189198
relation P1923
['Q189571', 'P1923', 'Q267245'] ['Q189571', 'P1923', 'Q189198']
ASK WHERE { resource:Q189571 property:P1923 resource:Q267245 . resource:Q189571 property:P1923 resource:Q189198 }
UEFA Euro 2016 Portugal national football team Iceland national football team
action is_in
entity UEFA Euro 2016
action intersection
action find_reverse
entity Portugal national football team
relation participating teams
action find_reverse
entity Iceland national football team
relation participating teams
['UEFA Euro 2016', 'participating teams', 'Portugal national football team'] ['UEFA Euro 2016', 'participating teams', 'Iceland national football team']
ASK WHERE { resource:UEFA_Euro_2016 property:participating_teams resource:Portugal_national_football_team . resource:UEFA_Euro_2016 property:participating_teams resource:Iceland_national_football_team }
[]
national sports team
SYSTEM
YES
(Q189571,P1923,Q267245) (Q189571,P1923,Q189198)
action is_in
entity Q189571
action intersection
action find_reverse
entity Q267245
relation P1923
action find_reverse
entity Q189198
relation P1923
[ANSWER]
['Q189571', 'P1923', 'Q267245'] ['Q189571', 'P1923', 'Q189198']
ASK WHERE { resource:Q189571 property:P1923 resource:Q267245 . resource:Q189571 property:P1923 resource:Q189198 }
Yes
action is_in
entity UEFA Euro 2016
action intersection
action find_reverse
entity Portugal national football team
relation participating teams
action find_reverse
entity Iceland national football team
relation participating teams
['UEFA Euro 2016', 'participating teams', 'Portugal national football team'] ['UEFA Euro 2016', 'participating teams', 'Iceland national football team']
ASK WHERE { resource:UEFA_Euro_2016 property:participating_teams resource:Portugal_national_football_team . resource:UEFA_Euro_2016 property:participating_teams resource:Iceland_national_football_team }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q151260 Q176883
P1344
Q15275719
USER
Did Jérôme Boateng participate in 2010 FIFA World Cup ?
(Q151260,P1344,Q176883)
action is_in
entity Q176883
action find
entity Q151260
relation P1344
['Q151260', 'P1344', 'Q176883']
ASK WHERE { resource:Q151260 property:P1344 resource:Q176883 }
Jérôme Boateng 2010 FIFA World Cup
action is_in
entity 2010 FIFA World Cup
action find
entity Jérôme Boateng
relation participant of
['Jérôme Boateng', 'participant of', '2010 FIFA World Cup']
ASK WHERE { resource:Jérôme_Boateng property:participant_of resource:2010_FIFA_World_Cup }
[]
recurring event
SYSTEM
YES
(Q151260,P1344,Q176883)
action is_in
entity Q176883
action find
entity Q151260
relation P1344
[ANSWER]
['Q151260', 'P1344', 'Q176883']
ASK WHERE { resource:Q151260 property:P1344 resource:Q176883 }
Yes
action is_in
entity 2010 FIFA World Cup
action find
entity Jérôme Boateng
relation participant of
['Jérôme Boateng', 'participant of', '2010 FIFA World Cup']
ASK WHERE { resource:Jérôme_Boateng property:participant_of resource:2010_FIFA_World_Cup }
[]