Simple Question (Direct)
Simple Question
Q27340139
P361
Q18608583
USER
Which recurring sporting event is 1912 All England Badminton Championships – Women's singles a part of ?
(Q27340139,P361,c(Q18608583))
action filter_type
action find
entity Q27340139
relation P361
type Q18608583
['Q27340139', 'P361', {'concept': 'Q18608583'}]
SELECT DISTINCT ?z WHERE { resource:Q27340139 property:P361 ?z . ?z rdf:type ontology:Q18608583 }
1912 All England Badminton Championships – Women's singles
action filter_type
action find
entity 1912 All England Badminton Championships – Women's singles
relation part of
type recurring sporting event
["1912 All England Badminton Championships – Women's singles", 'part of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?z WHERE { resource:1912_All_England_Badminton_Championships_–_Women's_singles property:part_of ?z . ?z rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q2647593
SYSTEM
1912 All England Badminton Championships
Q2647593
(Q27340139,P361,c(Q18608583))
action filter_type
action find
entity Q27340139
relation P361
type Q18608583
[ANSWER] – Women's singles a part of recurring sporting is [ANSWER] event
['Q27340139', 'P361', {'concept': 'Q18608583'}]
SELECT DISTINCT ?z WHERE { resource:Q27340139 property:P361 ?z . ?z rdf:type ontology:Q18608583 }
1912 All England Badminton Championships
1912 All England Badminton Championships – Women's singles a part of recurring sporting is 1912 All England Badminton Championships event
1912 All England Badminton Championships
action filter_type
action find
entity 1912 All England Badminton Championships – Women's singles
relation part of
type recurring sporting event
["1912 All England Badminton Championships – Women's singles", 'part of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?z WHERE { resource:1912_All_England_Badminton_Championships_–_Women's_singles property:part_of ?z . ?z rdf:type ontology:recurring_sporting_event }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2647593 Q203978 Q569835
P17
Q15617994
USER
Is that recurring sporting event located in Orune and Eberau ?
(Q2647593,P17,Q203978) (Q2647593,P17,Q569835)
action is_in
entity Q2647593
action intersection
action find_reverse
entity Q203978
relation P17
action find_reverse
entity Q569835
relation P17
['Q2647593', 'P17', 'Q203978'] ['Q2647593', 'P17', 'Q569835']
ASK WHERE { resource:Q2647593 property:P17 resource:Q203978 . resource:Q2647593 property:P17 resource:Q569835 }
1912 All England Badminton Championships Orune Eberau
action is_in
entity 1912 All England Badminton Championships
action intersection
action find_reverse
entity Orune
relation country
action find_reverse
entity Eberau
relation country
['1912 All England Badminton Championships', 'country', 'Orune'] ['1912 All England Badminton Championships', 'country', 'Eberau']
ASK WHERE { resource:1912_All_England_Badminton_Championships property:country resource:Orune . resource:1912_All_England_Badminton_Championships property:country resource:Eberau }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2647593,P17,Q203978) (Q2647593,P17,Q569835)
action is_in
entity Q2647593
action intersection
action find_reverse
entity Q203978
relation P17
action find_reverse
entity Q569835
relation P17
[ANSWER]
['Q2647593', 'P17', 'Q203978'] ['Q2647593', 'P17', 'Q569835']
ASK WHERE { resource:Q2647593 property:P17 resource:Q203978 . resource:Q2647593 property:P17 resource:Q569835 }
No
action is_in
entity 1912 All England Badminton Championships
action intersection
action find_reverse
entity Orune
relation country
action find_reverse
entity Eberau
relation country
['1912 All England Badminton Championships', 'country', 'Orune'] ['1912 All England Badminton Championships', 'country', 'Eberau']
ASK WHERE { resource:1912_All_England_Badminton_Championships property:country resource:Orune . resource:1912_All_England_Badminton_Championships property:country resource:Eberau }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q27340139 Q145 Q643951
P17
Q15617994
USER
Is 1912 All England Badminton Championships – Women's singles present in United Kingdom and Gleichen ?
(Q27340139,P17,Q145) (Q27340139,P17,Q643951)
action is_in
entity Q27340139
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q643951
relation P17
['Q27340139', 'P17', 'Q145'] ['Q27340139', 'P17', 'Q643951']
ASK WHERE { resource:Q27340139 property:P17 resource:Q643951 . resource:Q27340139 property:P17 resource:Q145 }
1912 All England Badminton Championships – Women's singles United Kingdom Gleichen
action is_in
entity 1912 All England Badminton Championships – Women's singles
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Gleichen
relation country
["1912 All England Badminton Championships – Women's singles", 'country', 'United Kingdom'] ["1912 All England Badminton Championships – Women's singles", 'country', 'Gleichen']
ASK WHERE { resource:1912_All_England_Badminton_Championships_–_Women's_singles property:country resource:Gleichen . resource:1912_All_England_Badminton_Championships_–_Women's_singles property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q27340139,P17,Q145) (Q27340139,P17,Q643951)
action is_in
entity Q27340139
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q643951
relation P17
[ANSWER]
['Q27340139', 'P17', 'Q145'] ['Q27340139', 'P17', 'Q643951']
ASK WHERE { resource:Q27340139 property:P17 resource:Q643951 . resource:Q27340139 property:P17 resource:Q145 }
YES and NO respectively
action is_in
entity 1912 All England Badminton Championships – Women's singles
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Gleichen
relation country
["1912 All England Badminton Championships – Women's singles", 'country', 'United Kingdom'] ["1912 All England Badminton Championships – Women's singles", 'country', 'Gleichen']
ASK WHERE { resource:1912_All_England_Badminton_Championships_–_Women's_singles property:country resource:Gleichen . resource:1912_All_England_Badminton_Championships_–_Women's_singles property:country resource:United_Kingdom }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17784 Q2647593
P47 P17
Q15617994
USER
Which administrative territories are 1912 All England Badminton Championships present in or are adjacent to Castelnuovo Calcea ?
OR((Q2647593,P17,c(Q15617994)), (Q17784,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q2647593
relation P17
action find
entity Q17784
relation P47
type Q15617994
{'OR': [['Q2647593', 'P17', {'concept': 'Q15617994'}], ['Q17784', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q17784 property:P47 ?l } UNION { resource:Q2647593 property:P17 ?l } } }
Castelnuovo Calcea 1912 All England Badminton Championships
action filter_type
action union
action find
entity 1912 All England Badminton Championships
relation country
action find
entity Castelnuovo Calcea
relation shares border with
type designation for an administrative territorial entity
{'OR': [['1912 All England Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Castelnuovo Calcea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Castelnuovo_Calcea property:shares_border_with ?l } UNION { resource:1912_All_England_Badminton_Championships property:country ?l } } }
[]
designation for an administrative territorial entity
Q17835 Q145 Q17839 Q17824 Q17820 Q17862 Q17886 Q17741
SYSTEM
Montegrosso d'Asti, United Kingdom, Nizza Monferrato, Mombercelli, Moasca, San Marzano Oliveto, Vinchio, Agliano Terme
Q17835 Q145 Q17839 Q17824 Q17820 Q17862 Q17886 Q17741
OR((Q2647593,P17,c(Q15617994)), (Q17784,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q2647593
relation P17
action find
entity Q17784
relation P47
type Q15617994
[ANSWERS] are 1912 All England Badminton Championships present in or are adjacent to Castelnuovo Calcea
{'OR': [['Q2647593', 'P17', {'concept': 'Q15617994'}], ['Q17784', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q17784 property:P47 ?l } UNION { resource:Q2647593 property:P17 ?l } } }
Montegrosso d'Asti United Kingdom Nizza Monferrato Mombercelli Moasca San Marzano Oliveto Vinchio Agliano Terme
Montegrosso d'Asti, United Kingdom, Nizza Monferrato, Mombercelli, Moasca, San Marzano Oliveto, Vinchio and Agliano Terme are 1912 All England Badminton Championships present in or are adjacent to Castelnuovo Calcea
Montegrosso d'Asti United Kingdom Nizza Monferrato Mombercelli Moasca San Marzano Oliveto Vinchio Agliano Terme
action filter_type
action union
action find
entity 1912 All England Badminton Championships
relation country
action find
entity Castelnuovo Calcea
relation shares border with
type designation for an administrative territorial entity
{'OR': [['1912 All England Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Castelnuovo Calcea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Castelnuovo_Calcea property:shares_border_with ?l } UNION { resource:1912_All_England_Badminton_Championships property:country ?l } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q374592 Q2647593
P17
Q15617994
USER
Which administrative territories are 1912 All England Badminton Championships or Mönkhkhairkhan located in ?
OR((Q2647593,P17,c(Q15617994)), (Q374592,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2647593
relation P17
action find
entity Q374592
relation P17
type Q15617994
{'OR': [['Q2647593', 'P17', {'concept': 'Q15617994'}], ['Q374592', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q2647593 property:P17 ?o } UNION { resource:Q374592 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Mönkhkhairkhan 1912 All England Badminton Championships
action filter_type
action union
action find
entity 1912 All England Badminton Championships
relation country
action find
entity Mönkhkhairkhan
relation country
type designation for an administrative territorial entity
{'OR': [['1912 All England Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mönkhkhairkhan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:1912_All_England_Badminton_Championships property:country ?o } UNION { resource:Mönkhkhairkhan property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q711 Q145
SYSTEM
Mongolia, United Kingdom
Q711 Q145
OR((Q2647593,P17,c(Q15617994)), (Q374592,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2647593
relation P17
action find
entity Q374592
relation P17
type Q15617994
1912 All England Badminton Championships or Mönkhkhairkhan are located in [ANSWERS]
{'OR': [['Q2647593', 'P17', {'concept': 'Q15617994'}], ['Q374592', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q2647593 property:P17 ?o } UNION { resource:Q374592 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Mongolia United Kingdom
1912 All England Badminton Championships or Mönkhkhairkhan are located in Mongolia and United Kingdom
Mongolia United Kingdom
action filter_type
action union
action find
entity 1912 All England Badminton Championships
relation country
action find
entity Mönkhkhairkhan
relation country
type designation for an administrative territorial entity
{'OR': [['1912 All England Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mönkhkhairkhan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:1912_All_England_Badminton_Championships property:country ?o } UNION { resource:Mönkhkhairkhan property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q1048835 Q2088357
USER
How many administrative territories are atleast 1 political territories or musical ensembles named after ?
(c(Q1048835)|c(Q2088357),P138,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q2088357
value 1
[[{'concept': 'Q1048835'}, {'concept': 'Q2088357'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?f ) WHERE { { ?y property:P138 ?c . ?y rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } UNION { ?y property:P138 ?c . ?c rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2088357 } } GROUP BY ?c } . FILTER ( ?f >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type musical ensemble
value 1
[[{'concept': 'political territorial entity'}, {'concept': 'musical ensemble'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?f ) WHERE { { ?y property:named_after ?c . ?y rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y property:named_after ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:musical_ensemble } } GROUP BY ?c } . FILTER ( ?f >= 1 ) }
[]
designation for an administrative territorial entity political territorial entity musical ensemble
SYSTEM
4
Q80599 Q705 Q161825 Q629664
(c(Q1048835)|c(Q2088357),P138,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q2088357
value 1
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q2088357'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?f ) WHERE { { ?y property:P138 ?c . ?y rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } UNION { ?y property:P138 ?c . ?c rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2088357 } } GROUP BY ?c } . FILTER ( ?f >= 1 ) }
Auletta Zeeland Daun Arbesbach
4
action count
action atleast
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type musical ensemble
value 1
[[{'concept': 'political territorial entity'}, {'concept': 'musical ensemble'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?f ) WHERE { { ?y property:named_after ?c . ?y rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y property:named_after ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:musical_ensemble } } GROUP BY ?c } . FILTER ( ?f >= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q778
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with lesser number of administrative territories than The Bahamas ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?c ) WHERE { ?w property:P530 ?f . ?w rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Q778 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?c < ?e ) }
The Bahamas
action count
action less
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 political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?c ) WHERE { ?w property:diplomatic_relation ?f . ?w rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:The_Bahamas property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?c < ?e ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?c ) WHERE { ?w property:P530 ?f . ?w rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Q778 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?c < ?e ) }
Solomon Islands Papua New Guinea
2
action count
action less
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 political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?c ) WHERE { ?w property:diplomatic_relation ?f . ?w rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:The_Bahamas property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?c < ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q781
P530
Q1048835 Q15617994
USER
And how about Antigua and Barbuda?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?u ) WHERE { ?v rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 . ?v property:P530 ?l } GROUP BY ?v } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ontology:Q1048835 . resource:Q781 property:P530 ?z } } }
Antigua and Barbuda
action count
action less
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 Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?u ) WHERE { ?v rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?l } GROUP BY ?v } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ontology:political_territorial_entity . resource:Antigua_and_Barbuda property:diplomatic_relation ?z } } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?u ) WHERE { ?v rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 . ?v property:P530 ?l } GROUP BY ?v } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ontology:Q1048835 . resource:Q781 property:P530 ?z } } }
Solomon Islands Papua New Guinea
2
action count
action less
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 Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?u ) WHERE { ?v rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?l } GROUP BY ?v } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ontology:political_territorial_entity . resource:Antigua_and_Barbuda property:diplomatic_relation ?z } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P463
Q820655
USER
Which organizations were Germany a member of ?
(Q183,P463,c(Q820655))
action filter_type
action find
entity Q183
relation P463
type Q820655
['Q183', 'P463', {'concept': 'Q820655'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q820655 . resource:Q183 property:P463 ?f }
Germany
action filter_type
action find
entity Germany
relation member of
type statute
['Germany', 'member of', {'concept': 'statute'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:statute . resource:Germany property:member_of ?f }
[]
statute
Q331520 Q186444 Q182814
SYSTEM
United Nations Convention to Combat Desertification, Treaty on the Non-Proliferation of Nuclear Weapons, Antarctic Treaty System
Q182814 Q183191 Q217398 Q331520 Q208645 Q1069706 Q186444
(Q183,P463,c(Q820655))
action filter_type
action find
entity Q183
relation P463
type Q820655
Germany were the [ANSWERS]
['Q183', 'P463', {'concept': 'Q820655'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q820655 . resource:Q183 property:P463 ?f }
Antarctic Treaty System European Convention on Human Rights Berne Convention for the Protection of Literary and Artistic Works United Nations Convention to Combat Desertification United Nations Framework Convention on Climate Change Convention on the Rights of Persons with Disabilities Treaty on the Non-Proliferation of Nuclear Weapons
Germany were the United Nations Convention to Combat Desertification, Treaty on the Non-Proliferation of Nuclear Weapons and Antarctic Treaty System
United Nations Convention to Combat Desertification Treaty on the Non-Proliferation of Nuclear Weapons Antarctic Treaty System
action filter_type
action find
entity Germany
relation member of
type statute
['Germany', 'member of', {'concept': 'statute'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:statute . resource:Germany property:member_of ?f }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q183
Q484652
USER
And which international organization?
(Q183,P463,c(Q484652))
action filter_type
action find
entity Q183
relation P463
type Q484652
['Q183', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?q WHERE { resource:Q183 property:P463 ?q . ?q rdf:type ontology:Q484652 }
Germany
action filter_type
action find
entity Germany
relation member of
type international organization
['Germany', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?q WHERE { resource:Germany property:member_of ?q . ?q rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, G20, European Space Agency
Q81299 Q188822 Q42262 Q17495 Q7184 Q7164 Q201054 Q7804 Q842490 Q789769 Q1065 Q19771 Q54129 Q566397 Q170424 Q37143 Q1043527
(Q183,P463,c(Q484652))
action filter_type
action find
entity Q183
relation P463
type Q484652
[ANSWERS]
['Q183', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?q WHERE { resource:Q183 property:P463 ?q . ?q rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Asian Development Bank European Space Agency Universal Postal Union North Atlantic Treaty Organisation World Bank International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons Council of the Baltic Sea States United Nations G20 International Labour Organization Weimar Triangle World Meteorological Organization G8 Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe G20 European Space Agency
action filter_type
action find
entity Germany
relation member of
type international organization
['Germany', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?q WHERE { resource:Germany property:member_of ?q . ?q rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q664
P530
Q1048835
USER
How many political territories holds diplomatic relationship with United Kingdom and New Zealand ?
(Q145,P530,c(Q1048835)) (Q664,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q145
relation P530
type Q1048835
action filter_type
action find
entity Q664
relation P530
type Q1048835
['Q145', 'P530', {'concept': 'Q1048835'}] ['Q664', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q145 property:P530 ?n . ?n rdf:type ontology:Q1048835 . resource:Q664 property:P530 ?n . ?n rdf:type ontology:Q1048835 }
United Kingdom New Zealand
action count
action intersection
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:United_Kingdom property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity . resource:New_Zealand property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q16 Q408 Q183
(Q145,P530,c(Q1048835)) (Q664,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q145
relation P530
type Q1048835
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
['Q145', 'P530', {'concept': 'Q1048835'}] ['Q664', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q145 property:P530 ?n . ?n rdf:type ontology:Q1048835 . resource:Q664 property:P530 ?n . ?n rdf:type ontology:Q1048835 }
Canada Australia Germany
3
action count
action intersection
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:United_Kingdom property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity . resource:New_Zealand property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P30
Q2221906
USER
Which geographic location is United Kingdom a part of ?
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
Were [ANSWER] is United Kingdom a part of
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
Europe
Were Europe is United Kingdom a part of
Europe
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:continent ?n . ?n rdf:type ontology:geographic_location }
[]