Simple Question (Direct)
Simple Question
Q5575648
P22
Q502895
USER
Who was the dad of Ture Bielke ?
(Q5575648,P22,c(Q502895))
action filter_type
action find
entity Q5575648
relation P22
type Q502895
['Q5575648', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q5575648 property:P22 ?u }
Ture Bielke
action filter_type
action find
entity Ture Bielke
relation father
type common name
['Ture Bielke', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Ture_Bielke property:father ?u }
[]
common name
Q5575626
SYSTEM
Peder Turesson
Q5575626
(Q5575648,P22,c(Q502895))
action filter_type
action find
entity Q5575648
relation P22
type Q502895
The dad of Ture Bielke was the [ANSWER]
['Q5575648', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q5575648 property:P22 ?u }
Peder Turesson
The dad of Ture Bielke was the Peder Turesson
Peder Turesson
action filter_type
action find
entity Ture Bielke
relation father
type common name
['Ture Bielke', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Ture_Bielke property:father ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5575626
P7
Q502895
USER
Which person is the brother of that one ?
(Q5575626,P7,c(Q502895))
action filter_type
action find
entity Q5575626
relation P7
type Q502895
['Q5575626', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q5575626 property:P7 ?s }
Peder Turesson
action filter_type
action find
entity Peder Turesson
relation brother
type common name
['Peder Turesson', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Peder_Turesson property:brother ?s }
[]
common name
Q4412522
SYSTEM
Eric Bielke
Q4412522
(Q5575626,P7,c(Q502895))
action filter_type
action find
entity Q5575626
relation P7
type Q502895
[ANSWER] is the brother of that one
['Q5575626', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q5575626 property:P7 ?s }
Eric Bielke
Eric Bielke is the brother of that one
Eric Bielke
action filter_type
action find
entity Peder Turesson
relation brother
type common name
['Peder Turesson', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Peder_Turesson property:brother ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q442756 Q5575626
P7
Q502895
USER
Or Archduke Rainer Joseph of Austria?
OR((Q5575626,P7,c(Q502895)), (Q442756,P7,c(Q502895)))
action filter_type
action union
action find
entity Q5575626
relation P7
action find
entity Q442756
relation P7
type Q502895
{'OR': [['Q5575626', 'P7', {'concept': 'Q502895'}], ['Q442756', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q5575626 property:P7 ?k } UNION { resource:Q442756 property:P7 ?k } } . ?k rdf:type ontology:Q502895 }
Archduke Rainer Joseph of Austria Peder Turesson
action filter_type
action union
action find
entity Peder Turesson
relation brother
action find
entity Archduke Rainer Joseph of Austria
relation brother
type common name
{'OR': [['Peder Turesson', 'brother', {'concept': 'common name'}], ['Archduke Rainer Joseph of Austria', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Peder_Turesson property:brother ?k } UNION { resource:Archduke_Rainer_Joseph_of_Austria property:brother ?k } } . ?k rdf:type ontology:common_name }
[]
common name
Q595088 Q93427 Q4412522 Q84201 Q319764 Q130834 Q93373 Q111975 Q309605 Q701087
SYSTEM
Archduke Anton Victor of Austria, Archduke John of Austria, Eric Bielke, Archduke Charles, Duke of Teschen, Archduke Joseph, Palatine of Hungary, Francis I of Austria, Archduke Rudolf of Austria, Archduke Louis of Austria, Ferdinand III, Grand Duke of Tuscany, Archduke Alexander Leopold of Austria
Q595088 Q93427 Q4412522 Q84201 Q319764 Q130834 Q93373 Q111975 Q309605 Q701087
OR((Q5575626,P7,c(Q502895)), (Q442756,P7,c(Q502895)))
action filter_type
action union
action find
entity Q5575626
relation P7
action find
entity Q442756
relation P7
type Q502895
[ANSWERS]
{'OR': [['Q5575626', 'P7', {'concept': 'Q502895'}], ['Q442756', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q5575626 property:P7 ?k } UNION { resource:Q442756 property:P7 ?k } } . ?k rdf:type ontology:Q502895 }
Archduke Anton Victor of Austria Archduke John of Austria Eric Bielke Archduke Charles, Duke of Teschen Archduke Joseph, Palatine of Hungary Francis I of Austria Archduke Rudolf of Austria Archduke Louis of Austria Ferdinand III, Grand Duke of Tuscany Archduke Alexander Leopold of Austria
Archduke Anton Victor of Austria Archduke John of Austria Eric Bielke Archduke Charles, Duke of Teschen Archduke Joseph, Palatine of Hungary Francis I of Austria Archduke Rudolf of Austria Archduke Louis of Austria Ferdinand III, Grand Duke of Tuscany Archduke Alexander Leopold of Austria
action filter_type
action union
action find
entity Peder Turesson
relation brother
action find
entity Archduke Rainer Joseph of Austria
relation brother
type common name
{'OR': [['Peder Turesson', 'brother', {'concept': 'common name'}], ['Archduke Rainer Joseph of Austria', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Peder_Turesson property:brother ?k } UNION { resource:Archduke_Rainer_Joseph_of_Austria property:brother ?k } } . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?n } } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?n } } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?n } } }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?n } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5994 Q114908
P1303
Q502895
USER
Does Thilo Wolf play that musical instrument ?
(Q114908,P1303,Q5994)
action is_in
entity Q5994
action find
entity Q114908
relation P1303
['Q114908', 'P1303', 'Q5994']
ASK WHERE { resource:Q114908 property:P1303 resource:Q5994 }
piano Thilo Wolf
action is_in
entity piano
action find
entity Thilo Wolf
relation instrument
['Thilo Wolf', 'instrument', 'piano']
ASK WHERE { resource:Thilo_Wolf property:instrument resource:piano }
[]
common name
SYSTEM
YES
(Q114908,P1303,Q5994)
action is_in
entity Q5994
action find
entity Q114908
relation P1303
[ANSWER]
['Q114908', 'P1303', 'Q5994']
ASK WHERE { resource:Q114908 property:P1303 resource:Q5994 }
Yes
action is_in
entity piano
action find
entity Thilo Wolf
relation instrument
['Thilo Wolf', 'instrument', 'piano']
ASK WHERE { resource:Thilo_Wolf property:instrument resource:piano }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q309605 Q12470661
P26
Q502895
USER
Is Acil Bimbo the life partner of Ferdinand III, Grand Duke of Tuscany ?
(Q309605,P26,Q12470661)
action is_in
entity Q12470661
action find
entity Q309605
relation P26
['Q309605', 'P26', 'Q12470661']
ASK WHERE { resource:Q309605 property:P26 resource:Q12470661 }
Ferdinand III, Grand Duke of Tuscany Acil Bimbo
action is_in
entity Acil Bimbo
action find
entity Ferdinand III, Grand Duke of Tuscany
relation spouse
['Ferdinand III, Grand Duke of Tuscany', 'spouse', 'Acil Bimbo']
ASK WHERE { resource:Ferdinand_III,_Grand_Duke_of_Tuscany property:spouse resource:Acil_Bimbo }
[]
common name
SYSTEM
NO
(Q309605,P26,Q12470661)
action is_in
entity Q12470661
action find
entity Q309605
relation P26
[ANSWER]
['Q309605', 'P26', 'Q12470661']
ASK WHERE { resource:Q309605 property:P26 resource:Q12470661 }
No
action is_in
entity Acil Bimbo
action find
entity Ferdinand III, Grand Duke of Tuscany
relation spouse
['Ferdinand III, Grand Duke of Tuscany', 'spouse', 'Acil Bimbo']
ASK WHERE { resource:Ferdinand_III,_Grand_Duke_of_Tuscany property:spouse resource:Acil_Bimbo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5575626 Q34
P27
Q15617994
USER
Is Peder Turesson an inhabitant of Sweden ?
(Q5575626,P27,Q34)
action is_in
entity Q34
action find
entity Q5575626
relation P27
['Q5575626', 'P27', 'Q34']
ASK WHERE { resource:Q5575626 property:P27 resource:Q34 }
Peder Turesson Sweden
action is_in
entity Sweden
action find
entity Peder Turesson
relation country of citizenship
['Peder Turesson', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Peder_Turesson property:country_of_citizenship resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5575626,P27,Q34)
action is_in
entity Q34
action find
entity Q5575626
relation P27
[ANSWER]
['Q5575626', 'P27', 'Q34']
ASK WHERE { resource:Q5575626 property:P27 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Peder Turesson
relation country of citizenship
['Peder Turesson', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Peder_Turesson property:country_of_citizenship resource:Sweden }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q5575648
P21 P7
Q502895
USER
Which people had Ture Bielke as brother and are a male ?
AND((c(Q502895),P7,Q5575648), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5575648
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q5575648'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P7 resource:Q5575648 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
male Ture Bielke
action filter_type
action intersection
action find_reverse
entity Ture Bielke
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Ture Bielke'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:brother resource:Ture_Bielke . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]
common name
Q5575615
SYSTEM
Nils Pedersson Bielke
Q5575615
AND((c(Q502895),P7,Q5575648), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5575648
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] had Ture Bielke as brother and are a male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q5575648'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P7 resource:Q5575648 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
Nils Pedersson Bielke
Nils Pedersson Bielke had Ture Bielke as brother and are a male
Nils Pedersson Bielke
action filter_type
action intersection
action find_reverse
entity Ture Bielke
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Ture Bielke'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:brother resource:Ture_Bielke . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works had their voice dubbing done by min number of people ?
(c(Q386724),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?b ) WHERE { ?c property:P725 ?e . ?c rdf:type ontology:Q386724 . ?e rdf:type ontology:Q502895 } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?i ) WHERE { ?l rdf:type ontology:Q386724 . ?n rdf:type ontology:Q502895 . ?l property:P725 ?n } GROUP BY ?l } . FILTER ( ?i = ?u ) }
action argmin
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?b ) WHERE { ?c property:voice_actor ?e . ?c rdf:type ontology:work . ?e rdf:type ontology:common_name } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?i ) WHERE { ?l rdf:type ontology:work . ?n rdf:type ontology:common_name . ?l property:voice_actor ?n } GROUP BY ?l } . FILTER ( ?i = ?u ) }
[]
common name work
Q10864091
SYSTEM
Isshūkan Friends
Q10864091
(c(Q386724),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q386724
type Q502895
[ANSWER] had their voice dubbing done by min number of people
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?b ) WHERE { ?c property:P725 ?e . ?c rdf:type ontology:Q386724 . ?e rdf:type ontology:Q502895 } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?i ) WHERE { ?l rdf:type ontology:Q386724 . ?n rdf:type ontology:Q502895 . ?l property:P725 ?n } GROUP BY ?l } . FILTER ( ?i = ?u ) }
Isshūkan Friends
Isshūkan Friends had their voice dubbing done by min number of people
Isshūkan Friends
action argmin
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?b ) WHERE { ?c property:voice_actor ?e . ?c rdf:type ontology:work . ?e rdf:type ontology:common_name } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?i ) WHERE { ?l rdf:type ontology:work . ?n rdf:type ontology:common_name . ?l property:voice_actor ?n } GROUP BY ?l } . FILTER ( ?i = ?u ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10864091 Q6007207
P800
Q502895
USER
Is Mauro Rubira accredited with being the author of the notable work that one ?
(Q6007207,P800,Q10864091)
action is_in
entity Q6007207
action find
entity Q10864091
relation P800
['Q6007207', 'P800', 'Q10864091']
ASK WHERE { resource:Q10864091 property:P800 resource:Q6007207 }
Isshūkan Friends Mauro Rubira
action is_in
entity Mauro Rubira
action find
entity Isshūkan Friends
relation notable work
['Mauro Rubira', 'notable work', 'Isshūkan Friends']
ASK WHERE { resource:Isshūkan_Friends property:notable_work resource:Mauro_Rubira }
[]
common name
SYSTEM
NO
(Q6007207,P800,Q10864091)
action is_in
entity Q6007207
action find
entity Q10864091
relation P800
[ANSWER]
['Q6007207', 'P800', 'Q10864091']
ASK WHERE { resource:Q10864091 property:P800 resource:Q6007207 }
No
action is_in
entity Mauro Rubira
action find
entity Isshūkan Friends
relation notable work
['Mauro Rubira', 'notable work', 'Isshūkan Friends']
ASK WHERE { resource:Isshūkan_Friends property:notable_work resource:Mauro_Rubira }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q10864091 Q2692467
P449
Q4830453
USER
How many business enterprises were Isshūkan Friends or Jane Doe originally aired ?
(Q10864091,P449,c(Q4830453)) (Q2692467,P449,c(Q4830453))
action count
action union
action filter_type
action find
entity Q10864091
relation P449
type Q4830453
action filter_type
action find
entity Q2692467
relation P449
type Q4830453
['Q10864091', 'P449', {'concept': 'Q4830453'}] ['Q2692467', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { ?d rdf:type ontology:Q4830453 . resource:Q10864091 property:P449 ?d } UNION { resource:Q2692467 property:P449 ?d . ?d rdf:type ontology:Q4830453 } }
Isshūkan Friends Jane Doe
action count
action union
action filter_type
action find
entity Isshūkan Friends
relation original network
type business enterprise
action filter_type
action find
entity Jane Doe
relation original network
type business enterprise
['Isshūkan Friends', 'original network', {'concept': 'business enterprise'}] ['Jane Doe', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { ?d rdf:type ontology:business_enterprise . resource:Isshūkan_Friends property:original_network ?d } UNION { resource:Jane_Doe property:original_network ?d . ?d rdf:type ontology:business_enterprise } }
[]
business enterprise
SYSTEM
5
Q298702 Q1331921 Q641746 Q115146 Q1324062
(Q10864091,P449,c(Q4830453)) (Q2692467,P449,c(Q4830453))
action count
action union
action filter_type
action find
entity Q10864091
relation P449
type Q4830453
action filter_type
action find
entity Q2692467
relation P449
type Q4830453
[ANSWER]
['Q10864091', 'P449', {'concept': 'Q4830453'}] ['Q2692467', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { ?d rdf:type ontology:Q4830453 . resource:Q10864091 property:P449 ?d } UNION { resource:Q2692467 property:P449 ?d . ?d rdf:type ontology:Q4830453 } }
AT-X Mainichi Broadcasting System Hallmark Channel Tokyo Metropolitan Television Television Aichi Broadcasting
5
action count
action union
action filter_type
action find
entity Isshūkan Friends
relation original network
type business enterprise
action filter_type
action find
entity Jane Doe
relation original network
type business enterprise
['Isshūkan Friends', 'original network', {'concept': 'business enterprise'}] ['Jane Doe', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { ?d rdf:type ontology:business_enterprise . resource:Isshūkan_Friends property:original_network ?d } UNION { resource:Jane_Doe property:original_network ?d . ?d rdf:type ontology:business_enterprise } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P655
Q502895 Q571 Q2342494
USER
How many people translated approximately 1 books or collectables ?
(c(Q571)|c(Q2342494),P655,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
value 1
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } . ?h rdf:type ?q } GROUP BY ?m } . FILTER ( ?p = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type collectable
value 1
[[{'concept': 'book'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:book ) ( ontology:collectable ) } . ?h rdf:type ?q } GROUP BY ?m } . FILTER ( ?p = 1 ) }
[]
common name book collectable
SYSTEM
271
Q15485966 Q473257 Q1365246 Q15627070 Q16735829 Q2484224 Q6319456 Q4008356 Q8073032 Q15829932 Q25907346 Q11691375 Q166103 Q4776346 Q15058303 Q3893579 Q1236766 Q22122640 Q5075584 Q432129 Q152513 Q1204764 Q2834417 Q551916 Q315387 Q3002899 Q2034058 Q21163187 Q2342303 Q21198589 Q12022141 Q1670314 Q3778505 Q6106473 Q5592425 Q15830175 Q2426358 Q3770083 Q5783562 Q20604202 Q19558763 Q2741209 Q5344871 Q14624816 Q11938435 Q173893 Q15730505 Q1286996 Q18674564 Q6221743 Q537725 Q13986461 Q3838677 Q18533819 Q24270955 Q6204963 Q70350 Q18194528 Q1261943 Q18117902 Q700638 Q16681666 Q1146330 Q767 Q18910540 Q157324 Q23016360 Q4230831 Q1677683 Q705464 Q736808 Q12022556 Q2306330 Q10859105 Q326565 Q12021951 Q117818 Q19795189 Q3089751 Q3435434 Q3480886 Q14624850 Q14624853 Q12347931 Q18911125 Q20741641 Q5083101 Q7781731 Q18911831 Q194797 Q1903409 Q6555626 Q15631816 Q15676151 Q18036076 Q15845503 Q15980965 Q18197548 Q15730888 Q7833 Q17778060 Q24249650 Q23704781 Q15929708 Q312948 Q2712746 Q1284903 Q16941315 Q16616102 Q15831362 Q17741205 Q3136056 Q16707897 Q15732079 Q18912159 Q5338555 Q3732317 Q2362727 Q466373 Q708769 Q1091668 Q4858769 Q25916882 Q16012057 Q15640119 Q13007 Q4374157 Q6830502 Q12044092 Q5407336 Q213355 Q373633 Q11226970 Q298051 Q1257744 Q5389664 Q7781676 Q12032593 Q26696385 Q3194039 Q2850611 Q1680343 Q10854209 Q16726245 Q5591211 Q24732882 Q12348796 Q1583808 Q12026167 Q993835 Q20880602 Q16943920 Q22666574 Q16913148 Q3103347 Q711132 Q2636383 Q1911436 Q18916411 Q6239771 Q7199 Q21163211 Q11466035 Q18533685 Q7792959 Q17373543 Q2714672 Q1142551 Q17566028 Q11336703 Q1959637 Q255184 Q7791545 Q27645 Q18912520 Q5331522 Q2830584 Q501 Q22666406 Q203952 Q4668814 Q4953082 Q18507214 Q14624887 Q6226858 Q21694397 Q12016878 Q1294115 Q12348348 Q1968214 Q4961807 Q503276 Q3370615 Q24208183 Q229646 Q1673390 Q18114942 Q8051334 Q9251137 Q14624870 Q6759575 Q8010766 Q5388510 Q483709 Q5076781 Q3616238 Q3272933 Q18298305 Q199588 Q6218266 Q97143 Q15635663 Q18115292 Q26696413 Q2022 Q3261864 Q22670 Q16735603 Q4722337 Q125967 Q1705960 Q21993674 Q5211406 Q21121436 Q1040724 Q15635808 Q173481 Q311145 Q151720 Q16944173 Q3849024 Q435584 Q566194 Q15830067 Q3076750 Q3570545 Q15731156 Q18912322 Q16395252 Q3707130 Q22323820 Q505466 Q5363930 Q15131988 Q2468579 Q23238000 Q356011 Q1077843 Q12355898 Q15286413 Q3308207 Q3361811 Q182905 Q4647667 Q17362913 Q3257803 Q15732879 Q15830142 Q4887959 Q166234 Q3014293 Q26468059 Q2158925 Q6965815 Q18547740 Q9066286 Q332462 Q18674559 Q2960080 Q4771483 Q187818
(c(Q571)|c(Q2342494),P655,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
value 1
[ANSWER]
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } . ?h rdf:type ?q } GROUP BY ?m } . FILTER ( ?p = 1 ) }
Jay P. Green George Coșbuc Vatslav Vorovsky Agnes Kinloch Kingston Harris Rackham Victor Bérard Jyotirindranath Tagore Valter Juva Zlatoje Martinov August Radimský J. Huston McCulloch Mary Ann Newman Étienne Lamotte Antonina W. Bouis Peter Kilduff Vilho Setälä Ippolito Pindemonte David Fernbach Charles Bertram Viktor Rydberg Henry Wadsworth Longfellow Whittaker Chambers Alexis-François Artaud De Montor Jaume Grau Casas Frank P. Ramsey Cristoforo Armeno V. V. Adoratsky William Alexander McDevitte Gregory Rabassa William James Hickie Ivo Železný Jeffrey Herf Robin Flower J. Martin Holman Graeme Wilson Jan Šafránek Thomas Nugent Giuseppe Bedeschi Conrad Roure Seán Ó Coileáin Lucian Hobart Ryland Téodor de Wyzewa Edward Plumptre Barbara Mooyaart-Doubleday Vratislav Kazimír Šembera John Wycliffe Isĥak Muĉnik Edmund Yard Robbins Lewis Gidley John Bertram Phillips David Bellos Čeněk Ibl Luciano Parinetto Alexandre Ular Zuzana Talířová Joan Copjec Karl Joseph Simrock Henry Arthur Deuteros Phillips Karel Bohuš Kober Édouard Sommer Eugène Burnouf Ulysse-François-Ange de Séguier Karl Heinz Bolay Stéphane Mallarmé Edward Philip Coleridge François Guizot M. L. McClure Konisi Masutaro Jacob de Haas Masuji Ibuse John Sydenham Furnivall Jan Hejčl Philip Henry Wicksteed Augustin Eugen Mužík Rudolf Dvořák Ivan Krestanov Jean Barbeyrac Basanta Koomar Roy Frédéric Delebecque Robert Hurley Lewis Campbell Tylia Caren Suzanne Lombard Fran Janjić Eva Margaret Martin John P. O'Neill Charles Valentine Le Grice Theodore Chickering Williams Mary Arms Edmonds Joscelyn Godwin Martin Beheim-Schwarzbach Lionel Elvin José Pedro Xavier Pinheiro Gaetano Barbieri Antoni Robert Stanisławski Anne Busnel Maude Ashurst Biggs Émile Durand-Gréville Oskar Frode Boris Vian Jože Debevec Jan Dolenský George Burnham Ives Sylvie d'Avigdor William Carey Arthur John Arberry Kurt Wagenseil Léon Sorg Pauline Westdahl Václav Kredba Carlo Rusconi Hippolyte Fauche Anja Hegemann Alexandra Mexin Miriam Singleton Knight Edith Grossman Ernesto Ragazzoni Alexandre Langlois Pekka Ervast Jean-Antoine Dubois Clara Bell Barbara Bray Julien François William Garcin Paull Franklin Baum Frederick Paul Walter Lidia Zamenhof Vladimir Posse Michael Gallagher Pavel J. Šulc Eugene H. Peterson John Dryden Stanislas Julien Henrik Seppik Julien Gracq Ortensio Lando Erkin Vohidov Theodore Alois Buckley Ladislav Quis Itala Castellini Katherine Prescott Wormeley Anna Swanwick James Elroy Flecker Antonín Škoda Alfred Roussel Steven T. Byington Hynek Jaroslav Mejsnar Hendrik Coenraad Mees Hansi Bochow-Blüthgen Josef Jiří Stankovský Otokar Fischer David Rosenberg Augustus Taber Murray Petr Miklica Ludwig von Schönfeldt Georges Pillement Gerard van Swieten Richard Howard Maurice Rollinat Stanley Corngold John Hookham Frere Marcel Proust W. S. Bohn Atsuko Yamashita Jules Besse Thomas P. Whitney Jacek Giszczak Alessandro Marchetti James Strang Michèle Zachayus Henry Adams Bellows N. O. Scarpi Lucy, Lady Duff-Gordon Thomas Kingsmill Abbott Mikhail Bakunin Frederick Colin Tilney Ebba Segerberg Alan Sheridan Charles Baudelaire Eva Nevrlá Antoine de Rivarol Abraham Coles Walborg Hedberg Sarah Elizabeth Utterson Arrigo de Vita John Conington Angelika Shafir František Alois Hora Tomislav Dretar Grenkamp Nikolay Khokhlov Breon Mitchell Charles Kay Ogden Paul Benoit Antonín Liška G. E. M. Anscombe Isaac Goldberg Yann Forget Yei Theodora Ozaki Edward Porębowicz María Isabel Iglesias Margaret Jull Costa William Hamilton Fyfe Erik Brate Yakub Kolas Charles DeKay Andreu Febrer Edward Seidensticker John Meiklejohn Carlo Collodi John Addison Porter Frederick Philip Grove Carol Della Chiesa William Little Hughes Natalia Rosi Cesare Pavese Louis Fabulet Friedrich Schiller Gisela Drohla Alfred Birnbaum Fritz Vogelgsang Josef Václav Sládek Vincent Roudaut Dallas Seavey George Thornley Carl Streckfuß Paul Artur Eugen Andrae Fernando Pessoa Joaquim Maria Machado de Assis Ken Liu Charles Lett Feltoe Mario Rapisardi Samuil Marshak Anneliese Schütz František Tropp Helen Craig McCullough Xan Fielding Andreo Fiŝer Thomas Bailey Saunders Bo Pu Diego Angeli Noëlla Kim Idries Shah Elizur Wright Käthe Roth Mikhail Larionovitch Mikhailov Geoffrey Montague Cookson Richard Claverhouse Jebb Abdullah Yusuf Ali Tiberiu Morariu Chikako Narita Michael Friedländer Pamphile LeMay Georgi Plekhanov A. D. Godley Giorgio Baratta Lodovico Domenichi Léon Bergiers Jan J. Benešovský-Veselý Gustav Antonio Gjessing Ugo Foscolo Daniel Lauzon Josef Snášel Robert Sutherland Rattray Nares Chandra Sen-Gupta Iuliu Cezar Săvescu Ramon Folch i Camarasa Ivan Franko Csillag Imre Charles Rabot Anthea Bell John Eliot
271
action count
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type collectable
value 1
[[{'concept': 'book'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:book ) ( ontology:collectable ) } . ?h rdf:type ?q } GROUP BY ?m } . FILTER ( ?p = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P674
Q502895 Q166142 Q7725634
USER
Which people plays a role in max number of applications and literary works ?
(c(Q166142)|c(Q7725634),P674,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q166142
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
[[{'concept': 'Q166142'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?c ) { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:Q166142 ) ( ontology:Q7725634 ) } } GROUP BY ?n } } . { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ontology:Q7725634 . ?z rdf:type ontology:Q502895 . ?h property:P674 ?z } UNION { ?h property:P674 ?z . ?z rdf:type ontology:Q502895 . ?h rdf:type ontology:Q166142 } } GROUP BY ?z } . FILTER ( ?s = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation characters
type common name
type application
action find_reverse_tuple_counts
relation characters
type common name
type literary work
[[{'concept': 'application'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?c ) { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:application ) ( ontology:literary_work ) } } GROUP BY ?n } } . { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ontology:literary_work . ?z rdf:type ontology:common_name . ?h property:characters ?z } UNION { ?h property:characters ?z . ?z rdf:type ontology:common_name . ?h rdf:type ontology:application } } GROUP BY ?z } . FILTER ( ?s = ?c ) }
[]
common name application literary work
Q193660 Q39259 Q144622
SYSTEM
Ramon Llull, Recep Tayyip Erdoğan, Phil Collins
Q2458567 Q207535 Q8462 Q638973 Q109860 Q144622 Q106077 Q193660 Q360798 Q39259
(c(Q166142)|c(Q7725634),P674,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q166142
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
[ANSWERS] play a role in max number of applications and literary works
[[{'concept': 'Q166142'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?c ) { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:Q166142 ) ( ontology:Q7725634 ) } } GROUP BY ?n } } . { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ontology:Q7725634 . ?z rdf:type ontology:Q502895 . ?h property:P674 ?z } UNION { ?h property:P674 ?z . ?z rdf:type ontology:Q502895 . ?h rdf:type ontology:Q166142 } } GROUP BY ?z } . FILTER ( ?s = ?c ) }
François Bonivard Roland Timur Leofric, Earl of Mercia Dagobert I Phil Collins Lady Godiva Ramon Llull Saint Eligius Recep Tayyip Erdoğan
Ramon Llull, Recep Tayyip Erdoğan and Phil Collins play a role in max number of applications and literary works
Ramon Llull Recep Tayyip Erdoğan Phil Collins
action argmax
action union
action find_reverse_tuple_counts
relation characters
type common name
type application
action find_reverse_tuple_counts
relation characters
type common name
type literary work
[[{'concept': 'application'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?c ) { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:application ) ( ontology:literary_work ) } } GROUP BY ?n } } . { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?s ) WHERE { { ?h rdf:type ontology:literary_work . ?z rdf:type ontology:common_name . ?h property:characters ?z } UNION { ?h property:characters ?z . ?z rdf:type ontology:common_name . ?h rdf:type ontology:application } } GROUP BY ?z } . FILTER ( ?s = ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2286372 Q5575626
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Peder Turesson or Derk Willem Gerard Johan Hendrik Brantsen van de Zijp ?
OR((Q5575626,P27,c(Q15617994)), (Q2286372,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5575626
relation P27
action find
entity Q2286372
relation P27
type Q15617994
{'OR': [['Q5575626', 'P27', {'concept': 'Q15617994'}], ['Q2286372', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q5575626 property:P27 ?p } UNION { resource:Q2286372 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Derk Willem Gerard Johan Hendrik Brantsen van de Zijp Peder Turesson
action filter_type
action union
action find
entity Peder Turesson
relation country of citizenship
action find
entity Derk Willem Gerard Johan Hendrik Brantsen van de Zijp
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Peder Turesson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Derk Willem Gerard Johan Hendrik Brantsen van de Zijp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Peder_Turesson property:country_of_citizenship ?p } UNION { resource:Derk_Willem_Gerard_Johan_Hendrik_Brantsen_van_de_Zijp property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q34
SYSTEM
Netherlands, Sweden
Q55 Q34
OR((Q5575626,P27,c(Q15617994)), (Q2286372,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5575626
relation P27
action find
entity Q2286372
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Peder Turesson or Derk Willem Gerard Johan Hendrik Brantsen van de Zijp
{'OR': [['Q5575626', 'P27', {'concept': 'Q15617994'}], ['Q2286372', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q5575626 property:P27 ?p } UNION { resource:Q2286372 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Netherlands Sweden
Netherlands and Sweden are the countries of citizenship of Peder Turesson or Derk Willem Gerard Johan Hendrik Brantsen van de Zijp
Netherlands Sweden
action filter_type
action union
action find
entity Peder Turesson
relation country of citizenship
action find
entity Derk Willem Gerard Johan Hendrik Brantsen van de Zijp
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Peder Turesson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Derk Willem Gerard Johan Hendrik Brantsen van de Zijp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Peder_Turesson property:country_of_citizenship ?p } UNION { resource:Derk_Willem_Gerard_Johan_Hendrik_Brantsen_van_de_Zijp property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]