Simple Question (Direct)
Simple Question
Q1297877
P641
Q349
USER
Which sport did Marko Klok participate in ?
(Q1297877,P641,c(Q349))
action filter_type
action find
entity Q1297877
relation P641
type Q349
['Q1297877', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q1297877 property:P641 ?m . ?m rdf:type ontology:Q349 }
Marko Klok
action filter_type
action find
entity Marko Klok
relation sport
type sport
['Marko Klok', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Marko_Klok property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q1734
SYSTEM
volleyball
Q1734
(Q1297877,P641,c(Q349))
action filter_type
action find
entity Q1297877
relation P641
type Q349
Marko Klok participated in [ANSWER]
['Q1297877', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q1297877 property:P641 ?m . ?m rdf:type ontology:Q349 }
volleyball
Marko Klok participated in volleyball
volleyball
action filter_type
action find
entity Marko Klok
relation sport
type sport
['Marko Klok', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Marko_Klok property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1297877
P27
Q15617994
USER
Which administrative territory is Marko Klok an inhabitant of ?
(Q1297877,P27,c(Q15617994))
action filter_type
action find
entity Q1297877
relation P27
type Q15617994
['Q1297877', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1297877 property:P27 ?h }
Marko Klok
action filter_type
action find
entity Marko Klok
relation country of citizenship
type designation for an administrative territorial entity
['Marko Klok', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marko_Klok property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q1297877,P27,c(Q15617994))
action filter_type
action find
entity Q1297877
relation P27
type Q15617994
[ANSWER] is Marko Klok an inhabitant of
['Q1297877', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1297877 property:P27 ?h }
Kingdom of the Netherlands
Kingdom of the Netherlands is Marko Klok an inhabitant of
Kingdom of the Netherlands
action filter_type
action find
entity Marko Klok
relation country of citizenship
type designation for an administrative territorial entity
['Marko Klok', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marko_Klok property:country_of_citizenship ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18419173
Q15617994
USER
And how about Julio Camino Sánchez?
(Q18419173,P27,c(Q15617994))
action filter_type
action find
entity Q18419173
relation P27
type Q15617994
['Q18419173', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q18419173 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Julio Camino Sánchez
action filter_type
action find
entity Julio Camino Sánchez
relation country of citizenship
type designation for an administrative territorial entity
['Julio Camino Sánchez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Julio_Camino_Sánchez property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419
SYSTEM
Peru
Q419
(Q18419173,P27,c(Q15617994))
action filter_type
action find
entity Q18419173
relation P27
type Q15617994
[ANSWER]
['Q18419173', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q18419173 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Peru
Peru
action filter_type
action find
entity Julio Camino Sánchez
relation country of citizenship
type designation for an administrative territorial entity
['Julio Camino Sánchez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Julio_Camino_Sánchez property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q180684 Q484652
USER
How many conflicts and international organizations were that administrative territory a member of ?
(Q419,P463,c(Q180684)) (Q419,P463,c(Q484652)) (Q419,P463,c(Q180684)) (Q419,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q419
relation P463
type Q180684
action filter_type
action find
entity Q419
relation P463
type Q484652
['Q419', 'P463', {'concept': 'Q180684'}] ['Q419', 'P463', {'concept': 'Q484652'}] ['Q419', 'P463', {'concept': 'Q180684'}] ['Q419', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { resource:Q419 property:P463 ?i . ?i rdf:type ontology:Q484652 } UNION { ?i rdf:type ontology:Q180684 . resource:Q419 property:P463 ?i } }
action count
action union
action filter_type
action find
entity Peru
relation member of
type conflict
action filter_type
action find
entity Peru
relation member of
type international organization
['Peru', 'member of', {'concept': 'conflict'}] ['Peru', 'member of', {'concept': 'international organization'}] ['Peru', 'member of', {'concept': 'conflict'}] ['Peru', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { resource:Peru property:member_of ?i . ?i rdf:type ontology:international_organization } UNION { ?i rdf:type ontology:conflict . resource:Peru property:member_of ?i } }
[]
conflict international organization
SYSTEM
1 conflicts and 4 international organizations
Q384535 Q471690 Q1065 Q4230 Q1043527
(Q419,P463,c(Q180684)) (Q419,P463,c(Q484652)) (Q419,P463,c(Q180684)) (Q419,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q419
relation P463
type Q180684
action filter_type
action find
entity Q419
relation P463
type Q484652
[ANSWER]
['Q419', 'P463', {'concept': 'Q180684'}] ['Q419', 'P463', {'concept': 'Q484652'}] ['Q419', 'P463', {'concept': 'Q180684'}] ['Q419', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { resource:Q419 property:P463 ?i . ?i rdf:type ontology:Q484652 } UNION { ?i rdf:type ontology:Q180684 . resource:Q419 property:P463 ?i } }
African Union – United Nations Hybrid Operation in Darfur Andean Community of Nations United Nations Union of South American Nations Multilateral Investment Guarantee Agency
1 conflicts and 4 international organizations
action count
action union
action filter_type
action find
entity Peru
relation member of
type conflict
action filter_type
action find
entity Peru
relation member of
type international organization
['Peru', 'member of', {'concept': 'conflict'}] ['Peru', 'member of', {'concept': 'international organization'}] ['Peru', 'member of', {'concept': 'conflict'}] ['Peru', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { resource:Peru property:member_of ?i . ?i rdf:type ontology:international_organization } UNION { ?i rdf:type ontology:conflict . resource:Peru property:member_of ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419
P163
Q14660
USER
What is associated with Peru ?
(Q419,P163,c(Q14660))
action filter_type
action find
entity Q419
relation P163
type Q14660
['Q419', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { resource:Q419 property:P163 ?r . ?r rdf:type ontology:Q14660 }
Peru
action filter_type
action find
entity Peru
relation flag
type flag
['Peru', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { resource:Peru property:flag ?r . ?r rdf:type ontology:flag }
[]
flag
Q160255
SYSTEM
flag of Peru
Q160255
(Q419,P163,c(Q14660))
action filter_type
action find
entity Q419
relation P163
type Q14660
War [ANSWER] is associated with Peru
['Q419', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { resource:Q419 property:P163 ?r . ?r rdf:type ontology:Q14660 }
flag of Peru
War flag of Peru is associated with Peru
flag of Peru
action filter_type
action find
entity Peru
relation flag
type flag
['Peru', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { resource:Peru property:flag ?r . ?r rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419
P291
Q838948
USER
Which work of art has Peru as its publication location ?
(c(Q838948),P291,Q419)
action filter_type
action find_reverse
entity Q419
relation P291
type Q838948
[{'concept': 'Q838948'}, 'P291', 'Q419']
SELECT DISTINCT ?c WHERE { ?c property:P291 resource:Q419 . ?c rdf:type ontology:Q838948 }
Peru
action filter_type
action find_reverse
entity Peru
relation place of publication
type work of art
[{'concept': 'work of art'}, 'place of publication', 'Peru']
SELECT DISTINCT ?c WHERE { ?c property:place_of_publication resource:Peru . ?c rdf:type ontology:work_of_art }
[]
work of art
Q19863009
SYSTEM
Asu Mare 2
Q19863009
(c(Q838948),P291,Q419)
action filter_type
action find_reverse
entity Q419
relation P291
type Q838948
[ANSWER] has Peru as its publication location
[{'concept': 'Q838948'}, 'P291', 'Q419']
SELECT DISTINCT ?c WHERE { ?c property:P291 resource:Q419 . ?c rdf:type ontology:Q838948 }
Asu Mare 2
Asu Mare 2 has Peru as its publication location
Asu Mare 2
action filter_type
action find_reverse
entity Peru
relation place of publication
type work of art
[{'concept': 'work of art'}, 'place of publication', 'Peru']
SELECT DISTINCT ?c WHERE { ?c property:place_of_publication resource:Peru . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19863009
P58
Q502895
USER
Which person wrote the script for that work of art ?
(Q19863009,P58,c(Q502895))
action filter_type
action find
entity Q19863009
relation P58
type Q502895
['Q19863009', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q19863009 property:P58 ?l . ?l rdf:type ontology:Q502895 }
Asu Mare 2
action filter_type
action find
entity Asu Mare 2
relation screenwriter
type common name
['Asu Mare 2', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Asu_Mare_2 property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
common name
Q749146
SYSTEM
Carlos Alcántara
Q749146
(Q19863009,P58,c(Q502895))
action filter_type
action find
entity Q19863009
relation P58
type Q502895
[ANSWER] wrote the script for that work of art
['Q19863009', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q19863009 property:P58 ?l . ?l rdf:type ontology:Q502895 }
Carlos Alcántara
Carlos Alcántara wrote the script for that work of art
Carlos Alcántara
action filter_type
action find
entity Asu Mare 2
relation screenwriter
type common name
['Asu Mare 2', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Asu_Mare_2 property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q749146 Q244700 Q3930
P641
Q349
USER
Is that person associated with playing Ultimate and table tennis ?
(Q749146,P641,Q244700) (Q749146,P641,Q3930)
action is_in
entity Q749146
action intersection
action find_reverse
entity Q244700
relation P641
action find_reverse
entity Q3930
relation P641
['Q749146', 'P641', 'Q244700'] ['Q749146', 'P641', 'Q3930']
ASK WHERE { resource:Q749146 property:P641 resource:Q244700 . resource:Q749146 property:P641 resource:Q3930 }
Carlos Alcántara Ultimate table tennis
action is_in
entity Carlos Alcántara
action intersection
action find_reverse
entity Ultimate
relation sport
action find_reverse
entity table tennis
relation sport
['Carlos Alcántara', 'sport', 'Ultimate'] ['Carlos Alcántara', 'sport', 'table tennis']
ASK WHERE { resource:Carlos_Alcántara property:sport resource:Ultimate . resource:Carlos_Alcántara property:sport resource:table_tennis }
[]
sport
SYSTEM
NO
(Q749146,P641,Q244700) (Q749146,P641,Q3930)
action is_in
entity Q749146
action intersection
action find_reverse
entity Q244700
relation P641
action find_reverse
entity Q3930
relation P641
[ANSWER]
['Q749146', 'P641', 'Q244700'] ['Q749146', 'P641', 'Q3930']
ASK WHERE { resource:Q749146 property:P641 resource:Q244700 . resource:Q749146 property:P641 resource:Q3930 }
No
action is_in
entity Carlos Alcántara
action intersection
action find_reverse
entity Ultimate
relation sport
action find_reverse
entity table tennis
relation sport
['Carlos Alcántara', 'sport', 'Ultimate'] ['Carlos Alcántara', 'sport', 'table tennis']
ASK WHERE { resource:Carlos_Alcántara property:sport resource:Ultimate . resource:Carlos_Alcántara property:sport resource:table_tennis }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q15533942 Q19863009
P495 P183
Q15617994
USER
Which administrative territories are the countries of origin of Asu Mare 2 and are Solanum ayacuchense native to ?
AND((Q19863009,P495,c(Q15617994)), (Q15533942,P183,c(Q15617994)))
action filter_type
action intersection
action find
entity Q19863009
relation P495
action find
entity Q15533942
relation P183
type Q15617994
{'AND': [['Q19863009', 'P495', {'concept': 'Q15617994'}], ['Q15533942', 'P183', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q19863009 property:P495 ?g . resource:Q15533942 property:P183 ?g . ?g rdf:type ontology:Q15617994 }
Solanum ayacuchense Asu Mare 2
action filter_type
action intersection
action find
entity Asu Mare 2
relation country of origin
action find
entity Solanum ayacuchense
relation endemic to
type designation for an administrative territorial entity
{'AND': [['Asu Mare 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Solanum ayacuchense', 'endemic to', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Asu_Mare_2 property:country_of_origin ?g . resource:Solanum_ayacuchense property:endemic_to ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419
SYSTEM
Peru
Q419
AND((Q19863009,P495,c(Q15617994)), (Q15533942,P183,c(Q15617994)))
action filter_type
action intersection
action find
entity Q19863009
relation P495
action find
entity Q15533942
relation P183
type Q15617994
[ANSWER] is the countries of origin of Asu Mare 2 and is Solanum ayacuchense native to
{'AND': [['Q19863009', 'P495', {'concept': 'Q15617994'}], ['Q15533942', 'P183', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q19863009 property:P495 ?g . resource:Q15533942 property:P183 ?g . ?g rdf:type ontology:Q15617994 }
Peru
Peru is the countries of origin of Asu Mare 2 and is Solanum ayacuchense native to
Peru
action filter_type
action intersection
action find
entity Asu Mare 2
relation country of origin
action find
entity Solanum ayacuchense
relation endemic to
type designation for an administrative territorial entity
{'AND': [['Asu Mare 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Solanum ayacuchense', 'endemic to', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Asu_Mare_2 property:country_of_origin ?g . resource:Solanum_ayacuchense property:endemic_to ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q419 Q5592566
P530
Q15617994
USER
Does Grafton School District have diplomatic relations with Peru ?
(Q419,P530,Q5592566)
action is_in
entity Q5592566
action find
entity Q419
relation P530
['Q419', 'P530', 'Q5592566']
ASK WHERE { resource:Q419 property:P530 resource:Q5592566 }
Peru Grafton School District
action is_in
entity Grafton School District
action find
entity Peru
relation diplomatic relation
['Peru', 'diplomatic relation', 'Grafton School District']
ASK WHERE { resource:Peru property:diplomatic_relation resource:Grafton_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q419,P530,Q5592566)
action is_in
entity Q5592566
action find
entity Q419
relation P530
[ANSWER]
['Q419', 'P530', 'Q5592566']
ASK WHERE { resource:Q419 property:P530 resource:Q5592566 }
No
action is_in
entity Grafton School District
action find
entity Peru
relation diplomatic relation
['Peru', 'diplomatic relation', 'Grafton School District']
ASK WHERE { resource:Peru property:diplomatic_relation resource:Grafton_School_District }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q96438 Q1297877
P19
Q486972
USER
Which human settlements are the places of birth of Marko Klok or Carl Kaiserling ?
OR((Q1297877,P19,c(Q486972)), (Q96438,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1297877
relation P19
action find
entity Q96438
relation P19
type Q486972
{'OR': [['Q1297877', 'P19', {'concept': 'Q486972'}], ['Q96438', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1297877 property:P19 ?s } UNION { resource:Q96438 property:P19 ?s } } . ?s rdf:type ontology:Q486972 }
Carl Kaiserling Marko Klok
action filter_type
action union
action find
entity Marko Klok
relation place of birth
action find
entity Carl Kaiserling
relation place of birth
type human settlement
{'OR': [['Marko Klok', 'place of birth', {'concept': 'human settlement'}], ['Carl Kaiserling', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Marko_Klok property:place_of_birth ?s } UNION { resource:Carl_Kaiserling property:place_of_birth ?s } } . ?s rdf:type ontology:human_settlement }
[]
human settlement
Q81276 Q2554431
SYSTEM
Monnickendam, Wehlheiden
Q81276 Q2554431
OR((Q1297877,P19,c(Q486972)), (Q96438,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1297877
relation P19
action find
entity Q96438
relation P19
type Q486972
[ANSWERS] are the places of birth of Marko Klok or Carl Kaiserling
{'OR': [['Q1297877', 'P19', {'concept': 'Q486972'}], ['Q96438', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1297877 property:P19 ?s } UNION { resource:Q96438 property:P19 ?s } } . ?s rdf:type ontology:Q486972 }
Monnickendam Wehlheiden
Monnickendam and Wehlheiden are the places of birth of Marko Klok or Carl Kaiserling
Monnickendam Wehlheiden
action filter_type
action union
action find
entity Marko Klok
relation place of birth
action find
entity Carl Kaiserling
relation place of birth
type human settlement
{'OR': [['Marko Klok', 'place of birth', {'concept': 'human settlement'}], ['Carl Kaiserling', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Marko_Klok property:place_of_birth ?s } UNION { resource:Carl_Kaiserling property:place_of_birth ?s } } . ?s rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5118448 Q81276
P19
Q502895
USER
Which people have birthplace at Monnickendam or Chwalibożyce ?
OR((c(Q502895),P19,Q81276), (c(Q502895),P19,Q5118448))
action filter_type
action union
action find_reverse
entity Q81276
relation P19
action find_reverse
entity Q5118448
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q81276'], [{'concept': 'Q502895'}, 'P19', 'Q5118448']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P19 resource:Q81276 } UNION { ?w property:P19 resource:Q5118448 } } . ?w rdf:type ontology:Q502895 }
Chwalibożyce Monnickendam
action filter_type
action union
action find_reverse
entity Monnickendam
relation place of birth
action find_reverse
entity Chwalibożyce
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Monnickendam'], [{'concept': 'common name'}, 'place of birth', 'Chwalibożyce']]}
SELECT DISTINCT ?w WHERE { { { ?w property:place_of_birth resource:Monnickendam } UNION { ?w property:place_of_birth resource:Chwalibożyce } } . ?w rdf:type ontology:common_name }
[]
common name
Q15874203 Q10323599 Q1297877 Q2642835
SYSTEM
Damon Mirani, Manfred Beutner, Marko Klok, Alexander Petrus Nahuys
Q15874203 Q10323599 Q1297877 Q2642835
OR((c(Q502895),P19,Q81276), (c(Q502895),P19,Q5118448))
action filter_type
action union
action find_reverse
entity Q81276
relation P19
action find_reverse
entity Q5118448
relation P19
type Q502895
[ANSWERS] have birthplace at Monnickendam or Chwalibożyce
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q81276'], [{'concept': 'Q502895'}, 'P19', 'Q5118448']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P19 resource:Q81276 } UNION { ?w property:P19 resource:Q5118448 } } . ?w rdf:type ontology:Q502895 }
Damon Mirani Manfred Beutner Marko Klok Alexander Petrus Nahuys
Damon Mirani, Manfred Beutner, Marko Klok and Alexander Petrus Nahuys have birthplace at Monnickendam or Chwalibożyce
Damon Mirani Manfred Beutner Marko Klok Alexander Petrus Nahuys
action filter_type
action union
action find_reverse
entity Monnickendam
relation place of birth
action find_reverse
entity Chwalibożyce
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Monnickendam'], [{'concept': 'common name'}, 'place of birth', 'Chwalibożyce']]}
SELECT DISTINCT ?w WHERE { { { ?w property:place_of_birth resource:Monnickendam } UNION { ?w property:place_of_birth resource:Chwalibożyce } } . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 4198 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4198
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P1303 ?y . ?i rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?d <= 4198 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4198
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:instrument ?y . ?i rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?d <= 4198 ) }
[]
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 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 4198
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P1303 ?y . ?i rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?d <= 4198 ) }
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 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
Which musical instruments can atmost 4198 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4198
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:instrument ?y . ?i rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?d <= 4198 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q386724
USER
How many works express exactly 2 musical instruments ?
(c(Q386724),P180,c(Q34379))
action count
action equal
action find_tuple_counts
relation P180
type Q386724
type Q34379
value 2
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?e ) WHERE { ?n property:P180 ?q . ?n rdf:type ontology:Q386724 . ?q rdf:type ontology:Q34379 } GROUP BY ?n } . FILTER ( ?e = 2 ) }
action count
action equal
action find_tuple_counts
relation depicts
type work
type musical instrument
value 2
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?e ) WHERE { ?n property:depicts ?q . ?n rdf:type ontology:work . ?q rdf:type ontology:musical_instrument } GROUP BY ?n } . FILTER ( ?e = 2 ) }
[]
musical instrument work
SYSTEM
1
Q2901063
(c(Q386724),P180,c(Q34379))
action count
action equal
action find_tuple_counts
relation P180
type Q386724
type Q34379
value 2
[ANSWER]
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?e ) WHERE { ?n property:P180 ?q . ?n rdf:type ontology:Q386724 . ?q rdf:type ontology:Q34379 } GROUP BY ?n } . FILTER ( ?e = 2 ) }
Borghese Vase
1
action count
action equal
action find_tuple_counts
relation depicts
type work
type musical instrument
value 2
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?e ) WHERE { ?n property:depicts ?q . ?n rdf:type ontology:work . ?q rdf:type ontology:musical_instrument } GROUP BY ?n } . FILTER ( ?e = 2 ) }
[]