Simple Question (Direct)
Simple Question
Q3838934
P1412
Q34770
USER
Which language can Lucio Schirò understand ?
(Q3838934,P1412,c(Q34770))
action filter_type
action find
entity Q3838934
relation P1412
type Q34770
['Q3838934', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q3838934 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Lucio Schirò
action filter_type
action find
entity Lucio Schirò
relation languages spoken, written or signed
type language
['Lucio Schirò', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Lucio_Schirò property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3838934,P1412,c(Q34770))
action filter_type
action find
entity Q3838934
relation P1412
type Q34770
Lucio Schirò can understand the [ANSWER]
['Q3838934', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q3838934 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Italian
Lucio Schirò can understand the Italian
Italian
action filter_type
action find
entity Lucio Schirò
relation languages spoken, written or signed
type language
['Lucio Schirò', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Lucio_Schirò property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3838934
P39
Q12737077
USER
Which occupation was a position for which Lucio Schirò was appointed ?
(Q3838934,P39,c(Q12737077))
action filter_type
action find
entity Q3838934
relation P39
type Q12737077
['Q3838934', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3838934 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Lucio Schirò
action filter_type
action find
entity Lucio Schirò
relation position held
type occupation
['Lucio Schirò', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Lucio_Schirò property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q3838934,P39,c(Q12737077))
action filter_type
action find
entity Q3838934
relation P39
type Q12737077
The [ANSWER] was a position for which Lucio Schirò was appointed
['Q3838934', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3838934 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
mayor
The mayor was a position for which Lucio Schirò was appointed
mayor
action filter_type
action find
entity Lucio Schirò
relation position held
type occupation
['Lucio Schirò', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Lucio_Schirò property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3838934
P27
Q15617994
USER
How many administrative territories do Lucio Schirò belong to ?
(Q3838934,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3838934
relation P27
type Q15617994
['Q3838934', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q3838934 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Lucio Schirò
action count
action filter_type
action find
entity Lucio Schirò
relation country of citizenship
type designation for an administrative territorial entity
['Lucio Schirò', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Lucio_Schirò property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q3838934,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3838934
relation P27
type Q15617994
[ANSWER]
['Q3838934', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q3838934 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Lucio Schirò
relation country of citizenship
type designation for an administrative territorial entity
['Lucio Schirò', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Lucio_Schirò property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q453278
P27
Q15617994
USER
And what about Amalio Gimeno, 1st Count of Gimeno?
(Q453278,P27,c(Q15617994))
action count
action filter_type
action find
entity Q453278
relation P27
type Q15617994
['Q453278', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q453278 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Amalio Gimeno, 1st Count of Gimeno
action count
action filter_type
action find
entity Amalio Gimeno, 1st Count of Gimeno
relation country of citizenship
type designation for an administrative territorial entity
['Amalio Gimeno, 1st Count of Gimeno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Amalio_Gimeno,_1st_Count_of_Gimeno property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q453278,P27,c(Q15617994))
action count
action filter_type
action find
entity Q453278
relation P27
type Q15617994
[ANSWER]
['Q453278', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q453278 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity Amalio Gimeno, 1st Count of Gimeno
relation country of citizenship
type designation for an administrative territorial entity
['Amalio Gimeno, 1st Count of Gimeno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Amalio_Gimeno,_1st_Count_of_Gimeno property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q11552485
Q15617994
USER
And also tell me about Oki Kenji?
(Q11552485,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11552485
relation P27
type Q15617994
['Q11552485', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q11552485 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Oki Kenji
action count
action filter_type
action find
entity Oki Kenji
relation country of citizenship
type designation for an administrative territorial entity
['Oki Kenji', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Oki_Kenji property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q11552485,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11552485
relation P27
type Q15617994
[ANSWER]
['Q11552485', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q11552485 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Oki Kenji
relation country of citizenship
type designation for an administrative territorial entity
['Oki Kenji', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Oki_Kenji property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q652
P407
Q7889
USER
Which video game was done in Italian language ?
(c(Q7889),P407,Q652)
action filter_type
action find_reverse
entity Q652
relation P407
type Q7889
[{'concept': 'Q7889'}, 'P407', 'Q652']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7889 . ?k property:P407 resource:Q652 }
Italian
action filter_type
action find_reverse
entity Italian
relation language of work or name
type video game
[{'concept': 'video game'}, 'language of work or name', 'Italian']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:video_game . ?k property:language_of_work_or_name resource:Italian }
[]
video game
Q1194064
SYSTEM
Akinator
Q1194064
(c(Q7889),P407,Q652)
action filter_type
action find_reverse
entity Q652
relation P407
type Q7889
[ANSWER] was done in Italian language
[{'concept': 'Q7889'}, 'P407', 'Q652']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7889 . ?k property:P407 resource:Q652 }
Akinator
Akinator was done in Italian language
Akinator
action filter_type
action find_reverse
entity Italian
relation language of work or name
type video game
[{'concept': 'video game'}, 'language of work or name', 'Italian']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:video_game . ?k property:language_of_work_or_name resource:Italian }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1194064
P400
Q9135
USER
What are the platforms for which that video game were developed ?
(Q1194064,P400,c(Q9135))
action filter_type
action find
entity Q1194064
relation P400
type Q9135
['Q1194064', 'P400', {'concept': 'Q9135'}]
SELECT DISTINCT ?x WHERE { resource:Q1194064 property:P400 ?x . ?x rdf:type ontology:Q9135 }
Akinator
action filter_type
action find
entity Akinator
relation platform
type operating system
['Akinator', 'platform', {'concept': 'operating system'}]
SELECT DISTINCT ?x WHERE { resource:Akinator property:platform ?x . ?x rdf:type ontology:operating_system }
[]
operating system
Q94 Q48493
SYSTEM
Android, iOS
Q94 Q48493
(Q1194064,P400,c(Q9135))
action filter_type
action find
entity Q1194064
relation P400
type Q9135
And [ANSWERS]
['Q1194064', 'P400', {'concept': 'Q9135'}]
SELECT DISTINCT ?x WHERE { resource:Q1194064 property:P400 ?x . ?x rdf:type ontology:Q9135 }
Android iOS
And Android and iOS
Android iOS
action filter_type
action find
entity Akinator
relation platform
type operating system
['Akinator', 'platform', {'concept': 'operating system'}]
SELECT DISTINCT ?x WHERE { resource:Akinator property:platform ?x . ?x rdf:type ontology:operating_system }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q63352
P400
Q7889
USER
Were Ingress released for those operating systems ?
(Q63352,P400,Q94) (Q63352,P400,Q48493)
action is_in
entity prev_answer
action find
entity Q63352
relation P400
['Q63352', 'P400', 'Q94'] ['Q63352', 'P400', 'Q48493']
ASK WHERE { resource:Q63352 property:P400 ?g . VALUES ( ?g ) { ( resource:Q94 ) ( resource:Q48493 ) } }
Ingress
action is_in
entity prev_answer
action find
entity Ingress
relation platform
['Ingress', 'platform', 'Android'] ['Ingress', 'platform', 'iOS']
ASK WHERE { resource:Ingress property:platform ?g . VALUES ( ?g ) { ( resource:Android ) ( resource:iOS ) } }
[]
video game
SYSTEM
YES
(Q63352,P400,Q94) (Q63352,P400,Q48493)
action is_in
entity prev_answer
action find
entity Q63352
relation P400
[ANSWER]
['Q63352', 'P400', 'Q94'] ['Q63352', 'P400', 'Q48493']
ASK WHERE { resource:Q63352 property:P400 ?g . VALUES ( ?g ) { ( resource:Q94 ) ( resource:Q48493 ) } }
Yes
action is_in
entity prev_answer
action find
entity Ingress
relation platform
['Ingress', 'platform', 'Android'] ['Ingress', 'platform', 'iOS']
ASK WHERE { resource:Ingress property:platform ?g . VALUES ( ?g ) { ( resource:Android ) ( resource:iOS ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1194064 Q4049347
P400
Q676202
USER
Is Shadow Defender the platform for which Akinator was developed ?
(Q1194064,P400,Q4049347)
action is_in
entity Q4049347
action find
entity Q1194064
relation P400
['Q1194064', 'P400', 'Q4049347']
ASK WHERE { resource:Q1194064 property:P400 resource:Q4049347 }
Akinator Shadow Defender
action is_in
entity Shadow Defender
action find
entity Akinator
relation platform
['Akinator', 'platform', 'Shadow Defender']
ASK WHERE { resource:Akinator property:platform resource:Shadow_Defender }
[]
system software
SYSTEM
NO
(Q1194064,P400,Q4049347)
action is_in
entity Q4049347
action find
entity Q1194064
relation P400
[ANSWER]
['Q1194064', 'P400', 'Q4049347']
ASK WHERE { resource:Q1194064 property:P400 resource:Q4049347 }
No
action is_in
entity Shadow Defender
action find
entity Akinator
relation platform
['Akinator', 'platform', 'Shadow Defender']
ASK WHERE { resource:Akinator property:platform resource:Shadow_Defender }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q519710
P1434
Q386724 Q7889
USER
Which works do the story of approximately the same number of video games take place as Masters of the Universe ?
(c(Q7889),P1434,c(Q386724))
action approx
action find_reverse_tuple_counts
relation P1434
type Q386724
type Q7889
action count
action filter_type
action find
entity Q519710
relation P1434
type Q386724
[{'concept': 'Q7889'}, 'P1434', {'concept': 'Q386724'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P1434 ?i . ?l rdf:type ontology:Q7889 . ?i rdf:type ontology:Q386724 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q519710 property:P1434 ?k . ?k rdf:type ontology:Q386724 } } . FILTER ( ?r = ?f ) }
Masters of the Universe
action approx
action find_reverse_tuple_counts
relation describes the fictional universe
type work
type video game
action count
action filter_type
action find
entity Masters of the Universe
relation describes the fictional universe
type work
[{'concept': 'video game'}, 'describes the fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:describes_the_fictional_universe ?i . ?l rdf:type ontology:video_game . ?i rdf:type ontology:work } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Masters_of_the_Universe property:describes_the_fictional_universe ?k . ?k rdf:type ontology:work } } . FILTER ( ?r = ?f ) }
[]
work video game
Q1203222 Q384426 Q11927
SYSTEM
Shrek, Pirates of the Caribbean, Stargate
Q11927 Q384426 Q519710 Q5027225 Q1203222
(c(Q7889),P1434,c(Q386724))
action approx
action find_reverse_tuple_counts
relation P1434
type Q386724
type Q7889
action count
action filter_type
action find
entity Q519710
relation P1434
type Q386724
[ANSWERS] the story of approximately the same number of video games take place as Masters of the Universe
[{'concept': 'Q7889'}, 'P1434', {'concept': 'Q386724'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P1434 ?i . ?l rdf:type ontology:Q7889 . ?i rdf:type ontology:Q386724 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q519710 property:P1434 ?k . ?k rdf:type ontology:Q386724 } } . FILTER ( ?r = ?f ) }
Stargate Pirates of the Caribbean Masters of the Universe Camp Half-Blood chronicles Shrek
Shrek, Pirates of the Caribbean and Stargate the story of approximately the same number of video games take place as Masters of the Universe
Shrek Pirates of the Caribbean Stargate
action approx
action find_reverse_tuple_counts
relation describes the fictional universe
type work
type video game
action count
action filter_type
action find
entity Masters of the Universe
relation describes the fictional universe
type work
[{'concept': 'video game'}, 'describes the fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:describes_the_fictional_universe ?i . ?l rdf:type ontology:video_game . ?i rdf:type ontology:work } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Masters_of_the_Universe property:describes_the_fictional_universe ?k . ?k rdf:type ontology:work } } . FILTER ( ?r = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q384426
P1434
Q386724 Q7889
USER
And how about Pirates of the Caribbean?
(c(Q7889),P1434,c(Q386724))
action approx
action find_reverse_tuple_counts
relation P1434
type Q386724
type Q7889
action count
action filter_type
action find
entity Q384426
relation P1434
type Q386724
[{'concept': 'Q7889'}, 'P1434', {'concept': 'Q386724'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P1434 ?h . ?h rdf:type ontology:Q386724 . ?j rdf:type ontology:Q7889 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ontology:Q386724 . resource:Q384426 property:P1434 ?t } } . FILTER ( ?i = ?v ) }
Pirates of the Caribbean
action approx
action find_reverse_tuple_counts
relation describes the fictional universe
type work
type video game
action count
action filter_type
action find
entity Pirates of the Caribbean
relation describes the fictional universe
type work
[{'concept': 'video game'}, 'describes the fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:describes_the_fictional_universe ?h . ?h rdf:type ontology:work . ?j rdf:type ontology:video_game } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ontology:work . resource:Pirates_of_the_Caribbean property:describes_the_fictional_universe ?t } } . FILTER ( ?i = ?v ) }
[]
work video game
Q1203222 Q384426 Q11927
SYSTEM
Shrek, Pirates of the Caribbean, Stargate
Q11927 Q384426 Q519710 Q5027225 Q1203222
(c(Q7889),P1434,c(Q386724))
action approx
action find_reverse_tuple_counts
relation P1434
type Q386724
type Q7889
action count
action filter_type
action find
entity Q384426
relation P1434
type Q386724
[ANSWERS]
[{'concept': 'Q7889'}, 'P1434', {'concept': 'Q386724'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P1434 ?h . ?h rdf:type ontology:Q386724 . ?j rdf:type ontology:Q7889 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ontology:Q386724 . resource:Q384426 property:P1434 ?t } } . FILTER ( ?i = ?v ) }
Stargate Pirates of the Caribbean Masters of the Universe Camp Half-Blood chronicles Shrek
Shrek Pirates of the Caribbean Stargate
action approx
action find_reverse_tuple_counts
relation describes the fictional universe
type work
type video game
action count
action filter_type
action find
entity Pirates of the Caribbean
relation describes the fictional universe
type work
[{'concept': 'video game'}, 'describes the fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:describes_the_fictional_universe ?h . ?h rdf:type ontology:work . ?j rdf:type ontology:video_game } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ontology:work . resource:Pirates_of_the_Caribbean property:describes_the_fictional_universe ?t } } . FILTER ( ?i = ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P282
Q9779 Q2001982 Q34770
USER
Which languages utilizes max number of alphabets or notations as the writing system ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?y WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } GROUP BY ?y } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?d WHERE { VALUES ( ?z ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?p rdf:type ?z } GROUP BY ?d } } }
action argmax
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?y WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:notation ) ( ontology:alphabet ) } } GROUP BY ?y } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?d WHERE { VALUES ( ?z ) { ( ontology:alphabet ) ( ontology:notation ) } . ?p rdf:type ?z } GROUP BY ?d } } }
[]
alphabet notation language
Q29572
SYSTEM
Avestan
Q29572
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
[ANSWER] utilizes max number of alphabets or notations as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?y WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } GROUP BY ?y } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?d WHERE { VALUES ( ?z ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?p rdf:type ?z } GROUP BY ?d } } }
Avestan
Avestan utilizes max number of alphabets or notations as the writing system
Avestan
action argmax
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?y WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:notation ) ( ontology:alphabet ) } } GROUP BY ?y } . FILTER ( ?j = ?a ) . { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?d WHERE { VALUES ( ?z ) { ( ontology:alphabet ) ( ontology:notation ) } . ?p rdf:type ?z } GROUP BY ?d } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q2001982 Q34770
USER
Which notations are used as the scripts for atmost 2 languages ?
(c(Q34770),P282,c(Q2001982))
action atmost
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 2
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?x <= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P282 ?z . ?z rdf:type ontology:Q2001982 . ?l rdf:type ontology:Q34770 } GROUP BY ?z } }
action atmost
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 2
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?x <= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:writing_system ?z . ?z rdf:type ontology:notation . ?l rdf:type ontology:language } GROUP BY ?z } }
[]
notation language
Q2003257 Q473725 Q1089000
SYSTEM
Cirth, Tengwar, Sarati
Q3544702 Q82772 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q1771716 Q26978 Q3322653 Q1089000 Q790681 Q752854 Q185083 Q401 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action atmost
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 2
[ANSWERS] are used as the scripts for atmost 2 languages
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?x <= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P282 ?z . ?z rdf:type ontology:Q2001982 . ?l rdf:type ontology:Q34770 } GROUP BY ?z } }
Manichaean alphabet kanji Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Pahlavi scripts Aramaic alphabet Southwest Paleohispanic script Sarati Avestan alphabet Sui script Brahmi script cuneiform Bamum script Canadian Aboriginal syllabics
Cirth, Tengwar and Sarati are used as the scripts for atmost 2 languages
Cirth Tengwar Sarati
action atmost
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 2
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?x <= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:writing_system ?z . ?z rdf:type ontology:notation . ?l rdf:type ontology:language } GROUP BY ?z } }
[]