Simple Question (Direct)
Simple Question
Q1516418
P102
Q7210356
USER
Which party is Sigrid Folz-Steinacker affiliated with ?
(Q1516418,P102,c(Q7210356))
action filter_type
action find
entity Q1516418
relation P102
type Q7210356
['Q1516418', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q1516418 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Sigrid Folz-Steinacker
action filter_type
action find
entity Sigrid Folz-Steinacker
relation member of political party
type political organization
['Sigrid Folz-Steinacker', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Sigrid_Folz-Steinacker property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q13124
SYSTEM
Free Democratic Party
Q13124
(Q1516418,P102,c(Q7210356))
action filter_type
action find
entity Q1516418
relation P102
type Q7210356
Sigrid Folz-Steinacker is affiliated with [ANSWER]
['Q1516418', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q1516418 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Free Democratic Party
Sigrid Folz-Steinacker is affiliated with Free Democratic Party
Free Democratic Party
action filter_type
action find
entity Sigrid Folz-Steinacker
relation member of political party
type political organization
['Sigrid Folz-Steinacker', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Sigrid_Folz-Steinacker property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1516418
P39
Q12737077
USER
What was the position held by Sigrid Folz-Steinacker ?
(Q1516418,P39,c(Q12737077))
action filter_type
action find
entity Q1516418
relation P39
type Q12737077
['Q1516418', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1516418 property:P39 ?h }
Sigrid Folz-Steinacker
action filter_type
action find
entity Sigrid Folz-Steinacker
relation position held
type occupation
['Sigrid Folz-Steinacker', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Sigrid_Folz-Steinacker property:position_held ?h }
[]
occupation
Q1939555
SYSTEM
member of the German Bundestag
Q1939555
(Q1516418,P39,c(Q12737077))
action filter_type
action find
entity Q1516418
relation P39
type Q12737077
The position held by Sigrid Folz-Steinacker was a [ANSWER]
['Q1516418', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1516418 property:P39 ?h }
member of the German Bundestag
The position held by Sigrid Folz-Steinacker was a member of the German Bundestag
member of the German Bundestag
action filter_type
action find
entity Sigrid Folz-Steinacker
relation position held
type occupation
['Sigrid Folz-Steinacker', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Sigrid_Folz-Steinacker property:position_held ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1516418
P106
Q12737077
USER
What is the job of Sigrid Folz-Steinacker ?
(Q1516418,P106,c(Q12737077))
action filter_type
action find
entity Q1516418
relation P106
type Q12737077
['Q1516418', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1516418 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Sigrid Folz-Steinacker
action filter_type
action find
entity Sigrid Folz-Steinacker
relation occupation
type occupation
['Sigrid Folz-Steinacker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Sigrid_Folz-Steinacker property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1516418,P106,c(Q12737077))
action filter_type
action find
entity Q1516418
relation P106
type Q12737077
The job of Sigrid Folz-Steinacker is a [ANSWER]
['Q1516418', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1516418 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician
The job of Sigrid Folz-Steinacker is a politician
politician
action filter_type
action find
entity Sigrid Folz-Steinacker
relation occupation
type occupation
['Sigrid Folz-Steinacker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Sigrid_Folz-Steinacker property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13124
P466
Q41176
USER
What is the building occupied by Free Democratic Party ?
(c(Q41176),P466,Q13124)
action filter_type
action find_reverse
entity Q13124
relation P466
type Q41176
[{'concept': 'Q41176'}, 'P466', 'Q13124']
SELECT DISTINCT ?g WHERE { ?g property:P466 resource:Q13124 . ?g rdf:type ontology:Q41176 }
Free Democratic Party
action filter_type
action find_reverse
entity Free Democratic Party
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'Free Democratic Party']
SELECT DISTINCT ?g WHERE { ?g property:occupant resource:Free_Democratic_Party . ?g rdf:type ontology:building }
[]
building
Q1798726
SYSTEM
Thomas-Dehler-Haus
Q1798726
(c(Q41176),P466,Q13124)
action filter_type
action find_reverse
entity Q13124
relation P466
type Q41176
The building occupied by Free Democratic Party is the [ANSWER]
[{'concept': 'Q41176'}, 'P466', 'Q13124']
SELECT DISTINCT ?g WHERE { ?g property:P466 resource:Q13124 . ?g rdf:type ontology:Q41176 }
Thomas-Dehler-Haus
The building occupied by Free Democratic Party is the Thomas-Dehler-Haus
Thomas-Dehler-Haus
action filter_type
action find_reverse
entity Free Democratic Party
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'Free Democratic Party']
SELECT DISTINCT ?g WHERE { ?g property:occupant resource:Free_Democratic_Party . ?g rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13124
P463
Q7210356
USER
Which organization was that one a member of ?
(Q1798726,P463,c(Q7210356))
action filter_type
action find
entity Q13124
relation P463
type Q7210356
['Q1798726', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . resource:Q13124 property:P463 ?s }
Free Democratic Party
action filter_type
action find
entity Free Democratic Party
relation member of
type political organization
['Thomas-Dehler-Haus', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . resource:Free_Democratic_Party property:member_of ?s }
[]
political organization
Q212712
SYSTEM
Liberal International
Q212712
(Q1798726,P463,c(Q7210356))
action filter_type
action find
entity Q13124
relation P463
type Q7210356
[ANSWER] was that one a member of
['Q1798726', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . resource:Q13124 property:P463 ?s }
Liberal International
Liberal International was that one a member of
Liberal International
action filter_type
action find
entity Free Democratic Party
relation member of
type political organization
['Thomas-Dehler-Haus', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . resource:Free_Democratic_Party property:member_of ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212712
P159
Q811979
USER
Which architectural structure is the head office of that political organization ?
(Q212712,P159,c(Q811979))
action filter_type
action find
entity Q212712
relation P159
type Q811979
['Q212712', 'P159', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q811979 . resource:Q212712 property:P159 ?u }
Liberal International
action filter_type
action find
entity Liberal International
relation headquarters location
type architectural structure
['Liberal International', 'headquarters location', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:architectural_structure . resource:Liberal_International property:headquarters_location ?u }
[]
architectural structure
Q1807425
SYSTEM
National Liberal Club
Q1807425
(Q212712,P159,c(Q811979))
action filter_type
action find
entity Q212712
relation P159
type Q811979
[ANSWER] is the head office of that political organization
['Q212712', 'P159', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q811979 . resource:Q212712 property:P159 ?u }
National Liberal Club
National Liberal Club is the head office of that political organization
National Liberal Club
action filter_type
action find
entity Liberal International
relation headquarters location
type architectural structure
['Liberal International', 'headquarters location', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:architectural_structure . resource:Liberal_International property:headquarters_location ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P921
Q2342494
USER
Which collectable has politician as its principal topic ?
(c(Q2342494),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q82955']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2342494 . ?t property:P921 resource:Q82955 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'politician']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:collectable . ?t property:main_subject resource:politician }
[]
collectable
Q21601944
SYSTEM
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
Q21601944
(c(Q2342494),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
[ANSWER] has politician as its principal topic
[{'concept': 'Q2342494'}, 'P921', 'Q82955']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2342494 . ?t property:P921 resource:Q82955 }
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales has politician as its principal topic
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'politician']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:collectable . ?t property:main_subject resource:politician }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21601944
P364
Q34770
USER
Which language was used originally for the creation of that collectable ?
(Q21601944,P364,c(Q34770))
action filter_type
action find
entity Q21601944
relation P364
type Q34770
['Q21601944', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q21601944 property:P364 ?f . ?f rdf:type ontology:Q34770 }
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
action filter_type
action find
entity Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
relation original language of work
type language
['Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Notitia_Parliamentaria,_Or,_An_History_of_the_Counties,_Cities,_and_Boroughs_in_England_and_Wales property:original_language_of_work ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q21601944,P364,c(Q34770))
action filter_type
action find
entity Q21601944
relation P364
type Q34770
[ANSWER] was used originally for the creation of that collectable
['Q21601944', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q21601944 property:P364 ?f . ?f rdf:type ontology:Q34770 }
English
English was used originally for the creation of that collectable
English
action filter_type
action find
entity Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
relation original language of work
type language
['Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Notitia_Parliamentaria,_Or,_An_History_of_the_Counties,_Cities,_and_Boroughs_in_England_and_Wales property:original_language_of_work ?f . ?f rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21601944
P136
Q2342494
USER
Which collectable is the genre for Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales ?
(Q21601944,P136,c(Q2342494))
action filter_type
action find
entity Q21601944
relation P136
type Q2342494
['Q21601944', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2342494 . resource:Q21601944 property:P136 ?j }
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
action filter_type
action find
entity Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
relation genre
type collectable
['Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:collectable . resource:Notitia_Parliamentaria,_Or,_An_History_of_the_Counties,_Cities,_and_Boroughs_in_England_and_Wales property:genre ?j }
[]
collectable
Q20540385
SYSTEM
non-fiction book
Q20540385
(Q21601944,P136,c(Q2342494))
action filter_type
action find
entity Q21601944
relation P136
type Q2342494
The [ANSWER] is the genre for Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
['Q21601944', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2342494 . resource:Q21601944 property:P136 ?j }
non-fiction book
The non-fiction book is the genre for Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
non-fiction book
action filter_type
action find
entity Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
relation genre
type collectable
['Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:collectable . resource:Notitia_Parliamentaria,_Or,_An_History_of_the_Counties,_Cities,_and_Boroughs_in_England_and_Wales property:genre ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4657701
Q2342494
USER
And what about A Letter to Amy?
(Q4657701,P136,c(Q2342494))
action filter_type
action find
entity Q4657701
relation P136
type Q2342494
['Q4657701', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2342494 . resource:Q4657701 property:P136 ?x }
A Letter to Amy
action filter_type
action find
entity A Letter to Amy
relation genre
type collectable
['A Letter to Amy', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:collectable . resource:A_Letter_to_Amy property:genre ?x }
[]
collectable
Q254554
SYSTEM
picture book
Q254554
(Q4657701,P136,c(Q2342494))
action filter_type
action find
entity Q4657701
relation P136
type Q2342494
[ANSWER]
['Q4657701', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2342494 . resource:Q4657701 property:P136 ?x }
picture book
picture book
action filter_type
action find
entity A Letter to Amy
relation genre
type collectable
['A Letter to Amy', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:collectable . resource:A_Letter_to_Amy property:genre ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q639688 Q2629208
P39
Q12737077
USER
How many occupations were the positions occupied by Merobaudes or Tar-Meneldur ?
(Q639688,P39,c(Q12737077)) (Q2629208,P39,c(Q12737077))
action count
action union
action filter_type
action find
entity Q639688
relation P39
type Q12737077
action filter_type
action find
entity Q2629208
relation P39
type Q12737077
['Q639688', 'P39', {'concept': 'Q12737077'}] ['Q2629208', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { resource:Q639688 property:P39 ?c . ?c rdf:type ontology:Q12737077 } UNION { resource:Q2629208 property:P39 ?c . ?c rdf:type ontology:Q12737077 } }
Merobaudes Tar-Meneldur
action count
action union
action filter_type
action find
entity Merobaudes
relation position held
type occupation
action filter_type
action find
entity Tar-Meneldur
relation position held
type occupation
['Merobaudes', 'position held', {'concept': 'occupation'}] ['Tar-Meneldur', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { resource:Merobaudes property:position_held ?c . ?c rdf:type ontology:occupation } UNION { resource:Tar-Meneldur property:position_held ?c . ?c rdf:type ontology:occupation } }
[]
occupation
SYSTEM
4
Q20056508 Q18729869 Q40779 Q26203875
(Q639688,P39,c(Q12737077)) (Q2629208,P39,c(Q12737077))
action count
action union
action filter_type
action find
entity Q639688
relation P39
type Q12737077
action filter_type
action find
entity Q2629208
relation P39
type Q12737077
[ANSWER]
['Q639688', 'P39', {'concept': 'Q12737077'}] ['Q2629208', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { resource:Q639688 property:P39 ?c . ?c rdf:type ontology:Q12737077 } UNION { resource:Q2629208 property:P39 ?c . ?c rdf:type ontology:Q12737077 } }
Ancient Roman senator ruler of Númenor Roman consul consul of the Roman Empire
4
action count
action union
action filter_type
action find
entity Merobaudes
relation position held
type occupation
action filter_type
action find
entity Tar-Meneldur
relation position held
type occupation
['Merobaudes', 'position held', {'concept': 'occupation'}] ['Tar-Meneldur', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { resource:Merobaudes property:position_held ?c . ?c rdf:type ontology:occupation } UNION { resource:Tar-Meneldur property:position_held ?c . ?c rdf:type ontology:occupation } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1860 Q35505
P2439
Q4894405
USER
How many journalism genres have a correspondence with the language English or Old Norse language ?
(c(Q4894405),P2439,Q1860) (c(Q4894405),P2439,Q35505)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q4894405
action filter_type
action find_reverse
entity Q35505
relation P2439
type Q4894405
[{'concept': 'Q4894405'}, 'P2439', 'Q1860'] [{'concept': 'Q4894405'}, 'P2439', 'Q35505']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:P2439 resource:Q35505 . ?l rdf:type ontology:Q4894405 } UNION { ?l property:P2439 resource:Q1860 . ?l rdf:type ontology:Q4894405 } }
English Old Norse language
action count
action union
action filter_type
action find_reverse
entity English
relation language
type journalism genre
action filter_type
action find_reverse
entity Old Norse language
relation language
type journalism genre
[{'concept': 'journalism genre'}, 'language', 'English'] [{'concept': 'journalism genre'}, 'language', 'Old Norse language']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:language resource:Old_Norse_language . ?l rdf:type ontology:journalism_genre } UNION { ?l property:language resource:English . ?l rdf:type ontology:journalism_genre } }
[]
journalism genre
SYSTEM
2
Q27778613 Q27778636
(c(Q4894405),P2439,Q1860) (c(Q4894405),P2439,Q35505)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q4894405
action filter_type
action find_reverse
entity Q35505
relation P2439
type Q4894405
[ANSWER]
[{'concept': 'Q4894405'}, 'P2439', 'Q1860'] [{'concept': 'Q4894405'}, 'P2439', 'Q35505']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:P2439 resource:Q35505 . ?l rdf:type ontology:Q4894405 } UNION { ?l property:P2439 resource:Q1860 . ?l rdf:type ontology:Q4894405 } }
Hilda Kuper, 1911-92 Kuper, Hilda Beemer
2
action count
action union
action filter_type
action find_reverse
entity English
relation language
type journalism genre
action filter_type
action find_reverse
entity Old Norse language
relation language
type journalism genre
[{'concept': 'journalism genre'}, 'language', 'English'] [{'concept': 'journalism genre'}, 'language', 'Old Norse language']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:language resource:Old_Norse_language . ?l rdf:type ontology:journalism_genre } UNION { ?l property:language resource:English . ?l rdf:type ontology:journalism_genre } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q13220204 Q56061
USER
How many languages are the official languages of atleast 19 administrative country subdivisions and administrative territories ?
(c(Q13220204)|c(Q56061),P37,c(Q34770))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
value 19
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:P37 ?h . ?h rdf:type ontology:Q34770 . ?k rdf:type ontology:Q13220204 } UNION { ?h rdf:type ontology:Q34770 . ?k rdf:type ontology:Q56061 . ?k property:P37 ?h } } GROUP BY ?h } . FILTER ( ?x >= 19 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
value 19
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:official_language ?h . ?h rdf:type ontology:language . ?k rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?h rdf:type ontology:language . ?k rdf:type ontology:administrative_territorial_entity . ?k property:official_language ?h } } GROUP BY ?h } . FILTER ( ?x >= 19 ) }
[]
language second-level administrative country subdivision administrative territorial entity
SYSTEM
2
Q1860 Q652
(c(Q13220204)|c(Q56061),P37,c(Q34770))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
value 19
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:P37 ?h . ?h rdf:type ontology:Q34770 . ?k rdf:type ontology:Q13220204 } UNION { ?h rdf:type ontology:Q34770 . ?k rdf:type ontology:Q56061 . ?k property:P37 ?h } } GROUP BY ?h } . FILTER ( ?x >= 19 ) }
English Italian
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
value 19
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:official_language ?h . ?h rdf:type ontology:language . ?k rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?h rdf:type ontology:language . ?k rdf:type ontology:administrative_territorial_entity . ?k property:official_language ?h } } GROUP BY ?h } . FILTER ( ?x >= 19 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1516418
P21
Q290
USER
Which sex does Sigrid Folz-Steinacker belong to ?
(Q1516418,P21,c(Q290))
action filter_type
action find
entity Q1516418
relation P21
type Q290
['Q1516418', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1516418 property:P21 ?w . ?w rdf:type ontology:Q290 }
Sigrid Folz-Steinacker
action filter_type
action find
entity Sigrid Folz-Steinacker
relation gender
type sex
['Sigrid Folz-Steinacker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Sigrid_Folz-Steinacker property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1516418,P21,c(Q290))
action filter_type
action find
entity Q1516418
relation P21
type Q290
Sigrid Folz-Steinacker belongs to [ANSWER]
['Q1516418', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1516418 property:P21 ?w . ?w rdf:type ontology:Q290 }
female
Sigrid Folz-Steinacker belongs to female
female
action filter_type
action find
entity Sigrid Folz-Steinacker
relation gender
type sex
['Sigrid Folz-Steinacker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Sigrid_Folz-Steinacker property:gender ?w . ?w rdf:type ontology:sex }
[]