Simple Question (Direct)
Simple Question
Q3371717
P641
Q349
USER
What was the sport that Paul Loughlin was a part of ?
(Q3371717,P641,c(Q349))
action filter_type
action find
entity Q3371717
relation P641
type Q349
['Q3371717', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q3371717 property:P641 ?e . ?e rdf:type ontology:Q349 }
Paul Loughlin
action filter_type
action find
entity Paul Loughlin
relation sport
type sport
['Paul Loughlin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Paul_Loughlin property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q10962
SYSTEM
rugby league
Q10962
(Q3371717,P641,c(Q349))
action filter_type
action find
entity Q3371717
relation P641
type Q349
The sport that Paul Loughlin was a part of was the [ANSWER]
['Q3371717', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q3371717 property:P641 ?e . ?e rdf:type ontology:Q349 }
rugby league
The sport that Paul Loughlin was a part of was the rugby league
rugby league
action filter_type
action find
entity Paul Loughlin
relation sport
type sport
['Paul Loughlin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Paul_Loughlin property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3371717
P54
Q874405
USER
What sports teams are that person a member of ?
(Q10962,P54,c(Q874405))
action filter_type
action find
entity Q3371717
relation P54
type Q874405
['Q10962', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q3371717 property:P54 ?h . ?h rdf:type ontology:Q874405 }
Paul Loughlin
action filter_type
action find
entity Paul Loughlin
relation member of sports team
type social group
['rugby league', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Loughlin property:member_of_sports_team ?h . ?h rdf:type ontology:social_group }
[]
social group
Q2352689 Q1134319 Q3142169
SYSTEM
Bradford Bulls, St Helens RLFC, Huddersfield Giants
Q2352689 Q1134319 Q3142169
(Q10962,P54,c(Q874405))
action filter_type
action find
entity Q3371717
relation P54
type Q874405
[ANSWERS] are that person a member of
['Q10962', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q3371717 property:P54 ?h . ?h rdf:type ontology:Q874405 }
Bradford Bulls St Helens RLFC Huddersfield Giants
Bradford Bulls, St Helens RLFC and Huddersfield Giants are that person a member of
Bradford Bulls St Helens RLFC Huddersfield Giants
action filter_type
action find
entity Paul Loughlin
relation member of sports team
type social group
['rugby league', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Loughlin property:member_of_sports_team ?h . ?h rdf:type ontology:social_group }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P466
Q874405 Q1076486 Q811430
USER
Which social groups are occupants of more number of sports venues or constructions than that social group ?
(c(Q1076486)|c(Q811430),P466,c(Q874405))
[[{'concept': 'Q1076486'}, {'concept': 'Q811430'}], 'P466', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P466 ?y } UNION { ?x property:P466 ?y } } . ?z rdf:type ontology:Q1076486 . ?y rdf:type ontology:Q874405 . ?x rdf:type ontology:Q385378 }
[[{'concept': 'sports venue'}, {'concept': 'construction'}], 'occupant', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { { { ?z property:occupant ?y } UNION { ?x property:occupant ?y } } . ?z rdf:type ontology:sports_venue . ?y rdf:type ontology:social_group . ?x rdf:type ontology:construction }
[]
social group sports venue construction
Comparative|More/Less|Mult. entity type|Clarification
Q2352689
SYSTEM
Did you mean Bradford Bulls ?
(c(Q1076486)|c(Q811430),P466,c(Q874405))
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q811430'}], 'P466', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P466 ?y } UNION { ?x property:P466 ?y } } . ?z rdf:type ontology:Q1076486 . ?y rdf:type ontology:Q874405 . ?x rdf:type ontology:Q385378 }
Did you mean Bradford Bulls ?
Bradford Bulls
[[{'concept': 'sports venue'}, {'concept': 'construction'}], 'occupant', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { { { ?z property:occupant ?y } UNION { ?x property:occupant ?y } } . ?z rdf:type ontology:sports_venue . ?y rdf:type ontology:social_group . ?x rdf:type ontology:construction }
[]
Comparative Reasoning (All)
USER
No, I meant St Helens RLFC. Could you tell me the answer for that?
(c(Q1076486)|c(Q811430),P466,c(Q874405))
Q1134319
[[{'concept': 'Q1076486'}, {'concept': 'Q811430'}], 'P466', {'concept': 'Q874405'}]
[[{'concept': 'sports venue'}, {'concept': 'construction'}], 'occupant', {'concept': 'social group'}]
[]
Q3286027 Q3567556 Q3339101
SYSTEM
Manly-Warringah Sea Eagles, Wests Tigers, Newcastle Knights
Q6670780 Q3286027 Q3229159 Q896965 Q2936194 Q7085655 Q3374818 Q7566966 Q3567951 Q665111 Q8035013 Q4794138 Q3567556 Q1101257 Q3495259 Q3322893 Q6971262 Q2549837 Q1574487 Q2868054 Q2941467 Q3344159 Q213283 Q6689132 Q3109995 Q2573367 Q3339101 Q3366024 Q863661 Q3194676 Q2936583
(c(Q1076486)|c(Q811430),P466,c(Q874405))
[ANSWERS] are occupants of more number of sports venues or constructions than that social group
[[{'concept': 'Q1076486'}, {'concept': 'Q811430'}], 'P466', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P466 ?y } UNION { ?x property:P466 ?y } } . ?z rdf:type ontology:Q1076486 . ?y rdf:type ontology:Q874405 . ?x rdf:type ontology:Q385378 }
London Skolars Manly-Warringah Sea Eagles Leigh Centurions Bradford Park Avenue A.F.C. Canberra Raiders Oldham Roughyeds Penrith Panthers South Dakota High School Activities Association Widnes Vikings Brisbane Broncos Workington Town Army Football Association Wests Tigers Clifford Chance St. George Illawarra Dragons Montpellier Red Devils National Capital Region F.A. Warrington Wolves Melbourne Storm AS Carcassonne Castleford Tigers North Queensland Cowboys diplomatic mission Louisiana High School Athletic Association Gold Coast Titans Sydney Roosters Newcastle Knights Parramatta Eels Hull F.C. Keighley Cougars Canterbury-Bankstown Bulldogs
Manly-Warringah Sea Eagles, Wests Tigers and Newcastle Knights are occupants of more number of sports venues or constructions than that social group
Manly-Warringah Sea Eagles Wests Tigers Newcastle Knights
[[{'concept': 'sports venue'}, {'concept': 'construction'}], 'occupant', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { { { ?z property:occupant ?y } UNION { ?x property:occupant ?y } } . ?z rdf:type ontology:sports_venue . ?y rdf:type ontology:social_group . ?x rdf:type ontology:construction }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3567556
P466
Q1076486
USER
What was inhabited by that social group ?
(c(Q1076486),P466,Q3567556)
action filter_type
action find_reverse
entity Q3567556
relation P466
type Q1076486
[{'concept': 'Q1076486'}, 'P466', 'Q3567556']
SELECT DISTINCT ?e WHERE { ?e property:P466 resource:Q3567556 . ?e rdf:type ontology:Q1076486 }
Wests Tigers
action filter_type
action find_reverse
entity Wests Tigers
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Wests Tigers']
SELECT DISTINCT ?e WHERE { ?e property:occupant resource:Wests_Tigers . ?e rdf:type ontology:sports_venue }
[]
sports venue
Clarification for simple ques.
Q3339101
SYSTEM
Did you mean Newcastle Knights ?
Q3286027 Q3567556 Q3339101
(c(Q1076486),P466,Q3286027) (c(Q1076486),P466,Q3567556) (c(Q1076486),P466,Q3339101)
[ANSWER]
[{'concept': 'Q1076486'}, 'P466', 'Q3286027'] [{'concept': 'Q1076486'}, 'P466', 'Q3567556'] [{'concept': 'Q1076486'}, 'P466', 'Q3339101']
SELECT DISTINCT ?e WHERE { ?e property:P466 resource:Q3567556 . ?e rdf:type ontology:Q1076486 }
Manly-Warringah Sea Eagles Wests Tigers Newcastle Knights
Did you mean Newcastle Knights ?
Newcastle Knights
[{'concept': 'sports venue'}, 'occupant', 'Manly-Warringah Sea Eagles'] [{'concept': 'sports venue'}, 'occupant', 'Wests Tigers'] [{'concept': 'sports venue'}, 'occupant', 'Newcastle Knights']
SELECT DISTINCT ?e WHERE { ?e property:occupant resource:Wests_Tigers . ?e rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
USER
No, I meant Wests Tigers. Could you tell me the answer for that?
(c(Q1076486),P466,Q3567556)
Q3567556
[{'concept': 'Q1076486'}, 'P466', 'Q3567556']
[{'concept': 'sports venue'}, 'occupant', 'Wests Tigers']
[]
Q295886
SYSTEM
Stadium Australia
Q295886
(c(Q1076486),P466,Q3567556)
action filter_type
action find_reverse
entity Q3567556
relation P466
type Q1076486
[ANSWER] was inhabited by that social group
[{'concept': 'Q1076486'}, 'P466', 'Q3567556']
SELECT DISTINCT ?e WHERE { ?e property:P466 resource:Q3567556 . ?e rdf:type ontology:Q1076486 }
Stadium Australia
Stadium Australia was inhabited by that social group
Stadium Australia
action filter_type
action find_reverse
entity Wests Tigers
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Wests Tigers']
SELECT DISTINCT ?e WHERE { ?e property:occupant resource:Wests_Tigers . ?e rdf:type ontology:sports_venue }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P84
Q4830453 Q502895 Q1076486
USER
Which sports venues were lesser number of business enterprises or people the designer of than that sports venue ?
(c(Q1076486),P84,c(Q4830453)|c(Q502895))
action less
action union
action find_tuple_counts
relation P84
type Q1076486
type Q4830453
action find_tuple_counts
relation P84
type Q1076486
type Q502895
action count
action filter_multi_types
action find
entity Q295886
relation P84
type Q4830453
type Q502895
[{'concept': 'Q1076486'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q4830453 ) } . ?o rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q295886 property:P84 ?l . { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:Q4830453 ) ( ontology:Q502895 ) } } } } . FILTER ( ?c < ?m ) }
action less
action union
action find_tuple_counts
relation architect
type sports venue
type business enterprise
action find_tuple_counts
relation architect
type sports venue
type common name
action count
action filter_multi_types
action find
entity Stadium Australia
relation architect
type business enterprise
type common name
[{'concept': 'sports venue'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:business_enterprise ) } . ?o rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Stadium_Australia property:architect ?l . { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:business_enterprise ) ( ontology:common_name ) } } } } . FILTER ( ?c < ?m ) }
[]
business enterprise common name sports venue
SYSTEM
0
(c(Q1076486),P84,c(Q4830453)|c(Q502895))
action less
action union
action find_tuple_counts
relation P84
type Q1076486
type Q4830453
action find_tuple_counts
relation P84
type Q1076486
type Q502895
action count
action filter_multi_types
action find
entity Q295886
relation P84
type Q4830453
type Q502895
[ANSWER]
[{'concept': 'Q1076486'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q4830453 ) } . ?o rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q295886 property:P84 ?l . { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:Q4830453 ) ( ontology:Q502895 ) } } } } . FILTER ( ?c < ?m ) }
0
action less
action union
action find_tuple_counts
relation architect
type sports venue
type business enterprise
action find_tuple_counts
relation architect
type sports venue
type common name
action count
action filter_multi_types
action find
entity Stadium Australia
relation architect
type business enterprise
type common name
[{'concept': 'sports venue'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:business_enterprise ) } . ?o rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Stadium_Australia property:architect ?l . { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:business_enterprise ) ( ontology:common_name ) } } } } . FILTER ( ?c < ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1354451 Q2352689
P20 P17
Q15617994
USER
Which administrative territories are Bradford Bulls located in or are the places of death of Erika Nymgau-Odemar ?
OR((Q2352689,P17,c(Q15617994)), (Q1354451,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q2352689
relation P17
action find
entity Q1354451
relation P20
type Q15617994
{'OR': [['Q2352689', 'P17', {'concept': 'Q15617994'}], ['Q1354451', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q2352689 property:P17 ?h } UNION { resource:Q1354451 property:P20 ?h } } . ?h rdf:type ontology:Q15617994 }
Erika Nymgau-Odemar Bradford Bulls
action filter_type
action union
action find
entity Bradford Bulls
relation country
action find
entity Erika Nymgau-Odemar
relation place of death
type designation for an administrative territorial entity
{'OR': [['Bradford Bulls', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Erika Nymgau-Odemar', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Bradford_Bulls property:country ?h } UNION { resource:Erika_Nymgau-Odemar property:place_of_death ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q131605 Q145
SYSTEM
Merano, United Kingdom
Q131605 Q145
OR((Q2352689,P17,c(Q15617994)), (Q1354451,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q2352689
relation P17
action find
entity Q1354451
relation P20
type Q15617994
Bradford Bulls are located in [ANSWERS] or are the places of death of Erika Nymgau- Odemar
{'OR': [['Q2352689', 'P17', {'concept': 'Q15617994'}], ['Q1354451', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q2352689 property:P17 ?h } UNION { resource:Q1354451 property:P20 ?h } } . ?h rdf:type ontology:Q15617994 }
Merano United Kingdom
Bradford Bulls are located in Merano and United Kingdom or are the places of death of Erika Nymgau- Odemar
Merano United Kingdom
action filter_type
action union
action find
entity Bradford Bulls
relation country
action find
entity Erika Nymgau-Odemar
relation place of death
type designation for an administrative territorial entity
{'OR': [['Bradford Bulls', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Erika Nymgau-Odemar', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Bradford_Bulls property:country ?h } UNION { resource:Erika_Nymgau-Odemar property:place_of_death ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with greater number of administrative territories than New Zealand ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?w ) WHERE { ?k property:P530 ?g . ?k rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q664 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?e ) }
New Zealand
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?w ) WHERE { ?k property:diplomatic_relation ?g . ?k rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:New_Zealand property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?e ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
5
Q40 Q183 Q408 Q35 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?w ) WHERE { ?k property:P530 ?g . ?k rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q664 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?e ) }
Austria Germany Australia Denmark Canada
5
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?w ) WHERE { ?k property:diplomatic_relation ?g . ?k rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:New_Zealand property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q778
P530
Q1048835 Q15617994
USER
And what about The Bahamas?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?u ) WHERE { ?g property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q778 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?l ) }
The Bahamas
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?u ) WHERE { ?g property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:The_Bahamas property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?l ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
7
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?u ) WHERE { ?g property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q778 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?l ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
7
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?u ) WHERE { ?g property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:The_Bahamas property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P463
Q43229
USER
What were United Kingdom a member of ?
(Q145,P463,c(Q43229))
action filter_type
action find
entity Q145
relation P463
type Q43229
['Q145', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q43229 . resource:Q145 property:P463 ?c }
United Kingdom
action filter_type
action find
entity United Kingdom
relation member of
type organization
['United Kingdom', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:organization . resource:United_Kingdom property:member_of ?c }
[]
organization
Q151991 Q7825 Q41550
SYSTEM
European Southern Observatory, World Trade Organization, Organisation for Economic Co-operation and Development
Q340195 Q191384 Q899770 Q41550 Q3772571 Q656801 Q151991 Q7825 Q827525
(Q145,P463,c(Q43229))
action filter_type
action find
entity Q145
relation P463
type Q43229
United Kingdom were a member of [ANSWERS]
['Q145', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q43229 . resource:Q145 property:P463 ?c }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development Caribbean Development Bank International Finance Corporation European Southern Observatory World Trade Organization International Development Association
United Kingdom were a member of European Southern Observatory, World Trade Organization and Organisation for Economic Co-operation and Development
European Southern Observatory World Trade Organization Organisation for Economic Co-operation and Development
action filter_type
action find
entity United Kingdom
relation member of
type organization
['United Kingdom', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:organization . resource:United_Kingdom property:member_of ?c }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q145
Q484652
USER
And which international organization?
(Q145,P463,c(Q484652))
action filter_type
action find
entity Q145
relation P463
type Q484652
['Q145', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?z WHERE { resource:Q145 property:P463 ?z . ?z rdf:type ontology:Q484652 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation member of
type international organization
['United Kingdom', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?z WHERE { resource:United_Kingdom property:member_of ?z . ?z rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, G20, European Space Agency
Q81299 Q1065 Q42262 Q7184 Q7785 Q188822 Q19771 Q37143 Q1043527
(Q145,P463,c(Q484652))
action filter_type
action find
entity Q145
relation P463
type Q484652
[ANSWERS]
['Q145', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?z WHERE { resource:Q145 property:P463 ?z . ?z rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations European Space Agency North Atlantic Treaty Organisation Commonwealth of Nations Asian Development Bank G20 G8 Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe G20 European Space Agency
action filter_type
action find
entity United Kingdom
relation member of
type international organization
['United Kingdom', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?z WHERE { resource:United_Kingdom property:member_of ?z . ?z rdf:type ontology:international_organization }
[]