Simple Question (Direct)
Simple Question
Q568354
P21
Q290
USER
Which sex does Wolfgang Sidka belong to ?
(Q568354,P21,c(Q290))
action filter_type
action find
entity Q568354
relation P21
type Q290
['Q568354', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q568354 property:P21 ?k . ?k rdf:type ontology:Q290 }
Wolfgang Sidka
action filter_type
action find
entity Wolfgang Sidka
relation gender
type sex
['Wolfgang Sidka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Wolfgang_Sidka property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q568354,P21,c(Q290))
action filter_type
action find
entity Q568354
relation P21
type Q290
Wolfgang Sidka belongs to [ANSWER]
['Q568354', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q568354 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Wolfgang Sidka belongs to male
male
action filter_type
action find
entity Wolfgang Sidka
relation gender
type sex
['Wolfgang Sidka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Wolfgang_Sidka property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q568354
P54
Q618123
USER
Which geographical object is Wolfgang Sidka a member of ?
(Q568354,P54,c(Q618123))
action filter_type
action find
entity Q568354
relation P54
type Q618123
['Q568354', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?v WHERE { resource:Q568354 property:P54 ?v . ?v rdf:type ontology:Q618123 }
Wolfgang Sidka
action filter_type
action find
entity Wolfgang Sidka
relation member of sports team
type geographical object
['Wolfgang Sidka', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?v WHERE { resource:Wolfgang_Sidka property:member_of_sports_team ?v . ?v rdf:type ontology:geographical_object }
[]
geographical object
Q131603
SYSTEM
TSV 1860 München
Q131603
(Q568354,P54,c(Q618123))
action filter_type
action find
entity Q568354
relation P54
type Q618123
[ANSWER] is Wolfgang Sidka a member of
['Q568354', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?v WHERE { resource:Q568354 property:P54 ?v . ?v rdf:type ontology:Q618123 }
TSV 1860 München
TSV 1860 München is Wolfgang Sidka a member of
TSV 1860 München
action filter_type
action find
entity Wolfgang Sidka
relation member of sports team
type geographical object
['Wolfgang Sidka', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?v WHERE { resource:Wolfgang_Sidka property:member_of_sports_team ?v . ?v rdf:type ontology:geographical_object }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131603
P1346
Q15991303
USER
Where was that geographical object decalred as a champion ?
(c(Q15991303),P1346,Q131603)
action filter_type
action find_reverse
entity Q131603
relation P1346
type Q15991303
[{'concept': 'Q15991303'}, 'P1346', 'Q131603']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15991303 . ?i property:P1346 resource:Q131603 }
TSV 1860 München
action filter_type
action find_reverse
entity TSV 1860 München
relation winner
type association football league
[{'concept': 'association football league'}, 'winner', 'TSV 1860 München']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:association_football_league . ?i property:winner resource:TSV_1860_München }
[]
association football league
Q704077
SYSTEM
1965–66 Fußball-Bundesliga
Q704077
(c(Q15991303),P1346,Q131603)
action filter_type
action find_reverse
entity Q131603
relation P1346
type Q15991303
That geographical object was decalred in [ANSWER] as a champion
[{'concept': 'Q15991303'}, 'P1346', 'Q131603']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15991303 . ?i property:P1346 resource:Q131603 }
1965–66 Fußball-Bundesliga
That geographical object was decalred in 1965–66 Fußball-Bundesliga as a champion
1965–66 Fußball-Bundesliga
action filter_type
action find_reverse
entity TSV 1860 München
relation winner
type association football league
[{'concept': 'association football league'}, 'winner', 'TSV 1860 München']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:association_football_league . ?i property:winner resource:TSV_1860_München }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131603
P1923
Q15991303
USER
What did TSV 1860 München contest in ?
(c(Q15991303),P1923,Q131603)
action filter_type
action find_reverse
entity Q131603
relation P1923
type Q15991303
[{'concept': 'Q15991303'}, 'P1923', 'Q131603']
SELECT DISTINCT ?e WHERE { ?e property:P1923 resource:Q131603 . ?e rdf:type ontology:Q15991303 }
TSV 1860 München
action filter_type
action find_reverse
entity TSV 1860 München
relation participating teams
type association football league
[{'concept': 'association football league'}, 'participating teams', 'TSV 1860 München']
SELECT DISTINCT ?e WHERE { ?e property:participating_teams resource:TSV_1860_München . ?e rdf:type ontology:association_football_league }
[]
association football league
Q304338 Q705479 Q592630
SYSTEM
2001–02 Fußball-Bundesliga, 1966–67 Fußball-Bundesliga, 2000–01 Fußball-Bundesliga
Q700494 Q684621 Q695331 Q304338 Q705479 Q536715 Q695361 Q704091 Q687048 Q592630 Q704327 Q384900 Q695357 Q704272 Q704077 Q698120 Q221316 Q819042 Q369462 Q704282
(c(Q15991303),P1923,Q131603)
action filter_type
action find_reverse
entity Q131603
relation P1923
type Q15991303
TSV 1860 München contested [ANSWERS]
[{'concept': 'Q15991303'}, 'P1923', 'Q131603']
SELECT DISTINCT ?e WHERE { ?e property:P1923 resource:Q131603 . ?e rdf:type ontology:Q15991303 }
1995–96 Fußball-Bundesliga 1969–70 Fußball-Bundesliga 1996–97 Fußball-Bundesliga 2001–02 Fußball-Bundesliga 1966–67 Fußball-Bundesliga 1979–80 Fußball-Bundesliga 1998–99 Fußball-Bundesliga 1964–65 Fußball-Bundesliga 1963–64 Fußball-Bundesliga 2000–01 Fußball-Bundesliga 1968–69 Fußball-Bundesliga 1999–2000 Fußball-Bundesliga 1994–95 Fußball-Bundesliga 1980–81 Fußball-Bundesliga 1965–66 Fußball-Bundesliga 1997–98 Fußball-Bundesliga 2002–03 Fußball-Bundesliga 1967–68 Fußball-Bundesliga 2003–04 Fußball-Bundesliga 1977–78 Fußball-Bundesliga
TSV 1860 München contested 2001–02 Fußball-Bundesliga, 1966–67 Fußball-Bundesliga and 2000–01 Fußball-Bundesliga
2001–02 Fußball-Bundesliga 1966–67 Fußball-Bundesliga 2000–01 Fußball-Bundesliga
action filter_type
action find_reverse
entity TSV 1860 München
relation participating teams
type association football league
[{'concept': 'association football league'}, 'participating teams', 'TSV 1860 München']
SELECT DISTINCT ?e WHERE { ?e property:participating_teams resource:TSV_1860_München . ?e rdf:type ontology:association_football_league }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q304338 Q705479 Q592630
P641
Q349
USER
Which sports were 2001–02 Fußball-Bundesliga, 1966–67 Fußball-Bundesliga and 2000–01 Fußball-Bundesliga a part of ?
(Q304338,P641,c(Q349)) (Q705479,P641,c(Q349)) (Q592630,P641,c(Q349))
action union
action filter_type
action find
entity Q304338
relation P641
type Q349
action filter_type
action find
entity Q705479
relation P641
type Q349
action filter_type
action find
entity Q592630
relation P641
type Q349
['Q304338', 'P641', {'concept': 'Q349'}] ['Q705479', 'P641', {'concept': 'Q349'}] ['Q592630', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q349 . resource:Q304338 property:P641 ?i } UNION { resource:Q705479 property:P641 ?i . ?i rdf:type ontology:Q349 } }
2001–02 Fußball-Bundesliga 1966–67 Fußball-Bundesliga 2000–01 Fußball-Bundesliga
action union
action filter_type
action find
entity 2001–02 Fußball-Bundesliga
relation sport
type sport
action filter_type
action find
entity 1966–67 Fußball-Bundesliga
relation sport
type sport
action filter_type
action find
entity 2000–01 Fußball-Bundesliga
relation sport
type sport
['2001–02 Fußball-Bundesliga', 'sport', {'concept': 'sport'}] ['1966–67 Fußball-Bundesliga', 'sport', {'concept': 'sport'}] ['2000–01 Fußball-Bundesliga', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:sport . resource:2001–02_Fußball-Bundesliga property:sport ?i } UNION { resource:1966–67_Fußball-Bundesliga property:sport ?i . ?i rdf:type ontology:sport } }
[]
sport
Q2736 Q2736 Q2736
SYSTEM
association football
Q2736 Q2736 Q2736
(Q304338,P641,c(Q349)) (Q705479,P641,c(Q349)) (Q592630,P641,c(Q349))
action union
action filter_type
action find
entity Q304338
relation P641
type Q349
action filter_type
action find
entity Q705479
relation P641
type Q349
action filter_type
action find
entity Q592630
relation P641
type Q349
[ANSWER], [ANSWER] and [ANSWER] were 2001–02 Fußball-Bundesliga, 1966–67 Fußball-Bundesliga and 2000–01 Fußball-Bundesliga a part of
['Q304338', 'P641', {'concept': 'Q349'}] ['Q705479', 'P641', {'concept': 'Q349'}] ['Q592630', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q349 . resource:Q304338 property:P641 ?i } UNION { resource:Q705479 property:P641 ?i . ?i rdf:type ontology:Q349 } }
association football association football association football
Association football, association football and association football were 2001–02 Fußball-Bundesliga, 1966–67 Fußball-Bundesliga and 2000–01 Fußball-Bundesliga a part of
association football association football association football
action union
action filter_type
action find
entity 2001–02 Fußball-Bundesliga
relation sport
type sport
action filter_type
action find
entity 1966–67 Fußball-Bundesliga
relation sport
type sport
action filter_type
action find
entity 2000–01 Fußball-Bundesliga
relation sport
type sport
['2001–02 Fußball-Bundesliga', 'sport', {'concept': 'sport'}] ['1966–67 Fußball-Bundesliga', 'sport', {'concept': 'sport'}] ['2000–01 Fußball-Bundesliga', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:sport . resource:2001–02_Fußball-Bundesliga property:sport ?i } UNION { resource:1966–67_Fußball-Bundesliga property:sport ?i . ?i rdf:type ontology:sport } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q304338
P3279
Q502895
USER
Which people were recognized as the statistical leader of 2001–02 Fußball-Bundesliga ?
(Q304338,P3279,c(Q502895))
action filter_type
action find
entity Q304338
relation P3279
type Q502895
['Q304338', 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q304338 property:P3279 ?h . ?h rdf:type ontology:Q502895 }
2001–02 Fußball-Bundesliga
action filter_type
action find
entity 2001–02 Fußball-Bundesliga
relation statistical leader
type common name
['2001–02 Fußball-Bundesliga', 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:2001–02_Fußball-Bundesliga property:statistical_leader ?h . ?h rdf:type ontology:common_name }
[]
common name
Q703757 Q309731
SYSTEM
Martin Max, Márcio Amoroso
Q703757 Q309731
(Q304338,P3279,c(Q502895))
action filter_type
action find
entity Q304338
relation P3279
type Q502895
[ANSWERS] were recognized as the statistical leader of 2001–02 Fußball-Bundesliga
['Q304338', 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q304338 property:P3279 ?h . ?h rdf:type ontology:Q502895 }
Martin Max Márcio Amoroso
Martin Max and Márcio Amoroso were recognized as the statistical leader of 2001–02 Fußball-Bundesliga
Martin Max Márcio Amoroso
action filter_type
action find
entity 2001–02 Fußball-Bundesliga
relation statistical leader
type common name
['2001–02 Fußball-Bundesliga', 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:2001–02_Fußball-Bundesliga property:statistical_leader ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q304338
P17
Q1048835
USER
Which political territory is 2001–02 Fußball-Bundesliga present in ?
(Q304338,P17,c(Q1048835))
action filter_type
action find
entity Q304338
relation P17
type Q1048835
['Q304338', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q304338 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
2001–02 Fußball-Bundesliga
action filter_type
action find
entity 2001–02 Fußball-Bundesliga
relation country
type political territorial entity
['2001–02 Fußball-Bundesliga', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:2001–02_Fußball-Bundesliga property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q304338,P17,c(Q1048835))
action filter_type
action find
entity Q304338
relation P17
type Q1048835
Which political territory is 2001–02 Fußball-Bundesliga present in
['Q304338', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q304338 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Germany
Which political territory is 2001–02 Fußball-Bundesliga present in
Germany
action filter_type
action find
entity 2001–02 Fußball-Bundesliga
relation country
type political territorial entity
['2001–02 Fußball-Bundesliga', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:2001–02_Fußball-Bundesliga property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2018220 Q568354
P27
Q1048835
USER
Which political territories are the native countriesof Wolfgang Sidka or Murray G. Ross ?
OR((Q568354,P27,c(Q1048835)), (Q2018220,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q568354
relation P27
action find
entity Q2018220
relation P27
type Q1048835
{'OR': [['Q568354', 'P27', {'concept': 'Q1048835'}], ['Q2018220', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q568354 property:P27 ?p } UNION { resource:Q2018220 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Murray G. Ross Wolfgang Sidka
action filter_type
action union
action find
entity Wolfgang Sidka
relation country of citizenship
action find
entity Murray G. Ross
relation country of citizenship
type political territorial entity
{'OR': [['Wolfgang Sidka', 'country of citizenship', {'concept': 'political territorial entity'}], ['Murray G. Ross', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Wolfgang_Sidka property:country_of_citizenship ?p } UNION { resource:Murray_G._Ross property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q568354,P27,c(Q1048835)), (Q2018220,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q568354
relation P27
action find
entity Q2018220
relation P27
type Q1048835
[ANSWERS] are the native countriesof Wolfgang Sidka or Murray G. Ross
{'OR': [['Q568354', 'P27', {'concept': 'Q1048835'}], ['Q2018220', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q568354 property:P27 ?p } UNION { resource:Q2018220 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are the native countriesof Wolfgang Sidka or Murray G. Ross
Canada Germany
action filter_type
action union
action find
entity Wolfgang Sidka
relation country of citizenship
action find
entity Murray G. Ross
relation country of citizenship
type political territorial entity
{'OR': [['Wolfgang Sidka', 'country of citizenship', {'concept': 'political territorial entity'}], ['Murray G. Ross', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Wolfgang_Sidka property:country_of_citizenship ?p } UNION { resource:Murray_G._Ross property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q213
P530
Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with less number of political territories than Czech Republic ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q213
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?t ) WHERE { ?o property:P530 ?s . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q213 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?f ) }
Czech Republic
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Czech Republic
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?t ) WHERE { ?o property:diplomatic_relation ?s . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Czech_Republic property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?f ) }
[]
political territorial entity designation for an administrative territorial entity
Q32 Q1011 Q805
SYSTEM
Luxembourg, Cape Verde, Yemen
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q213
relation P530
type Q15617994
[ANSWERS] have tactful political relations with less number of political territories than Czech Republic
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?t ) WHERE { ?o property:P530 ?s . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q213 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?f ) }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Luxembourg, Cape Verde and Yemen have tactful political relations with less number of political territories than Czech Republic
Luxembourg Cape Verde Yemen
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Czech Republic
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?t ) WHERE { ?o property:diplomatic_relation ?s . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Czech_Republic property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q836
P530
Q1048835 Q15617994
USER
And also tell me about Myanmar?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q836
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?b ) WHERE { ?w rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 . ?w property:P530 ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q836 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } . FILTER ( ?b < ?g ) }
Myanmar
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Myanmar
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?b ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity . ?w property:diplomatic_relation ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Myanmar property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } . FILTER ( ?b < ?g ) }
[]
political territorial entity designation for an administrative territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q399 Q398 Q790 Q236 Q842 Q858
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q836
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?b ) WHERE { ?w rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 . ?w property:P530 ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q836 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } . FILTER ( ?b < ?g ) }
Yemen Armenia Bahrain Haiti Montenegro Oman Syria
Yemen Syria Oman
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Myanmar
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?b ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity . ?w property:diplomatic_relation ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Myanmar property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } . FILTER ( ?b < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q766
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with around the same number of administrative territories as Jamaica ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { ?t rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 . ?t property:P530 ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q766 property:P530 ?m . ?m rdf:type ontology:Q1048835 } } . FILTER ( ?c = ?v ) }
Jamaica
action count
action approx
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 Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Jamaica property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity } } . FILTER ( ?c = ?v ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { ?t rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 . ?t property:P530 ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q766 property:P530 ?m . ?m rdf:type ontology:Q1048835 } } . FILTER ( ?c = ?v ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
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 Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Jamaica property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity } } . FILTER ( ?c = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q183
P530
Q1048835 Q15617994
USER
And how about Germany?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?t ) WHERE { ?q property:P530 ?m . ?q rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q183 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?t = ?h ) }
Germany
action count
action approx
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 Germany
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?t ) WHERE { ?q property:diplomatic_relation ?m . ?q rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Germany property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?t = ?h ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?t ) WHERE { ?q property:P530 ?m . ?q rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q183 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?t = ?h ) }
Germany Australia
2
action count
action approx
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 Germany
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?t ) WHERE { ?q property:diplomatic_relation ?m . ?q rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Germany property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?t = ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q805
P30
Q2221906
USER
Which geographic location is Yemen situated in ?
(Q805,P30,c(Q2221906))
action filter_type
action find
entity Q805
relation P30
type Q2221906
['Q805', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2221906 . resource:Q805 property:P30 ?u }
Yemen
action filter_type
action find
entity Yemen
relation continent
type geographic location
['Yemen', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:geographic_location . resource:Yemen property:continent ?u }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q805,P30,c(Q2221906))
action filter_type
action find
entity Q805
relation P30
type Q2221906
Yemen is situated in [ANSWER]
['Q805', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2221906 . resource:Q805 property:P30 ?u }
Asia
Yemen is situated in Asia
Asia
action filter_type
action find
entity Yemen
relation continent
type geographic location
['Yemen', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:geographic_location . resource:Yemen property:continent ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q805
P36
Q56061
USER
Which administrative territory is known as the capital of Yemen ?
(Q805,P36,c(Q56061))
action filter_type
action find
entity Q805
relation P36
type Q56061
['Q805', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q805 property:P36 ?i }
Yemen
action filter_type
action find
entity Yemen
relation capital
type administrative territorial entity
['Yemen', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Yemen property:capital ?i }
[]
administrative territorial entity
Q2471
SYSTEM
Sana‘a
Q2471
(Q805,P36,c(Q56061))
action filter_type
action find
entity Q805
relation P36
type Q56061
[ANSWER] is known as the capital of Yemen
['Q805', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q805 property:P36 ?i }
Sana‘a
Sana‘a is known as the capital of Yemen
Sana‘a
action filter_type
action find
entity Yemen
relation capital
type administrative territorial entity
['Yemen', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Yemen property:capital ?i }
[]