Simple Question (Direct)
Simple Question
Q323231
P190
Q13539802
USER
Which place with town privileges is twin city of Aragona ?
(Q323231,P190,c(Q13539802))
action filter_type
action find
entity Q323231
relation P190
type Q13539802
['Q323231', 'P190', {'concept': 'Q13539802'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q13539802 . resource:Q323231 property:P190 ?x }
Aragona
action filter_type
action find
entity Aragona
relation sister city
type place with town rights and privileges
['Aragona', 'sister city', {'concept': 'place with town rights and privileges'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:place_with_town_rights_and_privileges . resource:Aragona property:sister_city ?x }
[]
place with town rights and privileges
Q211572
SYSTEM
La Louvière
Q211572
(Q323231,P190,c(Q13539802))
action filter_type
action find
entity Q323231
relation P190
type Q13539802
[ANSWER] is twin city of Aragona
['Q323231', 'P190', {'concept': 'Q13539802'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q13539802 . resource:Q323231 property:P190 ?x }
La Louvière
La Louvière is twin city of Aragona
La Louvière
action filter_type
action find
entity Aragona
relation sister city
type place with town rights and privileges
['Aragona', 'sister city', {'concept': 'place with town rights and privileges'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:place_with_town_rights_and_privileges . resource:Aragona property:sister_city ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q323231
P19
Q502895
USER
Who have location of birth at Aragona ?
(c(Q502895),P19,Q323231)
action filter_type
action find_reverse
entity Q323231
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q323231']
SELECT DISTINCT ?d WHERE { ?d property:P19 resource:Q323231 . ?d rdf:type ontology:Q502895 }
Aragona
action filter_type
action find_reverse
entity Aragona
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Aragona']
SELECT DISTINCT ?d WHERE { ?d property:place_of_birth resource:Aragona . ?d rdf:type ontology:common_name }
[]
common name
Q15961959 Q3771419
SYSTEM
Edoardo Marino, Giuseppe Scalia
Q15961959 Q3771419
(c(Q502895),P19,Q323231)
action filter_type
action find_reverse
entity Q323231
relation P19
type Q502895
[ANSWERS] have location of birth at Aragona
[{'concept': 'Q502895'}, 'P19', 'Q323231']
SELECT DISTINCT ?d WHERE { ?d property:P19 resource:Q323231 . ?d rdf:type ontology:Q502895 }
Edoardo Marino Giuseppe Scalia
Edoardo Marino and Giuseppe Scalia have location of birth at Aragona
Edoardo Marino Giuseppe Scalia
action filter_type
action find_reverse
entity Aragona
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Aragona']
SELECT DISTINCT ?d WHERE { ?d property:place_of_birth resource:Aragona . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q323231
P47
Q15617994
USER
Which administrative territories share border with Aragona ?
(c(Q15617994),P47,Q323231)
action filter_type
action find
entity Q323231
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q323231']
SELECT DISTINCT ?f WHERE { resource:Q323231 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Aragona
action filter_type
action find
entity Aragona
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Aragona']
SELECT DISTINCT ?f WHERE { resource:Aragona property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q432678 Q431446 Q431544
SYSTEM
Sant'Angelo Muxaro, Casteltermini, Favara
Q432678 Q477423 Q431674 Q432676 Q431544 Q431446 Q431568 Q431512
(c(Q15617994),P47,Q323231)
action filter_type
action find
entity Q323231
relation P47
type Q15617994
[ANSWERS] share border with Aragona
[{'concept': 'Q15617994'}, 'P47', 'Q323231']
SELECT DISTINCT ?f WHERE { resource:Q323231 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Sant'Angelo Muxaro Campofranco Joppolo Giancaxio Santa Elisabetta Favara Casteltermini Grotte Comitini
Sant'Angelo Muxaro, Casteltermini and Favara share border with Aragona
Sant'Angelo Muxaro Casteltermini Favara
action filter_type
action find
entity Aragona
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Aragona']
SELECT DISTINCT ?f WHERE { resource:Aragona property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15961959
P106
Q12737077
USER
What is the profession of Edoardo Marino ?
(Q15961959,P106,c(Q12737077))
action filter_type
action find
entity Q15961959
relation P106
type Q12737077
['Q15961959', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q15961959 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Edoardo Marino
action filter_type
action find
entity Edoardo Marino
relation occupation
type occupation
['Edoardo Marino', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Edoardo_Marino property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q15961959,P106,c(Q12737077))
action filter_type
action find
entity Q15961959
relation P106
type Q12737077
The profession of Edoardo Marino is a [ANSWER]
['Q15961959', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q15961959 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
politician
The profession of Edoardo Marino is a politician
politician
action filter_type
action find
entity Edoardo Marino
relation occupation
type occupation
['Edoardo Marino', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Edoardo_Marino property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15961959
P1412
Q34770
USER
Which language does that person speak in ?
(Q82955,P1412,c(Q34770))
action filter_type
action find
entity Q15961959
relation P1412
type Q34770
['Q82955', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q15961959 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Edoardo Marino
action filter_type
action find
entity Edoardo Marino
relation languages spoken, written or signed
type language
['politician', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Edoardo_Marino property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q82955,P1412,c(Q34770))
action filter_type
action find
entity Q15961959
relation P1412
type Q34770
That person speaks an [ANSWER]
['Q82955', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q15961959 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Italian
That person speaks an Italian
Italian
action filter_type
action find
entity Edoardo Marino
relation languages spoken, written or signed
type language
['politician', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Edoardo_Marino property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q652 Q1862265
P1412
Q502895
USER
Does Jean Miélot speak that language ?
(Q1862265,P1412,Q652)
action is_in
entity Q652
action find
entity Q1862265
relation P1412
['Q1862265', 'P1412', 'Q652']
ASK WHERE { resource:Q1862265 property:P1412 resource:Q652 }
Italian Jean Miélot
action is_in
entity Italian
action find
entity Jean Miélot
relation languages spoken, written or signed
['Jean Miélot', 'languages spoken, written or signed', 'Italian']
ASK WHERE { resource:Jean_Miélot property:languages_spoken,_written_or_signed resource:Italian }
[]
common name
SYSTEM
YES
(Q1862265,P1412,Q652)
action is_in
entity Q652
action find
entity Q1862265
relation P1412
[ANSWER]
['Q1862265', 'P1412', 'Q652']
ASK WHERE { resource:Q1862265 property:P1412 resource:Q652 }
Yes
action is_in
entity Italian
action find
entity Jean Miélot
relation languages spoken, written or signed
['Jean Miélot', 'languages spoken, written or signed', 'Italian']
ASK WHERE { resource:Jean_Miélot property:languages_spoken,_written_or_signed resource:Italian }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q652
P2439
Q502895
USER
Which person has that one as the language related to it ?
action filter_type
action find_reverse
entity Q652
relation P2439
type Q502895
SELECT DISTINCT ?h WHERE { ?h property:P2439 resource:Q652 . ?h rdf:type ontology:Q502895 }
Italian
action filter_type
action find_reverse
entity Italian
relation language
type common name
SELECT DISTINCT ?h WHERE { ?h property:language resource:Italian . ?h rdf:type ontology:common_name }
[]
common name
Q27048749
SYSTEM
Davide Anselmi
Q27048749
action filter_type
action find_reverse
entity Q652
relation P2439
type Q502895
[ANSWER] has that one as the language related to it
SELECT DISTINCT ?h WHERE { ?h property:P2439 resource:Q652 . ?h rdf:type ontology:Q502895 }
Davide Anselmi
Davide Anselmi has that one as the language related to it
Davide Anselmi
action filter_type
action find_reverse
entity Italian
relation language
type common name
SELECT DISTINCT ?h WHERE { ?h property:language resource:Italian . ?h rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11325839
P725
Q502895 Q2342494
USER
How many collectables did greater number of people dub for than No Game No Life-mart ?
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q11325839
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?h ) WHERE { ?q rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q502895 . ?q property:P725 ?m } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q11325839 property:P725 ?o . ?o rdf:type ontology:Q2342494 } } . FILTER ( ?h > ?n ) }
No Game No Life-mart
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity No Game No Life-mart
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?h ) WHERE { ?q rdf:type ontology:collectable . ?m rdf:type ontology:common_name . ?q property:voice_actor ?m } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:No_Game_No_Life-mart property:voice_actor ?o . ?o rdf:type ontology:collectable } } . FILTER ( ?h > ?n ) }
[]
common name collectable
SYSTEM
7
Q50035 Q483263 Q482870 Q1204015 Q485958 Q53351 Q5647726
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q11325839
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?h ) WHERE { ?q rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q502895 . ?q property:P725 ?m } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q11325839 property:P725 ?o . ?o rdf:type ontology:Q2342494 } } . FILTER ( ?h > ?n ) }
Nyaruko: Crawling with Love Baka and Test Boku wa Tomodachi ga Sukunai Ōkami Kakushi Ro-Kyu-Bu! Accel World Handy Manny's Motorcycle Adventure
7
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity No Game No Life-mart
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?h ) WHERE { ?q rdf:type ontology:collectable . ?m rdf:type ontology:common_name . ?q property:voice_actor ?m } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:No_Game_No_Life-mart property:voice_actor ?o . ?o rdf:type ontology:collectable } } . FILTER ( ?h > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q11272884
P725
Q502895 Q2342494
USER
And how about Toaru Hikūshi e no Koiuta?
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q11272884
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?x ) WHERE { ?a property:P725 ?q . ?a rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Q11272884 property:P725 ?h . ?h rdf:type ontology:Q2342494 } } . FILTER ( ?x > ?t ) }
Toaru Hikūshi e no Koiuta
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Toaru Hikūshi e no Koiuta
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?x ) WHERE { ?a property:voice_actor ?q . ?a rdf:type ontology:collectable . ?q rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Toaru_Hikūshi_e_no_Koiuta property:voice_actor ?h . ?h rdf:type ontology:collectable } } . FILTER ( ?x > ?t ) }
[]
common name collectable
SYSTEM
7
Q50035 Q483263 Q482870 Q1204015 Q485958 Q53351 Q5647726
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q11272884
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?x ) WHERE { ?a property:P725 ?q . ?a rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Q11272884 property:P725 ?h . ?h rdf:type ontology:Q2342494 } } . FILTER ( ?x > ?t ) }
Nyaruko: Crawling with Love Baka and Test Boku wa Tomodachi ga Sukunai Ōkami Kakushi Ro-Kyu-Bu! Accel World Handy Manny's Motorcycle Adventure
7
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Toaru Hikūshi e no Koiuta
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?x ) WHERE { ?a property:voice_actor ?q . ?a rdf:type ontology:collectable . ?q rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Toaru_Hikūshi_e_no_Koiuta property:voice_actor ?h . ?h rdf:type ontology:collectable } } . FILTER ( ?x > ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q355304 Q15617994
USER
How many administrative territories are situated close to atmost 12 waterways and watercourses ?
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 12
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } GROUP BY ?f } . FILTER ( ?e <= 12 ) }
action count
action atmost
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:waterway ) ( ontology:watercourse ) } } GROUP BY ?f } . FILTER ( ?e <= 12 ) }
[]
waterway watercourse designation for an administrative territorial entity
SYSTEM
134
Q21111 Q505785 Q104577 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q801 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q884 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q36 Q34 Q38 Q6685 Q3352704 Q252772 Q769680 Q104192 Q519663 Q2360428 Q255698 Q236 Q681329 Q1984541 Q560870 Q20 Q621469 Q28 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q516567 Q507258 Q213 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q1009 Q1438 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 12
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } GROUP BY ?f } . FILTER ( ?e <= 12 ) }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Israel Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy South Korea Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Bellagio Fischen South Bay Shillingford Yepifan Poland Sweden Italy Dorfhain Oneop Eichstätt Bornholm Kleinmachnow Kösching Tijuana Municipality Abensberg Montenegro Dümmer Niamey II Owschlag Norway Wennigsen Hungary Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kappeln Kipfenberg Czech Republic Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Cameroon Campania Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
134
action count
action atmost
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:waterway ) ( ontology:watercourse ) } } GROUP BY ?f } . FILTER ( ?e <= 12 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P425
Q3769299
USER
Which human behaviour has politician as thier associated field of occupation ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?d WHERE { resource:Q82955 property:P425 ?d . ?d rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?d WHERE { resource:politician property:field_of_this_occupation ?d . ?d rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has politician as thier associated field of occupation
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?d WHERE { resource:Q82955 property:P425 ?d . ?d rdf:type ontology:Q3769299 }
politics
Politics has politician as thier associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?d WHERE { resource:politician property:field_of_this_occupation ?d . ?d rdf:type ontology:human_behaviour }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 5620 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5620
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?n <= 5620 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5620
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?n <= 5620 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5620
[ANSWERS] can atmost 5620 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?n <= 5620 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can atmost 5620 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5620
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?n <= 5620 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q820655 Q11204
USER
How many administrative territories come under the supervision of exactly 3 statutes or legislatures ?
(c(Q820655)|c(Q11204),P1001,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
value 3
[[{'concept': 'Q820655'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { FILTER ( ?q = 3 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?p WHERE { { ?h property:P1001 ?p . ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q820655 } UNION { ?h property:P1001 ?p . ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q11204 } } GROUP BY ?p } }
action count
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
value 3
[[{'concept': 'statute'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { FILTER ( ?q = 3 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?p WHERE { { ?h property:applies_to_jurisdiction ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:statute } UNION { ?h property:applies_to_jurisdiction ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:legislature } } GROUP BY ?p } }
[]
designation for an administrative territorial entity statute legislature
SYSTEM
3
Q159 Q38 Q176
(c(Q820655)|c(Q11204),P1001,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
value 3
[ANSWER]
[[{'concept': 'Q820655'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { FILTER ( ?q = 3 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?p WHERE { { ?h property:P1001 ?p . ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q820655 } UNION { ?h property:P1001 ?p . ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q11204 } } GROUP BY ?p } }
Russia Italy Quebec
3
action count
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
value 3
[[{'concept': 'statute'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { FILTER ( ?q = 3 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?p WHERE { { ?h property:applies_to_jurisdiction ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:statute } UNION { ?h property:applies_to_jurisdiction ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:legislature } } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19512408
P276
Q56061
USER
Where is Schovenhorsterveldweg situated ?
(Q19512408,P276,c(Q56061))
action filter_type
action find
entity Q19512408
relation P276
type Q56061
['Q19512408', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q19512408 property:P276 ?s }
Schovenhorsterveldweg
action filter_type
action find
entity Schovenhorsterveldweg
relation location
type administrative territorial entity
['Schovenhorsterveldweg', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Schovenhorsterveldweg property:location ?s }
[]
administrative territorial entity
Q15881071
SYSTEM
Putten
Q15881071
(Q19512408,P276,c(Q56061))
action filter_type
action find
entity Q19512408
relation P276
type Q56061
Schovenhorsterveldweg is situated in [ANSWER]
['Q19512408', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q19512408 property:P276 ?s }
Putten
Schovenhorsterveldweg is situated in Putten
Putten
action filter_type
action find
entity Schovenhorsterveldweg
relation location
type administrative territorial entity
['Schovenhorsterveldweg', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Schovenhorsterveldweg property:location ?s }
[]