Simple Question (Direct)
Simple Question
Q102319
P39
Q12737077
USER
Which occupations were the positions for which Hermann Schäufele were appointed ?
(Q102319,P39,c(Q12737077))
action filter_type
action find
entity Q102319
relation P39
type Q12737077
['Q102319', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q102319 property:P39 ?v }
Hermann Schäufele
action filter_type
action find
entity Hermann Schäufele
relation position held
type occupation
['Hermann Schäufele', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Hermann_Schäufele property:position_held ?v }
[]
occupation
Q29182 Q49476
SYSTEM
bishop, archbishop
Q29182 Q49476
(Q102319,P39,c(Q12737077))
action filter_type
action find
entity Q102319
relation P39
type Q12737077
The [ANSWERS] were the positions for which Hermann Schäufele were appointed
['Q102319', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q102319 property:P39 ?v }
bishop archbishop
The bishop and archbishop were the positions for which Hermann Schäufele were appointed
bishop archbishop
action filter_type
action find
entity Hermann Schäufele
relation position held
type occupation
['Hermann Schäufele', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Hermann_Schäufele property:position_held ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q102319
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q29182,P106,c(Q12737077)) (Q49476,P106,c(Q12737077))
action filter_type
action find
entity Q102319
relation P106
type Q12737077
['Q29182', 'P106', {'concept': 'Q12737077'}] ['Q49476', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q102319 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Hermann Schäufele
action filter_type
action find
entity Hermann Schäufele
relation occupation
type occupation
['bishop', 'occupation', {'concept': 'occupation'}] ['archbishop', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Hermann_Schäufele property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q193391 Q250867
SYSTEM
diplomat, Catholic priest
Q193391 Q250867
(Q29182,P106,c(Q12737077)) (Q49476,P106,c(Q12737077))
action filter_type
action find
entity Q102319
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q29182', 'P106', {'concept': 'Q12737077'}] ['Q49476', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q102319 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
diplomat Catholic priest
Diplomat and Catholic priest have that person as his/her 's career
diplomat Catholic priest
action filter_type
action find
entity Hermann Schäufele
relation occupation
type occupation
['bishop', 'occupation', {'concept': 'occupation'}] ['archbishop', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Hermann_Schäufele property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q16013895 Q102319
P106
Q12737077
USER
Or Ivor McIvor?
OR((Q102319,P106,c(Q12737077)), (Q16013895,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q102319
relation P106
action find
entity Q16013895
relation P106
type Q12737077
{'OR': [['Q102319', 'P106', {'concept': 'Q12737077'}], ['Q16013895', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q102319 property:P106 ?u } UNION { resource:Q16013895 property:P106 ?u } } . ?u rdf:type ontology:Q12737077 }
Ivor McIvor Hermann Schäufele
action filter_type
action union
action find
entity Hermann Schäufele
relation occupation
action find
entity Ivor McIvor
relation occupation
type occupation
{'OR': [['Hermann Schäufele', 'occupation', {'concept': 'occupation'}], ['Ivor McIvor', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Hermann_Schäufele property:occupation ?u } UNION { resource:Ivor_McIvor property:occupation ?u } } . ?u rdf:type ontology:occupation }
[]
occupation
Q193391 Q250867 Q13414980
SYSTEM
diplomat, Catholic priest, Australian-rules footballer
Q193391 Q250867 Q13414980
OR((Q102319,P106,c(Q12737077)), (Q16013895,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q102319
relation P106
action find
entity Q16013895
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q102319', 'P106', {'concept': 'Q12737077'}], ['Q16013895', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q102319 property:P106 ?u } UNION { resource:Q16013895 property:P106 ?u } } . ?u rdf:type ontology:Q12737077 }
diplomat Catholic priest Australian-rules footballer
diplomat Catholic priest Australian-rules footballer
action filter_type
action union
action find
entity Hermann Schäufele
relation occupation
action find
entity Ivor McIvor
relation occupation
type occupation
{'OR': [['Hermann Schäufele', 'occupation', {'concept': 'occupation'}], ['Ivor McIvor', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Hermann_Schäufele property:occupation ?u } UNION { resource:Ivor_McIvor property:occupation ?u } } . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102319
P19
Q15617994
USER
Where was Hermann Schäufele born ?
(Q102319,P19,c(Q15617994))
action filter_type
action find
entity Q102319
relation P19
type Q15617994
['Q102319', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q102319 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Hermann Schäufele
action filter_type
action find
entity Hermann Schäufele
relation place of birth
type designation for an administrative territorial entity
['Hermann Schäufele', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hermann_Schäufele property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q518786
SYSTEM
Gemmingen
Q518786
(Q102319,P19,c(Q15617994))
action filter_type
action find
entity Q102319
relation P19
type Q15617994
Hermann Schäufele was born in [ANSWER]
['Q102319', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q102319 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Gemmingen
Hermann Schäufele was born in Gemmingen
Gemmingen
action filter_type
action find
entity Hermann Schäufele
relation place of birth
type designation for an administrative territorial entity
['Hermann Schäufele', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hermann_Schäufele property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q781
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with approximately the same number of administrative territories as Antigua and Barbuda ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { ?v property:P530 ?g . ?v rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q781 property:P530 ?z . ?z rdf:type ontology:Q1048835 } } }
Antigua and Barbuda
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 Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { ?v property:diplomatic_relation ?g . ?v rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
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': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { ?v property:P530 ?g . ?v rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q781 property:P530 ?z . ?z rdf:type ontology:Q1048835 } } }
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 Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { ?v property:diplomatic_relation ?g . ?v rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q183
P530
Q15617994 Q1048835
USER
And what about Germany?
(c(Q1048835),P530,c(Q15617994))
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': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?a ) WHERE { ?u rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 . ?u property:P530 ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q183 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?a = ?e ) }
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': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?a ) WHERE { ?u rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Germany property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?a = ?e ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
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': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?a ) WHERE { ?u rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 . ?u property:P530 ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q183 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?a = ?e ) }
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': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?a ) WHERE { ?u rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Germany property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?a = ?e ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q324619 Q102319
P27
Q1048835
USER
Which political territories are the countries of citizenship of Hermann Schäufele or Bill Cowley ?
OR((Q102319,P27,c(Q1048835)), (Q324619,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q102319
relation P27
action find
entity Q324619
relation P27
type Q1048835
{'OR': [['Q102319', 'P27', {'concept': 'Q1048835'}], ['Q324619', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?c ) { ( resource:Q102319 ) ( resource:Q324619 ) } . ?c property:P27 ?s } . ?s rdf:type ontology:Q1048835 }
Bill Cowley Hermann Schäufele
action filter_type
action union
action find
entity Hermann Schäufele
relation country of citizenship
action find
entity Bill Cowley
relation country of citizenship
type political territorial entity
{'OR': [['Hermann Schäufele', 'country of citizenship', {'concept': 'political territorial entity'}], ['Bill Cowley', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?c ) { ( resource:Hermann_Schäufele ) ( resource:Bill_Cowley ) } . ?c property:country_of_citizenship ?s } . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q102319,P27,c(Q1048835)), (Q324619,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q102319
relation P27
action find
entity Q324619
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Hermann Schäufele or Bill Cowley
{'OR': [['Q102319', 'P27', {'concept': 'Q1048835'}], ['Q324619', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?c ) { ( resource:Q102319 ) ( resource:Q324619 ) } . ?c property:P27 ?s } . ?s rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are the countries of citizenship of Hermann Schäufele or Bill Cowley
Canada Germany
action filter_type
action union
action find
entity Hermann Schäufele
relation country of citizenship
action find
entity Bill Cowley
relation country of citizenship
type political territorial entity
{'OR': [['Hermann Schäufele', 'country of citizenship', {'concept': 'political territorial entity'}], ['Bill Cowley', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?c ) { ( resource:Hermann_Schäufele ) ( resource:Bill_Cowley ) } . ?c property:country_of_citizenship ?s } . ?s rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5566223
P17
Q80071
USER
Are Glade located in those political territories ?
(Q5566223,P17,Q16) (Q5566223,P17,Q183)
action is_in
entity prev_answer
action find
entity Q5566223
relation P17
['Q5566223', 'P17', 'Q16'] ['Q5566223', 'P17', 'Q183']
ASK WHERE { VALUES ( ?h ) { ( resource:Q16 ) ( resource:Q183 ) } . resource:Q5566223 property:P17 ?h }
Glade
action is_in
entity prev_answer
action find
entity Glade
relation country
['Glade', 'country', 'Canada'] ['Glade', 'country', 'Germany']
ASK WHERE { VALUES ( ?h ) { ( resource:Canada ) ( resource:Germany ) } . resource:Glade property:country ?h }
[]
symbol
SYSTEM
YES
(Q5566223,P17,Q16) (Q5566223,P17,Q183)
action is_in
entity prev_answer
action find
entity Q5566223
relation P17
[ANSWER]
['Q5566223', 'P17', 'Q16'] ['Q5566223', 'P17', 'Q183']
ASK WHERE { VALUES ( ?h ) { ( resource:Q16 ) ( resource:Q183 ) } . resource:Q5566223 property:P17 ?h }
Yes
action is_in
entity prev_answer
action find
entity Glade
relation country
['Glade', 'country', 'Canada'] ['Glade', 'country', 'Germany']
ASK WHERE { VALUES ( ?h ) { ( resource:Canada ) ( resource:Germany ) } . resource:Glade property:country ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many administrative territories are known to have diplomatic connections with exactly 1 political territory ?
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?f ) WHERE { ?a property:P530 ?u . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?a } }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?f ) WHERE { ?a property:diplomatic_relation ?u . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?a } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
70
Q702 Q262 Q265 Q37 Q712 Q717 Q837 Q657 Q792 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 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 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?f ) WHERE { ?a property:P530 ?u . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?a } }
Federated States of Micronesia Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Chad El Salvador South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland 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 Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
70
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?f ) WHERE { ?a property:diplomatic_relation ?u . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622272
P512
Q502895
USER
Which people have the diploma university teacher ?
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?l WHERE { ?l property:P512 resource:Q1622272 . ?l rdf:type ontology:Q502895 }
university teacher
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?l WHERE { ?l property:academic_degree resource:university_teacher . ?l rdf:type ontology:common_name }
[]
common name
Q1362287 Q1631650 Q4074760
SYSTEM
Manolis Andronikos, Hovhannes Barseghian, Edvard Baghdasaryan
Q4074760 Q22116332 Q5697983 Q1631650 Q1362287 Q3350761 Q26338766
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[ANSWERS] have the diploma university teacher
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?l WHERE { ?l property:P512 resource:Q1622272 . ?l rdf:type ontology:Q502895 }
Edvard Baghdasaryan Helmut Neef Antonio Campos Muñoz Hovhannes Barseghian Manolis Andronikos Olivier Archambeau Athanasios Dimopoulos
Manolis Andronikos, Hovhannes Barseghian and Edvard Baghdasaryan have the diploma university teacher
Manolis Andronikos Hovhannes Barseghian Edvard Baghdasaryan
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?l WHERE { ?l property:academic_degree resource:university_teacher . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P37
Q34770
USER
What is recognized as the official language of Canada ?
(Q16,P37,c(Q34770))
action filter_type
action find
entity Q16
relation P37
type Q34770
['Q16', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q16 property:P37 ?q . ?q rdf:type ontology:Q34770 }
Canada
action filter_type
action find
entity Canada
relation official language
type language
['Canada', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Canada property:official_language ?q . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q16,P37,c(Q34770))
action filter_type
action find
entity Q16
relation P37
type Q34770
[ANSWER] is recognized as the official language of Canada
['Q16', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q16 property:P37 ?q . ?q rdf:type ontology:Q34770 }
English
English is recognized as the official language of Canada
English
action filter_type
action find
entity Canada
relation official language
type language
['Canada', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Canada property:official_language ?q . ?q rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P361
Q5962346
USER
How many classification schemes are that language a portion of ?
(Q1860,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:Q5962346 . resource:Q1860 property:P361 ?i }
action count
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:classification_scheme . resource:English property:part_of ?i }
[]
classification scheme
SYSTEM
2
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWER]
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:Q5962346 . resource:Q1860 property:P361 ?i }
Anglic languages Anglo-Frisian languages
2
action count
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:classification_scheme . resource:English property:part_of ?i }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3544702
P282
Q2001982 Q34770
USER
Which notations are the writing systems used for approximately the same number of languages as Manichaean alphabet ?
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q3544702
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:Q2001982 . resource:Q3544702 property:P282 ?h } } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P282 ?n . ?n rdf:type ontology:Q2001982 . ?i rdf:type ontology:Q34770 } GROUP BY ?n } }
Manichaean alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Manichaean alphabet
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:notation . resource:Manichaean_alphabet property:writing_system ?h } } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:writing_system ?n . ?n rdf:type ontology:notation . ?i rdf:type ontology:language } GROUP BY ?n } }
[]
notation language
Q2003257 Q473725 Q1089000
SYSTEM
Cirth, Tengwar, Sarati
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q3544702
relation P282
type Q2001982
[ANSWERS] are the writing systems used for approximately the same number of languages as Manichaean alphabet
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:Q2001982 . resource:Q3544702 property:P282 ?h } } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P282 ?n . ?n rdf:type ontology:Q2001982 . ?i rdf:type ontology:Q34770 } GROUP BY ?n } }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
Cirth, Tengwar and Sarati are the writing systems used for approximately the same number of languages as Manichaean alphabet
Cirth Tengwar Sarati
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Manichaean alphabet
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:notation . resource:Manichaean_alphabet property:writing_system ?h } } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:writing_system ?n . ?n rdf:type ontology:notation . ?i rdf:type ontology:language } GROUP BY ?n } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1089000
P282
Q2001982 Q34770
USER
And how about Sarati?
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q1089000
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?p ) WHERE { ?l rdf:type ontology:Q2001982 . ?e rdf:type ontology:Q34770 . ?e property:P282 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q2001982 . resource:Q1089000 property:P282 ?s } } . FILTER ( ?p = ?j ) }
Sarati
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Sarati
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?p ) WHERE { ?l rdf:type ontology:notation . ?e rdf:type ontology:language . ?e property:writing_system ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:notation . resource:Sarati property:writing_system ?s } } . FILTER ( ?p = ?j ) }
[]
notation language
Q2003257 Q473725 Q1089000
SYSTEM
Cirth, Tengwar, Sarati
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q1089000
relation P282
type Q2001982
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?p ) WHERE { ?l rdf:type ontology:Q2001982 . ?e rdf:type ontology:Q34770 . ?e property:P282 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q2001982 . resource:Q1089000 property:P282 ?s } } . FILTER ( ?p = ?j ) }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
Cirth Tengwar Sarati
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Sarati
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?p ) WHERE { ?l rdf:type ontology:notation . ?e rdf:type ontology:language . ?e property:writing_system ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:notation . resource:Sarati property:writing_system ?s } } . FILTER ( ?p = ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2003257
P170
Q989255
USER
Which Middle-earth races is credited with creation of Cirth ?
(Q2003257,P170,c(Q989255))
action filter_type
action find
entity Q2003257
relation P170
type Q989255
['Q2003257', 'P170', {'concept': 'Q989255'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q989255 . resource:Q2003257 property:P170 ?z }
Cirth
action filter_type
action find
entity Cirth
relation creator
type Middle-earth races
['Cirth', 'creator', {'concept': 'Middle-earth races'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Middle-earth_races . resource:Cirth property:creator ?z }
[]
Middle-earth races
Q2590648
SYSTEM
Daeron
Q2590648
(Q2003257,P170,c(Q989255))
action filter_type
action find
entity Q2003257
relation P170
type Q989255
Which Middle-earth races is credited with creation of Cirth
['Q2003257', 'P170', {'concept': 'Q989255'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q989255 . resource:Q2003257 property:P170 ?z }
Daeron
Which Middle-earth races is credited with creation of Cirth
Daeron
action filter_type
action find
entity Cirth
relation creator
type Middle-earth races
['Cirth', 'creator', {'concept': 'Middle-earth races'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Middle-earth_races . resource:Cirth property:creator ?z }
[]