Simple Question (Direct)
Simple Question
Q10861268
P19
Q515
USER
Which city is the birthplace of Zoe Hauptová ?
(Q10861268,P19,c(Q515))
action filter_type
action find
entity Q10861268
relation P19
type Q515
['Q10861268', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q10861268 property:P19 ?u . ?u rdf:type ontology:Q515 }
Zoe Hauptová
action filter_type
action find
entity Zoe Hauptová
relation place of birth
type city
['Zoe Hauptová', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Zoe_Hauptová property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
city
Q14960
SYSTEM
Brno
Q14960
(Q10861268,P19,c(Q515))
action filter_type
action find
entity Q10861268
relation P19
type Q515
[ANSWER] is the birthplace of Zoe Hauptová
['Q10861268', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q10861268 property:P19 ?u . ?u rdf:type ontology:Q515 }
Brno
Brno is the birthplace of Zoe Hauptová
Brno
action filter_type
action find
entity Zoe Hauptová
relation place of birth
type city
['Zoe Hauptová', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Zoe_Hauptová property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14960
P931
Q62447
USER
Which aerodrome is served by that city ?
(c(Q62447),P931,Q14960)
action filter_type
action find_reverse
entity Q14960
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q14960']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q62447 . ?v property:P931 resource:Q14960 }
Brno
action filter_type
action find_reverse
entity Brno
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Brno']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:aerodrome . ?v property:place_served_by_airport resource:Brno }
[]
aerodrome
Q748848
SYSTEM
Brno-Tuřany Airport
Q748848
(c(Q62447),P931,Q14960)
action filter_type
action find_reverse
entity Q14960
relation P931
type Q62447
Airport [ANSWER] is served by that city
[{'concept': 'Q62447'}, 'P931', 'Q14960']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q62447 . ?v property:P931 resource:Q14960 }
Brno-Tuřany Airport
Airport Brno-Tuřany Airport is served by that city
Brno-Tuřany Airport
action filter_type
action find_reverse
entity Brno
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Brno']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:aerodrome . ?v property:place_served_by_airport resource:Brno }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10861268
P451
Q502895
USER
Who had Zoe Hauptová as their partner ?
(Q10861268,P451,c(Q502895))
action filter_type
action find
entity Q10861268
relation P451
type Q502895
['Q10861268', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q10861268 property:P451 ?u . ?u rdf:type ontology:Q502895 }
Zoe Hauptová
action filter_type
action find
entity Zoe Hauptová
relation partner
type common name
['Zoe Hauptová', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Zoe_Hauptová property:partner ?u . ?u rdf:type ontology:common_name }
[]
common name
Q12045140
SYSTEM
Petra J. Fischerová
Q12045140
(Q10861268,P451,c(Q502895))
action filter_type
action find
entity Q10861268
relation P451
type Q502895
[ANSWER] had Zoe Hauptová as their partner
['Q10861268', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q10861268 property:P451 ?u . ?u rdf:type ontology:Q502895 }
Petra J. Fischerová
Petra J. Fischerová had Zoe Hauptová as their partner
Petra J. Fischerová
action filter_type
action find
entity Zoe Hauptová
relation partner
type common name
['Zoe Hauptová', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Zoe_Hauptová property:partner ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q12045140 Q229957
P451
Q502895
USER
How many people have Petra J. Fischerová or Mary-Louise Parker as their relationship partner ?
(c(Q502895),P451,Q12045140) (c(Q502895),P451,Q229957)
action count
action union
action filter_type
action find_reverse
entity Q12045140
relation P451
type Q502895
action filter_type
action find_reverse
entity Q229957
relation P451
type Q502895
[{'concept': 'Q502895'}, 'P451', 'Q12045140'] [{'concept': 'Q502895'}, 'P451', 'Q229957']
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { ?z rdf:type ontology:Q502895 . ?z property:P451 resource:Q229957 } UNION { ?z rdf:type ontology:Q502895 . ?z property:P451 resource:Q12045140 } }
Petra J. Fischerová Mary-Louise Parker
action count
action union
action filter_type
action find_reverse
entity Petra J. Fischerová
relation partner
type common name
action filter_type
action find_reverse
entity Mary-Louise Parker
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Petra J. Fischerová'] [{'concept': 'common name'}, 'partner', 'Mary-Louise Parker']
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { ?z rdf:type ontology:common_name . ?z property:partner resource:Mary-Louise_Parker } UNION { ?z rdf:type ontology:common_name . ?z property:partner resource:Petra_J._Fischerová } }
[]
common name
SYSTEM
3
Q313650 Q342665 Q10861268
(c(Q502895),P451,Q12045140) (c(Q502895),P451,Q229957)
action count
action union
action filter_type
action find_reverse
entity Q12045140
relation P451
type Q502895
action filter_type
action find_reverse
entity Q229957
relation P451
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P451', 'Q12045140'] [{'concept': 'Q502895'}, 'P451', 'Q229957']
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { ?z rdf:type ontology:Q502895 . ?z property:P451 resource:Q229957 } UNION { ?z rdf:type ontology:Q502895 . ?z property:P451 resource:Q12045140 } }
Billy Crudup Jeffrey Dean Morgan Zoe Hauptová
3
action count
action union
action filter_type
action find_reverse
entity Petra J. Fischerová
relation partner
type common name
action filter_type
action find_reverse
entity Mary-Louise Parker
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Petra J. Fischerová'] [{'concept': 'common name'}, 'partner', 'Mary-Louise Parker']
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { ?z rdf:type ontology:common_name . ?z property:partner resource:Mary-Louise_Parker } UNION { ?z rdf:type ontology:common_name . ?z property:partner resource:Petra_J._Fischerová } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 1450 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1450
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?y >= 1450 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1450
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?y >= 1450 ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1450
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?y >= 1450 ) }
bass guitar piano trumpet violin organ drum kit
6
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1450
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?y >= 1450 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12045140
P106
Q12737077
USER
What are the professions of Petra J. Fischerová ?
(Q12045140,P106,c(Q12737077))
action filter_type
action find
entity Q12045140
relation P106
type Q12737077
['Q12045140', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q12045140 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Petra J. Fischerová
action filter_type
action find
entity Petra J. Fischerová
relation occupation
type occupation
['Petra J. Fischerová', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Petra_J._Fischerová property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q1028181 Q36180 Q49757
SYSTEM
painter, writer, poet
Q1028181 Q36180 Q49757
(Q12045140,P106,c(Q12737077))
action filter_type
action find
entity Q12045140
relation P106
type Q12737077
The professions of Petra J. Fischerová are [ANSWERS]
['Q12045140', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q12045140 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
painter writer poet
The professions of Petra J. Fischerová are painter, writer and poet
painter writer poet
action filter_type
action find
entity Petra J. Fischerová
relation occupation
type occupation
['Petra J. Fischerová', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Petra_J._Fischerová property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12045140
P1412
Q34770
USER
Which language does that person speak in ?
(Q1028181,P1412,c(Q34770)) (Q36180,P1412,c(Q34770)) (Q49757,P1412,c(Q34770))
action filter_type
action find
entity Q12045140
relation P1412
type Q34770
['Q1028181', 'P1412', {'concept': 'Q34770'}] ['Q36180', 'P1412', {'concept': 'Q34770'}] ['Q49757', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q12045140 property:P1412 ?t }
Petra J. Fischerová
action filter_type
action find
entity Petra J. Fischerová
relation languages spoken, written or signed
type language
['painter', 'languages spoken, written or signed', {'concept': 'language'}] ['writer', 'languages spoken, written or signed', {'concept': 'language'}] ['poet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Petra_J._Fischerová property:languages_spoken,_written_or_signed ?t }
[]
language
Q9056
SYSTEM
Czech
Q9056
(Q1028181,P1412,c(Q34770)) (Q36180,P1412,c(Q34770)) (Q49757,P1412,c(Q34770))
action filter_type
action find
entity Q12045140
relation P1412
type Q34770
That person speaks in [ANSWER]
['Q1028181', 'P1412', {'concept': 'Q34770'}] ['Q36180', 'P1412', {'concept': 'Q34770'}] ['Q49757', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q12045140 property:P1412 ?t }
Czech
That person speaks in Czech
Czech
action filter_type
action find
entity Petra J. Fischerová
relation languages spoken, written or signed
type language
['painter', 'languages spoken, written or signed', {'concept': 'language'}] ['writer', 'languages spoken, written or signed', {'concept': 'language'}] ['poet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Petra_J._Fischerová property:languages_spoken,_written_or_signed ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q12045140
P27
Q15617994
USER
How many administrative territories are Petra J. Fischerová an inhabitant of ?
(Q12045140,P27,c(Q15617994))
action count
action filter_type
action find
entity Q12045140
relation P27
type Q15617994
['Q12045140', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q12045140 property:P27 ?k }
Petra J. Fischerová
action count
action filter_type
action find
entity Petra J. Fischerová
relation country of citizenship
type designation for an administrative territorial entity
['Petra J. Fischerová', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Petra_J._Fischerová property:country_of_citizenship ?k }
[]
designation for an administrative territorial entity
SYSTEM
1
Q213
(Q12045140,P27,c(Q15617994))
action count
action filter_type
action find
entity Q12045140
relation P27
type Q15617994
[ANSWER]
['Q12045140', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q12045140 property:P27 ?k }
Czech Republic
1
action count
action filter_type
action find
entity Petra J. Fischerová
relation country of citizenship
type designation for an administrative territorial entity
['Petra J. Fischerová', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Petra_J._Fischerová property:country_of_citizenship ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12045140
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q12045140
relation P21
type Q290
SELECT DISTINCT ?u WHERE { resource:Q12045140 property:P21 ?u . ?u rdf:type ontology:Q290 }
Petra J. Fischerová
action filter_type
action find
entity Petra J. Fischerová
relation gender
type sex
SELECT DISTINCT ?u WHERE { resource:Petra_J._Fischerová property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
action filter_type
action find
entity Q12045140
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?u WHERE { resource:Q12045140 property:P21 ?u . ?u rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Petra J. Fischerová
relation gender
type sex
SELECT DISTINCT ?u WHERE { resource:Petra_J._Fischerová property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12045140
P27
Q15617994
USER
Which administrative territory is Petra J. Fischerová an inhabitant of ?
(Q12045140,P27,c(Q15617994))
action filter_type
action find
entity Q12045140
relation P27
type Q15617994
['Q12045140', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q12045140 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Petra J. Fischerová
action filter_type
action find
entity Petra J. Fischerová
relation country of citizenship
type designation for an administrative territorial entity
['Petra J. Fischerová', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Petra_J._Fischerová property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q12045140,P27,c(Q15617994))
action filter_type
action find
entity Q12045140
relation P27
type Q15617994
[ANSWER] is Petra J. Fischerová an inhabitant of
['Q12045140', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q12045140 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic is Petra J. Fischerová an inhabitant of
Czech Republic
action filter_type
action find
entity Petra J. Fischerová
relation country of citizenship
type designation for an administrative territorial entity
['Petra J. Fischerová', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Petra_J._Fischerová property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q213 Q458 Q17071546
P47
Q56061
USER
Does that administrative territory have an adjacent border with European Union and Yazd Industrial Estate ?
(Q213,P47,Q458) (Q213,P47,Q17071546)
action is_in
entity Q213
action intersection
action find_reverse
entity Q458
relation P47
action find_reverse
entity Q17071546
relation P47
['Q213', 'P47', 'Q458'] ['Q213', 'P47', 'Q17071546']
ASK WHERE { resource:Q213 property:P47 resource:Q458 . resource:Q213 property:P47 resource:Q17071546 }
Czech Republic European Union Yazd Industrial Estate
action is_in
entity Czech Republic
action intersection
action find_reverse
entity European Union
relation shares border with
action find_reverse
entity Yazd Industrial Estate
relation shares border with
['Czech Republic', 'shares border with', 'European Union'] ['Czech Republic', 'shares border with', 'Yazd Industrial Estate']
ASK WHERE { resource:Czech_Republic property:shares_border_with resource:European_Union . resource:Czech_Republic property:shares_border_with resource:Yazd_Industrial_Estate }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q213,P47,Q458) (Q213,P47,Q17071546)
action is_in
entity Q213
action intersection
action find_reverse
entity Q458
relation P47
action find_reverse
entity Q17071546
relation P47
[ANSWER]
['Q213', 'P47', 'Q458'] ['Q213', 'P47', 'Q17071546']
ASK WHERE { resource:Q213 property:P47 resource:Q458 . resource:Q213 property:P47 resource:Q17071546 }
YES and NO respectively
action is_in
entity Czech Republic
action intersection
action find_reverse
entity European Union
relation shares border with
action find_reverse
entity Yazd Industrial Estate
relation shares border with
['Czech Republic', 'shares border with', 'European Union'] ['Czech Republic', 'shares border with', 'Yazd Industrial Estate']
ASK WHERE { resource:Czech_Republic property:shares_border_with resource:European_Union . resource:Czech_Republic property:shares_border_with resource:Yazd_Industrial_Estate }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1028181 Q16149682 Q128538
P417
Q502895
USER
Does painter have adopted Joachim von Amsberg and Luke the Evangelist as patron saint ?
(Q1028181,P417,Q16149682) (Q1028181,P417,Q128538)
action is_in
entity Q1028181
action intersection
action find_reverse
entity Q16149682
relation P417
action find_reverse
entity Q128538
relation P417
['Q1028181', 'P417', 'Q16149682'] ['Q1028181', 'P417', 'Q128538']
ASK WHERE { resource:Q1028181 property:P417 resource:Q16149682 . resource:Q1028181 property:P417 resource:Q128538 }
painter Joachim von Amsberg Luke the Evangelist
action is_in
entity painter
action intersection
action find_reverse
entity Joachim von Amsberg
relation patron saint
action find_reverse
entity Luke the Evangelist
relation patron saint
['painter', 'patron saint', 'Joachim von Amsberg'] ['painter', 'patron saint', 'Luke the Evangelist']
ASK WHERE { resource:painter property:patron_saint resource:Joachim_von_Amsberg . resource:painter property:patron_saint resource:Luke_the_Evangelist }
[]
common name
SYSTEM
NO and YES respectively
(Q1028181,P417,Q16149682) (Q1028181,P417,Q128538)
action is_in
entity Q1028181
action intersection
action find_reverse
entity Q16149682
relation P417
action find_reverse
entity Q128538
relation P417
[ANSWER]
['Q1028181', 'P417', 'Q16149682'] ['Q1028181', 'P417', 'Q128538']
ASK WHERE { resource:Q1028181 property:P417 resource:Q16149682 . resource:Q1028181 property:P417 resource:Q128538 }
NO and YES respectively
action is_in
entity painter
action intersection
action find_reverse
entity Joachim von Amsberg
relation patron saint
action find_reverse
entity Luke the Evangelist
relation patron saint
['painter', 'patron saint', 'Joachim von Amsberg'] ['painter', 'patron saint', 'Luke the Evangelist']
ASK WHERE { resource:painter property:patron_saint resource:Joachim_von_Amsberg . resource:painter property:patron_saint resource:Luke_the_Evangelist }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36206
P37
Q34770 Q15617994 Q7275
USER
How many languages are the official languages of around the same number of administrative territories or states as Lak ?
(c(Q15617994)|c(Q7275),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q36206
relation P37
type Q15617994
type Q7275
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?u ) WHERE { VALUES ( ?m ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?e rdf:type ?m } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P37 resource:Q36206 . { { ?v rdf:type ontology:Q7275 } UNION { ?v rdf:type ontology:Q15617994 } } } } . FILTER ( ?u = ?s ) }
Lak
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
action count
action filter_multi_types
action find_reverse
entity Lak
relation official language
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?u ) WHERE { VALUES ( ?m ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?e rdf:type ?m } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:official_language resource:Lak . { { ?v rdf:type ontology:state } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?u = ?s ) }
[]
language designation for an administrative territorial entity state
SYSTEM
14
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q15617994)|c(Q7275),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q36206
relation P37
type Q15617994
type Q7275
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?u ) WHERE { VALUES ( ?m ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?e rdf:type ?m } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P37 resource:Q36206 . { { ?v rdf:type ontology:Q7275 } UNION { ?v rdf:type ontology:Q15617994 } } } } . FILTER ( ?u = ?s ) }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
14
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
action count
action filter_multi_types
action find_reverse
entity Lak
relation official language
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?u ) WHERE { VALUES ( ?m ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?e rdf:type ?m } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:official_language resource:Lak . { { ?v rdf:type ontology:state } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?u = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q13211
P37
Q34770 Q15617994 Q7275
USER
And what about Ruthenian?
(c(Q15617994)|c(Q7275),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q13211
relation P37
type Q15617994
type Q7275
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?r WHERE { { ?v property:P37 ?r . ?r rdf:type ontology:Q34770 . ?v rdf:type ontology:Q15617994 } UNION { ?v property:P37 ?r . ?r rdf:type ontology:Q34770 . ?v rdf:type ontology:Q7275 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P37 resource:Q13211 . { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } } } } . FILTER ( ?f = ?x ) }
Ruthenian
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
action count
action filter_multi_types
action find_reverse
entity Ruthenian
relation official language
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?r WHERE { { ?v property:official_language ?r . ?r rdf:type ontology:language . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:official_language ?r . ?r rdf:type ontology:language . ?v rdf:type ontology:state } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:official_language resource:Ruthenian . { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } } } } . FILTER ( ?f = ?x ) }
[]
language designation for an administrative territorial entity state
SYSTEM
14
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q15617994)|c(Q7275),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q13211
relation P37
type Q15617994
type Q7275
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?r WHERE { { ?v property:P37 ?r . ?r rdf:type ontology:Q34770 . ?v rdf:type ontology:Q15617994 } UNION { ?v property:P37 ?r . ?r rdf:type ontology:Q34770 . ?v rdf:type ontology:Q7275 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P37 resource:Q13211 . { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } } } } . FILTER ( ?f = ?x ) }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
14
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
action count
action filter_multi_types
action find_reverse
entity Ruthenian
relation official language
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?r WHERE { { ?v property:official_language ?r . ?r rdf:type ontology:language . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:official_language ?r . ?r rdf:type ontology:language . ?v rdf:type ontology:state } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:official_language resource:Ruthenian . { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } } } } . FILTER ( ?f = ?x ) }
[]