Simple Question (Direct)
Simple Question
Q1604350
P54
Q618123
USER
What sports team is Helmut Zahn a member of ?
(Q1604350,P54,c(Q618123))
action filter_type
action find
entity Q1604350
relation P54
type Q618123
['Q1604350', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q618123 . resource:Q1604350 property:P54 ?r }
Helmut Zahn
action filter_type
action find
entity Helmut Zahn
relation member of sports team
type geographical object
['Helmut Zahn', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographical_object . resource:Helmut_Zahn property:member_of_sports_team ?r }
[]
geographical object
Q105853
SYSTEM
Karlsruher SC
Q105853
(Q1604350,P54,c(Q618123))
action filter_type
action find
entity Q1604350
relation P54
type Q618123
[ANSWER] is Helmut Zahn a member of
['Q1604350', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q618123 . resource:Q1604350 property:P54 ?r }
Karlsruher SC
Karlsruher SC is Helmut Zahn a member of
Karlsruher SC
action filter_type
action find
entity Helmut Zahn
relation member of sports team
type geographical object
['Helmut Zahn', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographical_object . resource:Helmut_Zahn property:member_of_sports_team ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1604350
P734
Q82799
USER
Who has the surname that person ?
(Q105853,P734,c(Q82799))
action filter_type
action find
entity Q1604350
relation P734
type Q82799
['Q105853', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q1604350 property:P734 ?a }
Helmut Zahn
action filter_type
action find
entity Helmut Zahn
relation family name
type name
['Karlsruher SC', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Helmut_Zahn property:family_name ?a }
[]
name
Q21501981
SYSTEM
Zahn
Q21501981
(Q105853,P734,c(Q82799))
action filter_type
action find
entity Q1604350
relation P734
type Q82799
[ANSWER] has the surname that person
['Q105853', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q1604350 property:P734 ?a }
Zahn
Zahn has the surname that person
Zahn
action filter_type
action find
entity Helmut Zahn
relation family name
type name
['Karlsruher SC', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Helmut_Zahn property:family_name ?a }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are atmost 440 names composed in ?
(c(Q82799),P407,c(Q34770))
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 440
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P407 ?t . ?t rdf:type ontology:Q34770 . ?n rdf:type ontology:Q82799 } GROUP BY ?t } . FILTER ( ?a <= 440 ) }
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 440
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:language_of_work_or_name ?t . ?t rdf:type ontology:language . ?n rdf:type ontology:name } GROUP BY ?t } . FILTER ( ?a <= 440 ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 440
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P407 ?t . ?t rdf:type ontology:Q34770 . ?n rdf:type ontology:Q82799 } GROUP BY ?t } . FILTER ( ?a <= 440 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian Old Church Slavonic Etruscan
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 440
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:language_of_work_or_name ?t . ?t rdf:type ontology:language . ?n rdf:type ontology:name } GROUP BY ?t } . FILTER ( ?a <= 440 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q447117
P17
Q451967
USER
Which human actions are Old Egyptian situated in ?
(Q447117,P17,c(Q451967))
action filter_type
action find
entity Q447117
relation P17
type Q451967
['Q447117', 'P17', {'concept': 'Q451967'}]
SELECT DISTINCT ?d WHERE { resource:Q447117 property:P17 ?d . ?d rdf:type ontology:Q451967 }
Old Egyptian
action filter_type
action find
entity Old Egyptian
relation country
type human action
['Old Egyptian', 'country', {'concept': 'human action'}]
SELECT DISTINCT ?d WHERE { resource:Old_Egyptian property:country ?d . ?d rdf:type ontology:human_action }
[]
human action
Q187979 Q232211
SYSTEM
Early Dynastic Period of Egypt, First Intermediate Period of Egypt
Q187979 Q232211
(Q447117,P17,c(Q451967))
action filter_type
action find
entity Q447117
relation P17
type Q451967
[ANSWERS]
['Q447117', 'P17', {'concept': 'Q451967'}]
SELECT DISTINCT ?d WHERE { resource:Q447117 property:P17 ?d . ?d rdf:type ontology:Q451967 }
Early Dynastic Period of Egypt First Intermediate Period of Egypt
Which human actions are Old Egyptian situated in
Early Dynastic Period of Egypt First Intermediate Period of Egypt
action filter_type
action find
entity Old Egyptian
relation country
type human action
['Old Egyptian', 'country', {'concept': 'human action'}]
SELECT DISTINCT ?d WHERE { resource:Old_Egyptian property:country ?d . ?d rdf:type ontology:human_action }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35499
P144
Q5962346
USER
Which classification scheme builds on Old Church Slavonic ?
(c(Q5962346),P144,Q35499)
action filter_type
action find_reverse
entity Q35499
relation P144
type Q5962346
[{'concept': 'Q5962346'}, 'P144', 'Q35499']
SELECT DISTINCT ?h WHERE { ?h property:P144 resource:Q35499 . ?h rdf:type ontology:Q5962346 }
Old Church Slavonic
action filter_type
action find_reverse
entity Old Church Slavonic
relation based on
type classification scheme
[{'concept': 'classification scheme'}, 'based on', 'Old Church Slavonic']
SELECT DISTINCT ?h WHERE { ?h property:based_on resource:Old_Church_Slavonic . ?h rdf:type ontology:classification_scheme }
[]
classification scheme
Q145852
SYSTEM
West Slavic languages
Q145852
(c(Q5962346),P144,Q35499)
action filter_type
action find_reverse
entity Q35499
relation P144
type Q5962346
[ANSWER] builds on Old Church Slavonic
[{'concept': 'Q5962346'}, 'P144', 'Q35499']
SELECT DISTINCT ?h WHERE { ?h property:P144 resource:Q35499 . ?h rdf:type ontology:Q5962346 }
West Slavic languages
West Slavic languages builds on Old Church Slavonic
West Slavic languages
action filter_type
action find_reverse
entity Old Church Slavonic
relation based on
type classification scheme
[{'concept': 'classification scheme'}, 'based on', 'Old Church Slavonic']
SELECT DISTINCT ?h WHERE { ?h property:based_on resource:Old_Church_Slavonic . ?h rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35499
P364
Q2342494
USER
What was originally created in Old Church Slavonic language ?
(c(Q2342494),P364,Q35499)
action filter_type
action find_reverse
entity Q35499
relation P364
type Q2342494
[{'concept': 'Q2342494'}, 'P364', 'Q35499']
SELECT DISTINCT ?j WHERE { ?j property:P364 resource:Q35499 . ?j rdf:type ontology:Q2342494 }
Old Church Slavonic
action filter_type
action find_reverse
entity Old Church Slavonic
relation original language of work
type collectable
[{'concept': 'collectable'}, 'original language of work', 'Old Church Slavonic']
SELECT DISTINCT ?j WHERE { ?j property:original_language_of_work resource:Old_Church_Slavonic . ?j rdf:type ontology:collectable }
[]
collectable
Q1133281
SYSTEM
Book of Boril
Q1133281
(c(Q2342494),P364,Q35499)
action filter_type
action find_reverse
entity Q35499
relation P364
type Q2342494
[ANSWER] was originally created in Old Church Slavonic language
[{'concept': 'Q2342494'}, 'P364', 'Q35499']
SELECT DISTINCT ?j WHERE { ?j property:P364 resource:Q35499 . ?j rdf:type ontology:Q2342494 }
Book of Boril
Book of Boril was originally created in Old Church Slavonic language
Book of Boril
action filter_type
action find_reverse
entity Old Church Slavonic
relation original language of work
type collectable
[{'concept': 'collectable'}, 'original language of work', 'Old Church Slavonic']
SELECT DISTINCT ?j WHERE { ?j property:original_language_of_work resource:Old_Church_Slavonic . ?j rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145852
P361
Q34770
USER
Which language is a component of West Slavic languages ?
(c(Q34770),P361,Q145852)
action filter_type
action find_reverse
entity Q145852
relation P361
type Q34770
[{'concept': 'Q34770'}, 'P361', 'Q145852']
SELECT DISTINCT ?i WHERE { ?i property:P361 resource:Q145852 . ?i rdf:type ontology:Q34770 }
West Slavic languages
action filter_type
action find_reverse
entity West Slavic languages
relation part of
type language
[{'concept': 'language'}, 'part of', 'West Slavic languages']
SELECT DISTINCT ?i WHERE { ?i property:part_of resource:West_Slavic_languages . ?i rdf:type ontology:language }
[]
language
Q9056
SYSTEM
Czech
Q9056
(c(Q34770),P361,Q145852)
action filter_type
action find_reverse
entity Q145852
relation P361
type Q34770
[ANSWER] is a component of West Slavic languages
[{'concept': 'Q34770'}, 'P361', 'Q145852']
SELECT DISTINCT ?i WHERE { ?i property:P361 resource:Q145852 . ?i rdf:type ontology:Q34770 }
Czech
Czech is a component of West Slavic languages
Czech
action filter_type
action find_reverse
entity West Slavic languages
relation part of
type language
[{'concept': 'language'}, 'part of', 'West Slavic languages']
SELECT DISTINCT ?i WHERE { ?i property:part_of resource:West_Slavic_languages . ?i rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9056
P37
Q515
USER
Which city designates that one as its official language ?
(c(Q515),P37,Q9056)
action filter_type
action find_reverse
entity Q9056
relation P37
type Q515
[{'concept': 'Q515'}, 'P37', 'Q9056']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q515 . ?h property:P37 resource:Q9056 }
Czech
action filter_type
action find_reverse
entity Czech
relation official language
type city
[{'concept': 'city'}, 'official language', 'Czech']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:city . ?h property:official_language resource:Czech }
[]
city
Q270704
SYSTEM
Třebíč
Q270704
(c(Q515),P37,Q9056)
action filter_type
action find_reverse
entity Q9056
relation P37
type Q515
[ANSWER] designates that one as its official language
[{'concept': 'Q515'}, 'P37', 'Q9056']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q515 . ?h property:P37 resource:Q9056 }
Třebíč
Třebíč designates that one as its official language
Třebíč
action filter_type
action find_reverse
entity Czech
relation official language
type city
[{'concept': 'city'}, 'official language', 'Czech']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:city . ?h property:official_language resource:Czech }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q397
P407
Q34770 Q7725634 Q482994
USER
How many languages are the languages of work for less number of literary works or albums than Latin ?
(c(Q7725634)|c(Q482994),P407,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q397
relation P407
type Q7725634
type Q482994
[[{'concept': 'Q7725634'}, {'concept': 'Q482994'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P407 resource:Q397 . { VALUES ( ?d ) { ( ontology:Q7725634 ) ( ontology:Q482994 ) } . ?l rdf:type ?d } } } . FILTER ( ?q < ?j ) . { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?q ) WHERE { { ?w property:P407 ?k . ?k rdf:type ontology:Q34770 . ?w rdf:type ontology:Q7725634 } UNION { ?w property:P407 ?k . ?w rdf:type ontology:Q482994 . ?k rdf:type ontology:Q34770 } } GROUP BY ?k } }
Latin
action count
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type album
action count
action filter_multi_types
action find_reverse
entity Latin
relation language of work or name
type literary work
type album
[[{'concept': 'literary work'}, {'concept': 'album'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:language_of_work_or_name resource:Latin . { VALUES ( ?d ) { ( ontology:literary_work ) ( ontology:album ) } . ?l rdf:type ?d } } } . FILTER ( ?q < ?j ) . { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?q ) WHERE { { ?w property:language_of_work_or_name ?k . ?k rdf:type ontology:language . ?w rdf:type ontology:literary_work } UNION { ?w property:language_of_work_or_name ?k . ?w rdf:type ontology:album . ?k rdf:type ontology:language } } GROUP BY ?k } }
[]
language literary work album
SYSTEM
24
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634)|c(Q482994),P407,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q397
relation P407
type Q7725634
type Q482994
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q482994'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P407 resource:Q397 . { VALUES ( ?d ) { ( ontology:Q7725634 ) ( ontology:Q482994 ) } . ?l rdf:type ?d } } } . FILTER ( ?q < ?j ) . { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?q ) WHERE { { ?w property:P407 ?k . ?k rdf:type ontology:Q34770 . ?w rdf:type ontology:Q7725634 } UNION { ?w property:P407 ?k . ?w rdf:type ontology:Q482994 . ?k rdf:type ontology:Q34770 } } GROUP BY ?k } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
24
action count
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type album
action count
action filter_multi_types
action find_reverse
entity Latin
relation language of work or name
type literary work
type album
[[{'concept': 'literary work'}, {'concept': 'album'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:language_of_work_or_name resource:Latin . { VALUES ( ?d ) { ( ontology:literary_work ) ( ontology:album ) } . ?l rdf:type ?d } } } . FILTER ( ?q < ?j ) . { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?q ) WHERE { { ?w property:language_of_work_or_name ?k . ?k rdf:type ontology:language . ?w rdf:type ontology:literary_work } UNION { ?w property:language_of_work_or_name ?k . ?w rdf:type ontology:album . ?k rdf:type ontology:language } } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q9056
P407
Q34770 Q7725634 Q482994
USER
And what about Czech?
(c(Q7725634)|c(Q482994),P407,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P407
type Q7725634
type Q482994
[[{'concept': 'Q7725634'}, {'concept': 'Q482994'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?j ) WHERE { { ?m rdf:type ontology:Q34770 . ?b rdf:type ontology:Q7725634 . ?b property:P407 ?m } UNION { ?b property:P407 ?m . ?m rdf:type ontology:Q34770 . ?b rdf:type ontology:Q482994 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { { ?o rdf:type ontology:Q7725634 } UNION { ?o rdf:type ontology:Q482994 } } . ?o property:P407 resource:Q9056 } } . FILTER ( ?j < ?v ) }
Czech
action count
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type album
action count
action filter_multi_types
action find_reverse
entity Czech
relation language of work or name
type literary work
type album
[[{'concept': 'literary work'}, {'concept': 'album'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?j ) WHERE { { ?m rdf:type ontology:language . ?b rdf:type ontology:literary_work . ?b property:language_of_work_or_name ?m } UNION { ?b property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?b rdf:type ontology:album } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { { ?o rdf:type ontology:literary_work } UNION { ?o rdf:type ontology:album } } . ?o property:language_of_work_or_name resource:Czech } } . FILTER ( ?j < ?v ) }
[]
language literary work album
SYSTEM
25
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634)|c(Q482994),P407,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P407
type Q7725634
type Q482994
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q482994'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?j ) WHERE { { ?m rdf:type ontology:Q34770 . ?b rdf:type ontology:Q7725634 . ?b property:P407 ?m } UNION { ?b property:P407 ?m . ?m rdf:type ontology:Q34770 . ?b rdf:type ontology:Q482994 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { { ?o rdf:type ontology:Q7725634 } UNION { ?o rdf:type ontology:Q482994 } } . ?o property:P407 resource:Q9056 } } . FILTER ( ?j < ?v ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
25
action count
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type album
action count
action filter_multi_types
action find_reverse
entity Czech
relation language of work or name
type literary work
type album
[[{'concept': 'literary work'}, {'concept': 'album'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?j ) WHERE { { ?m rdf:type ontology:language . ?b rdf:type ontology:literary_work . ?b property:language_of_work_or_name ?m } UNION { ?b property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?b rdf:type ontology:album } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { { ?o rdf:type ontology:literary_work } UNION { ?o rdf:type ontology:album } } . ?o property:language_of_work_or_name resource:Czech } } . FILTER ( ?j < ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270704
P6
Q502895
USER
Which people do Třebíč serve as the head of government for ?
(Q270704,P6,c(Q502895))
action filter_type
action find
entity Q270704
relation P6
type Q502895
['Q270704', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q270704 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Třebíč
action filter_type
action find
entity Třebíč
relation head of government
type common name
['Třebíč', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Třebíč property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q12044066 Q10859111 Q12022129
SYSTEM
Pavel Heřman, Augustin Kliment, Ivo Uher
Q12022129 Q21509560 Q10859111 Q12037574 Q12026705 Q12028320 Q12044066 Q12044095
(Q270704,P6,c(Q502895))
action filter_type
action find
entity Q270704
relation P6
type Q502895
[ANSWERS] Třebíč serve as the head of government
['Q270704', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q270704 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Ivo Uher Carl Fundulus Augustin Kliment Miloš Mašek Josef Vaněk Karel Kliment Pavel Heřman Pavel Janata
Pavel Heřman, Augustin Kliment and Ivo Uher Třebíč serve as the head of government
Pavel Heřman Augustin Kliment Ivo Uher
action filter_type
action find
entity Třebíč
relation head of government
type common name
['Třebíč', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Třebíč property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]