Simple Question (Direct)
Simple Question
Q292687
P21
Q290
USER
What is the sex of Kim Ha-neul ?
(Q292687,P21,c(Q290))
action filter_type
action find
entity Q292687
relation P21
type Q290
['Q292687', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q292687 property:P21 ?x . ?x rdf:type ontology:Q290 }
Kim Ha-neul
action filter_type
action find
entity Kim Ha-neul
relation gender
type sex
['Kim Ha-neul', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Kim_Ha-neul property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q292687,P21,c(Q290))
action filter_type
action find
entity Q292687
relation P21
type Q290
The sex of Kim Ha-neul is the [ANSWER]
['Q292687', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q292687 property:P21 ?x . ?x rdf:type ontology:Q290 }
female
The sex of Kim Ha-neul is the female
female
action filter_type
action find
entity Kim Ha-neul
relation gender
type sex
['Kim Ha-neul', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Kim_Ha-neul property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q292687
P734
Q82799
USER
Who has the surname that person ?
(Q6581072,P734,c(Q82799))
action filter_type
action find
entity Q292687
relation P734
type Q82799
['Q6581072', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q292687 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Kim Ha-neul
action filter_type
action find
entity Kim Ha-neul
relation family name
type name
['female', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Kim_Ha-neul property:family_name ?c . ?c rdf:type ontology:name }
[]
name
Q13083721
SYSTEM
Kim
Q13083721
(Q6581072,P734,c(Q82799))
action filter_type
action find
entity Q292687
relation P734
type Q82799
[ANSWER] has the surname that person
['Q6581072', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q292687 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Kim
Kim has the surname that person
Kim
action filter_type
action find
entity Kim Ha-neul
relation family name
type name
['female', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Kim_Ha-neul property:family_name ?c . ?c rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q874405 Q8436 Q82799
USER
Which names are a component of around 1 social groups or families ?
(c(Q82799),P361,c(Q874405)|c(Q8436))
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q8436
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:Q8436 ) ( ontology:Q874405 ) } . ?i rdf:type ?v } GROUP BY ?b } . FILTER ( ?g = 1 ) }
action approx
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type family
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'family'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:family ) ( ontology:social_group ) } . ?i rdf:type ?v } GROUP BY ?b } . FILTER ( ?g = 1 ) }
[]
social group family name
Q235598 Q742083 Q1557998
SYSTEM
Piso, Princes of Paliano, Gyalwang Drukpa
Q235598 Q742083 Q1557998
(c(Q82799),P361,c(Q874405)|c(Q8436))
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q8436
value 1
[ANSWERS] are a component of around 1 social groups or families
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:Q8436 ) ( ontology:Q874405 ) } . ?i rdf:type ?v } GROUP BY ?b } . FILTER ( ?g = 1 ) }
Piso Princes of Paliano Gyalwang Drukpa
Piso, Princes of Paliano and Gyalwang Drukpa are a component of around 1 social groups or families
Piso Princes of Paliano Gyalwang Drukpa
action approx
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type family
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'family'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:family ) ( ontology:social_group ) } . ?i rdf:type ?v } GROUP BY ?b } . FILTER ( ?g = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are min number of names in ?
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?v WHERE { FILTER ( ?g = ?s ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P407 ?v . ?y rdf:type ontology:Q82799 . ?v rdf:type ontology:Q34770 } GROUP BY ?v } . { SELECT DISTINCT ( MIN ( ?h ) AS ?s ) { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P407 ?j . ?j rdf:type ontology:Q34770 . ?i rdf:type ontology:Q82799 } GROUP BY ?j } } }
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?v WHERE { FILTER ( ?g = ?s ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:language_of_work_or_name ?v . ?y rdf:type ontology:name . ?v rdf:type ontology:language } GROUP BY ?v } . { SELECT DISTINCT ( MIN ( ?h ) AS ?s ) { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?i rdf:type ontology:name } GROUP BY ?j } } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q36790 Q447117
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?v WHERE { FILTER ( ?g = ?s ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P407 ?v . ?y rdf:type ontology:Q82799 . ?v rdf:type ontology:Q34770 } GROUP BY ?v } . { SELECT DISTINCT ( MIN ( ?h ) AS ?s ) { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P407 ?j . ?j rdf:type ontology:Q34770 . ?i rdf:type ontology:Q82799 } GROUP BY ?j } } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Sumerian Old Egyptian
Which languages are min number of names in
Old Egyptian Old Church Slavonic Etruscan
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?v WHERE { FILTER ( ?g = ?s ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:language_of_work_or_name ?v . ?y rdf:type ontology:name . ?v rdf:type ontology:language } GROUP BY ?v } . { SELECT DISTINCT ( MIN ( ?h ) AS ?s ) { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?i rdf:type ontology:name } GROUP BY ?j } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q742083
P21 P97
Q502895
USER
Which people holds the title Princes of Paliano and are a male ?
AND((c(Q502895),P97,Q742083), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q742083
relation P97
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P97', 'Q742083'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P97 resource:Q742083 . ?u property:P21 resource:Q6581097 }
male Princes of Paliano
action filter_type
action intersection
action find_reverse
entity Princes of Paliano
relation noble title
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'noble title', 'Princes of Paliano'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:noble_title resource:Princes_of_Paliano . ?u property:gender resource:male }
[]
common name
Q3745221
SYSTEM
Filippo I Colonna
Q3745221
AND((c(Q502895),P97,Q742083), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q742083
relation P97
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] holds the title Princes of Paliano and are a male
{'AND': [[{'concept': 'Q502895'}, 'P97', 'Q742083'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P97 resource:Q742083 . ?u property:P21 resource:Q6581097 }
Filippo I Colonna
Filippo I Colonna holds the title Princes of Paliano and are a male
Filippo I Colonna
action filter_type
action intersection
action find_reverse
entity Princes of Paliano
relation noble title
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'noble title', 'Princes of Paliano'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:noble_title resource:Princes_of_Paliano . ?u property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3745221 Q220
P19
Q56061
USER
Was Filippo I Colonna born at Rome ?
(Q3745221,P19,Q220)
action is_in
entity Q220
action find
entity Q3745221
relation P19
['Q3745221', 'P19', 'Q220']
ASK WHERE { resource:Q3745221 property:P19 resource:Q220 }
Filippo I Colonna Rome
action is_in
entity Rome
action find
entity Filippo I Colonna
relation place of birth
['Filippo I Colonna', 'place of birth', 'Rome']
ASK WHERE { resource:Filippo_I_Colonna property:place_of_birth resource:Rome }
[]
administrative territorial entity
SYSTEM
YES
(Q3745221,P19,Q220)
action is_in
entity Q220
action find
entity Q3745221
relation P19
[ANSWER]
['Q3745221', 'P19', 'Q220']
ASK WHERE { resource:Q3745221 property:P19 resource:Q220 }
Yes
action is_in
entity Rome
action find
entity Filippo I Colonna
relation place of birth
['Filippo I Colonna', 'place of birth', 'Rome']
ASK WHERE { resource:Filippo_I_Colonna property:place_of_birth resource:Rome }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1557998 Q23641142
P361
Q874405
USER
Is Gyalwang Drukpa a component of CHAJ ?
(Q1557998,P361,Q23641142)
action is_in
entity Q23641142
action find
entity Q1557998
relation P361
['Q1557998', 'P361', 'Q23641142']
ASK WHERE { resource:Q1557998 property:P361 resource:Q23641142 }
Gyalwang Drukpa CHAJ
action is_in
entity CHAJ
action find
entity Gyalwang Drukpa
relation part of
['Gyalwang Drukpa', 'part of', 'CHAJ']
ASK WHERE { resource:Gyalwang_Drukpa property:part_of resource:CHAJ }
[]
social group
SYSTEM
NO
(Q1557998,P361,Q23641142)
action is_in
entity Q23641142
action find
entity Q1557998
relation P361
[ANSWER]
['Q1557998', 'P361', 'Q23641142']
ASK WHERE { resource:Q1557998 property:P361 resource:Q23641142 }
No
action is_in
entity CHAJ
action find
entity Gyalwang Drukpa
relation part of
['Gyalwang Drukpa', 'part of', 'CHAJ']
ASK WHERE { resource:Gyalwang_Drukpa property:part_of resource:CHAJ }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q402878
P282
Q2001982 Q8192 Q34770
USER
How many languages adopt around the same number of notations or writing systems as the writing system as Middle Polish ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q402878
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?q ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?f rdf:type ?q } GROUP BY ?u } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q402878 property:P282 ?y . { { ?y rdf:type ontology:Q2001982 } UNION { ?y rdf:type ontology:Q8192 } } } } }
Middle Polish
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Middle Polish
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?q ) { ( ontology:writing_system ) ( ontology:notation ) } . ?f rdf:type ?q } GROUP BY ?u } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Middle_Polish property:writing_system ?y . { { ?y rdf:type ontology:notation } UNION { ?y rdf:type ontology:writing_system } } } } }
[]
notation writing system language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q402878
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?q ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?f rdf:type ?q } GROUP BY ?u } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q402878 property:P282 ?y . { { ?y rdf:type ontology:Q2001982 } UNION { ?y rdf:type ontology:Q8192 } } } } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Middle Polish
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?e ) WHERE { VALUES ( ?q ) { ( ontology:writing_system ) ( ontology:notation ) } . ?f rdf:type ?q } GROUP BY ?u } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Middle_Polish property:writing_system ?y . { { ?y rdf:type ontology:notation } UNION { ?y rdf:type ontology:writing_system } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q8785
P282
Q2001982 Q8192 Q34770
USER
And how about Armenian?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q8785
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?m WHERE { { ?m property:P282 ?n . ?n rdf:type ontology:Q2001982 . ?m rdf:type ontology:Q34770 } UNION { ?m property:P282 ?n . ?m rdf:type ontology:Q34770 . ?n rdf:type ontology:Q8192 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Q8785 property:P282 ?x . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } } } . FILTER ( ?w = ?k ) }
Armenian
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Armenian
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?m WHERE { { ?m property:writing_system ?n . ?n rdf:type ontology:notation . ?m rdf:type ontology:language } UNION { ?m property:writing_system ?n . ?m rdf:type ontology:language . ?n rdf:type ontology:writing_system } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Armenian property:writing_system ?x . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:notation ) ( ontology:writing_system ) } } } } . FILTER ( ?w = ?k ) }
[]
notation writing system language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q8785
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?m WHERE { { ?m property:P282 ?n . ?n rdf:type ontology:Q2001982 . ?m rdf:type ontology:Q34770 } UNION { ?m property:P282 ?n . ?m rdf:type ontology:Q34770 . ?n rdf:type ontology:Q8192 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Q8785 property:P282 ?x . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } } } . FILTER ( ?w = ?k ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Armenian
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?m WHERE { { ?m property:writing_system ?n . ?n rdf:type ontology:notation . ?m rdf:type ontology:language } UNION { ?m property:writing_system ?n . ?m rdf:type ontology:language . ?n rdf:type ontology:writing_system } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Armenian property:writing_system ?x . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:notation ) ( ontology:writing_system ) } } } } . FILTER ( ?w = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3745221
P1038
Q502895
USER
Which people are related with Filippo I Colonna ?
(Q3745221,P1038,c(Q502895))
action filter_type
action find
entity Q3745221
relation P1038
type Q502895
['Q3745221', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3745221 property:P1038 ?c . ?c rdf:type ontology:Q502895 }
Filippo I Colonna
action filter_type
action find
entity Filippo I Colonna
relation relative
type common name
['Filippo I Colonna', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Filippo_I_Colonna property:relative ?c . ?c rdf:type ontology:common_name }
[]
common name
Q216946 Q983302
SYSTEM
Charles Borromeo, Gian Giacomo Medici
Q216946 Q983302
(Q3745221,P1038,c(Q502895))
action filter_type
action find
entity Q3745221
relation P1038
type Q502895
[ANSWERS] are related with Filippo I Colonna
['Q3745221', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3745221 property:P1038 ?c . ?c rdf:type ontology:Q502895 }
Charles Borromeo Gian Giacomo Medici
Charles Borromeo and Gian Giacomo Medici are related with Filippo I Colonna
Charles Borromeo Gian Giacomo Medici
action filter_type
action find
entity Filippo I Colonna
relation relative
type common name
['Filippo I Colonna', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Filippo_I_Colonna property:relative ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216946
P39
Q12737077
USER
What were the positions for which Charles Borromeo were appointed ?
(Q216946,P39,c(Q12737077))
action filter_type
action find
entity Q216946
relation P39
type Q12737077
['Q216946', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q216946 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Charles Borromeo
action filter_type
action find
entity Charles Borromeo
relation position held
type occupation
['Charles Borromeo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Charles_Borromeo property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q1054345 Q1813197 Q49476
SYSTEM
Cardinal Secretary of State, Camerlengo of the Sacred College of Cardinals, archbishop
Q1054345 Q1813197 Q49476
(Q216946,P39,c(Q12737077))
action filter_type
action find
entity Q216946
relation P39
type Q12737077
[ANSWERS]
['Q216946', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q216946 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Cardinal Secretary of State Camerlengo of the Sacred College of Cardinals archbishop
Cardinal Secretary of State, Camerlengo of the Sacred College of Cardinals and archbishop
Cardinal Secretary of State Camerlengo of the Sacred College of Cardinals archbishop
action filter_type
action find
entity Charles Borromeo
relation position held
type occupation
['Charles Borromeo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Charles_Borromeo property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q216946
P138
Q44539
USER
Which temples are named after that person ?
(c(Q44539),P138,Q1054345) (c(Q44539),P138,Q1813197) (c(Q44539),P138,Q49476)
action filter_type
action find_reverse
entity Q216946
relation P138
type Q44539
[{'concept': 'Q44539'}, 'P138', 'Q1054345'] [{'concept': 'Q44539'}, 'P138', 'Q1813197'] [{'concept': 'Q44539'}, 'P138', 'Q49476']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q44539 . ?a property:P138 resource:Q216946 }
Charles Borromeo
action filter_type
action find_reverse
entity Charles Borromeo
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Cardinal Secretary of State'] [{'concept': 'temple'}, 'named after', 'Camerlengo of the Sacred College of Cardinals'] [{'concept': 'temple'}, 'named after', 'archbishop']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:temple . ?a property:named_after resource:Charles_Borromeo }
[]
temple
Q1631620 Q731479 Q3669752
SYSTEM
San Carlo al Corso, San Carlo al Corso, Church of San Carlo of Lombardi
Q1415440 Q1631620 Q3669752 Q3669733 Q867329 Q20857112 Q731479 Q3668479 Q1255630 Q3669736 Q3669735 Q16912073 Q278768 Q3669749
(c(Q44539),P138,Q1054345) (c(Q44539),P138,Q1813197) (c(Q44539),P138,Q49476)
action filter_type
action find_reverse
entity Q216946
relation P138
type Q44539
[ANSWERS] are named after that person
[{'concept': 'Q44539'}, 'P138', 'Q1054345'] [{'concept': 'Q44539'}, 'P138', 'Q1813197'] [{'concept': 'Q44539'}, 'P138', 'Q49476']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q44539 . ?a property:P138 resource:Q216946 }
Carolus Borromeuskerk San Carlo al Corso Church of San Carlo of Lombardi Church of Saint Charles San Carlo alle Quattro Fontane Saint Carolus Borromeüs church San Carlo al Corso Santi Vittore e Carlo Church of San Carlo all'Arena, Naples San Carlo Borromeo, Turin San Carlo Borromeo, Ferrara Carolus Borromeus Church San Carlo alle Mortelle San Carlo al Lazzaretto, Milan
San Carlo al Corso, San Carlo al Corso and Church of San Carlo of Lombardi are named after that person
San Carlo al Corso San Carlo al Corso Church of San Carlo of Lombardi
action filter_type
action find_reverse
entity Charles Borromeo
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Cardinal Secretary of State'] [{'concept': 'temple'}, 'named after', 'Camerlengo of the Sacred College of Cardinals'] [{'concept': 'temple'}, 'named after', 'archbishop']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:temple . ?a property:named_after resource:Charles_Borromeo }
[]