Simple Question (Direct)
Simple Question
Q65491
P106
Q12737077
USER
Which occupations have Hannes Wader as his/her 's career ?
(Q65491,P106,c(Q12737077))
action filter_type
action find
entity Q65491
relation P106
type Q12737077
['Q65491', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q65491 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Hannes Wader
action filter_type
action find
entity Hannes Wader
relation occupation
type occupation
['Hannes Wader', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Hannes_Wader property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q177220 Q36834 Q488205
SYSTEM
singer, composer, singer-songwriter
Q177220 Q36834 Q488205
(Q65491,P106,c(Q12737077))
action filter_type
action find
entity Q65491
relation P106
type Q12737077
As [ANSWERS] have Hannes Wader as his/her 's career
['Q65491', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q65491 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
singer composer singer-songwriter
As singer, composer and singer-songwriter have Hannes Wader as his/her 's career
singer composer singer-songwriter
action filter_type
action find
entity Hannes Wader
relation occupation
type occupation
['Hannes Wader', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Hannes_Wader property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q65491
P166
Q618779
USER
What was awarded to that person ?
(Q177220,P166,c(Q618779)) (Q36834,P166,c(Q618779)) (Q488205,P166,c(Q618779))
action filter_type
action find
entity Q65491
relation P166
type Q618779
['Q177220', 'P166', {'concept': 'Q618779'}] ['Q36834', 'P166', {'concept': 'Q618779'}] ['Q488205', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { resource:Q65491 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Hannes Wader
action filter_type
action find
entity Hannes Wader
relation award received
type award
['singer', 'award received', {'concept': 'award'}] ['composer', 'award received', {'concept': 'award'}] ['singer-songwriter', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { resource:Hannes_Wader property:award_received ?d . ?d rdf:type ontology:award }
[]
award
Q1247848
SYSTEM
Ruth Music Award
Q1247848
(Q177220,P166,c(Q618779)) (Q36834,P166,c(Q618779)) (Q488205,P166,c(Q618779))
action filter_type
action find
entity Q65491
relation P166
type Q618779
[ANSWER] was awarded to that person
['Q177220', 'P166', {'concept': 'Q618779'}] ['Q36834', 'P166', {'concept': 'Q618779'}] ['Q488205', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { resource:Q65491 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Ruth Music Award
Ruth Music Award was awarded to that person
Ruth Music Award
action filter_type
action find
entity Hannes Wader
relation award received
type award
['singer', 'award received', {'concept': 'award'}] ['composer', 'award received', {'concept': 'award'}] ['singer-songwriter', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { resource:Hannes_Wader property:award_received ?d . ?d rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q65491
P264
Q334453
USER
Who sponsored the recoding of that person ?
(Q1247848,P264,c(Q334453))
action filter_type
action find
entity Q65491
relation P264
type Q334453
['Q1247848', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q65491 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Hannes Wader
action filter_type
action find
entity Hannes Wader
relation record label
type division
['Ruth Music Award', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Hannes_Wader property:record_label ?v . ?v rdf:type ontology:division }
[]
division
Q165745
SYSTEM
Mercury Records
Q165745
(Q1247848,P264,c(Q334453))
action filter_type
action find
entity Q65491
relation P264
type Q334453
[ANSWER] sponsored the recoding of that person
['Q1247848', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q65491 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Mercury Records
Mercury Records sponsored the recoding of that person
Mercury Records
action filter_type
action find
entity Hannes Wader
relation record label
type division
['Ruth Music Award', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:Hannes_Wader property:record_label ?v . ?v rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q65491
P175
Q7725634
USER
Which literary work presented Hannes Wader ?
(c(Q7725634),P175,Q65491)
action filter_type
action find_reverse
entity Q65491
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q65491']
SELECT DISTINCT ?b WHERE { ?b property:P175 resource:Q65491 . ?b rdf:type ontology:Q7725634 }
Hannes Wader
action filter_type
action find_reverse
entity Hannes Wader
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Hannes Wader']
SELECT DISTINCT ?b WHERE { ?b property:performer resource:Hannes_Wader . ?b rdf:type ontology:literary_work }
[]
literary work
Q1406041
SYSTEM
Heute hier, morgen dort
Q1406041
(c(Q7725634),P175,Q65491)
action filter_type
action find_reverse
entity Q65491
relation P175
type Q7725634
[ANSWER] presented Hannes Wader
[{'concept': 'Q7725634'}, 'P175', 'Q65491']
SELECT DISTINCT ?b WHERE { ?b property:P175 resource:Q65491 . ?b rdf:type ontology:Q7725634 }
Heute hier, morgen dort
Heute hier, morgen dort presented Hannes Wader
Heute hier, morgen dort
action filter_type
action find_reverse
entity Hannes Wader
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Hannes Wader']
SELECT DISTINCT ?b WHERE { ?b property:performer resource:Hannes_Wader . ?b rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1406041
P495
Q1048835
USER
What is the country of origin of that literary work ?
(Q1406041,P495,c(Q1048835))
action filter_type
action find
entity Q1406041
relation P495
type Q1048835
['Q1406041', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q1406041 property:P495 ?y . ?y rdf:type ontology:Q1048835 }
Heute hier, morgen dort
action filter_type
action find
entity Heute hier, morgen dort
relation country of origin
type political territorial entity
['Heute hier, morgen dort', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Heute_hier,_morgen_dort property:country_of_origin ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1406041,P495,c(Q1048835))
action filter_type
action find
entity Q1406041
relation P495
type Q1048835
The country of origin of that literary work is in [ANSWER]
['Q1406041', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q1406041 property:P495 ?y . ?y rdf:type ontology:Q1048835 }
Germany
The country of origin of that literary work is in Germany
Germany
action filter_type
action find
entity Heute hier, morgen dort
relation country of origin
type political territorial entity
['Heute hier, morgen dort', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Heute_hier,_morgen_dort property:country_of_origin ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q950889
P706
Q15324 Q2221906 Q1048835
USER
Which political territories are located in around the same number of bodies of water and geographic locations as Consell ?
(c(Q1048835),P706,c(Q15324)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_multi_types
action find
entity Q950889
relation P706
type Q15324
type Q2221906
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?v WHERE { { ?v property:P706 ?p . ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15324 } UNION { ?v property:P706 ?p . ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q2221906 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q950889 property:P706 ?j . { { ?j rdf:type ontology:Q15324 } UNION { ?j rdf:type ontology:Q2221906 } } } } . FILTER ( ?l = ?d ) }
Consell
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_multi_types
action find
entity Consell
relation located on terrain feature
type body of water
type geographic location
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?v WHERE { { ?v property:located_on_terrain_feature ?p . ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:body_of_water } UNION { ?v property:located_on_terrain_feature ?p . ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:geographic_location } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Consell property:located_on_terrain_feature ?j . { { ?j rdf:type ontology:body_of_water } UNION { ?j rdf:type ontology:geographic_location } } } } . FILTER ( ?l = ?d ) }
[]
body of water geographic location political territorial entity
Q691 Q769 Q785
SYSTEM
Papua New Guinea, Grenada, Jersey
Q927498 Q6661154 Q1747689 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q847324 Q785 Q847321 Q850989 Q983467 Q743716 Q734805 Q904566 Q555140 Q983463 Q13737 Q493017 Q42314 Q950940 Q669078 Q851224 Q898856 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q3405693 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q202023 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q8583 Q652988 Q832967 Q185409 Q769 Q984485 Q983625 Q983628 Q8593 Q656449 Q988688 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q988696 Q943948 Q697126 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q15324)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_multi_types
action find
entity Q950889
relation P706
type Q15324
type Q2221906
[ANSWERS] are located in around the same number of bodies of water and geographic locations as Consell
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?v WHERE { { ?v property:P706 ?p . ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15324 } UNION { ?v property:P706 ?p . ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q2221906 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q950889 property:P706 ?j . { { ?j rdf:type ontology:Q15324 } UNION { ?j rdf:type ontology:Q2221906 } } } } . FILTER ( ?l = ?d ) }
Llucmajor Llanddeusant, Carmarthenshire Ancient Rome Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Alaior Jersey Esporles Campanet Montuïri Campos Sant Antoni de Portmany Brecqhou Capileira Sant Llorenç des Cardassar Basilan Andratx Channel Islands Marratxí Maria de la Salut Costitx Jethou Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Sark Pistyll Sóller Biliran Bohol Vilafranca de Bonany Pollença Selva Felanitx Lloret de Vistalegre Blaenau Gwent County Borough Es Castell Ses Salines Sant Joan Alaró Estellencs Sé Porreres Algaida Aceh Leyte Petra, Majorca Deià Herm Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Vulkaneifel Búger Valldemossa Llubí Grenada Es Migjorn Gran Puigpunyent Sant Joan de Labritja Mayen-Koblenz Ariany, Majorca Inca Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog Flemish Region Mancor de la Vall Santa Maria del Camí Bridgend County Borough Banyalbufar Son Servera Capdepera
Papua New Guinea, Grenada and Jersey are located in around the same number of bodies of water and geographic locations as Consell
Papua New Guinea Grenada Jersey
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_multi_types
action find
entity Consell
relation located on terrain feature
type body of water
type geographic location
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?v WHERE { { ?v property:located_on_terrain_feature ?p . ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:body_of_water } UNION { ?v property:located_on_terrain_feature ?p . ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:geographic_location } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Consell property:located_on_terrain_feature ?j . { { ?j rdf:type ontology:body_of_water } UNION { ?j rdf:type ontology:geographic_location } } } } . FILTER ( ?l = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q983461
P706
Q15324 Q2221906 Q1048835
USER
And also tell me about Ferreries?
(c(Q1048835),P706,c(Q15324)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_multi_types
action find
entity Q983461
relation P706
type Q15324
type Q2221906
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?k WHERE { { ?k property:P706 ?h . ?k rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15324 } UNION { ?k property:P706 ?h . ?k rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q2221906 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { ?o rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2221906 ) ( ontology:Q15324 ) } } . resource:Q983461 property:P706 ?o } } . FILTER ( ?l = ?q ) }
Ferreries
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_multi_types
action find
entity Ferreries
relation located on terrain feature
type body of water
type geographic location
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?k WHERE { { ?k property:located_on_terrain_feature ?h . ?k rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:body_of_water } UNION { ?k property:located_on_terrain_feature ?h . ?k rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:geographic_location } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { ?o rdf:type ?w . VALUES ( ?w ) { ( ontology:geographic_location ) ( ontology:body_of_water ) } } . resource:Ferreries property:located_on_terrain_feature ?o } } . FILTER ( ?l = ?q ) }
[]
body of water geographic location political territorial entity
Q691 Q769 Q785
SYSTEM
Papua New Guinea, Grenada, Jersey
Q927498 Q6661154 Q1747689 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q847324 Q785 Q847321 Q850989 Q983467 Q743716 Q734805 Q904566 Q555140 Q983463 Q13737 Q493017 Q42314 Q950940 Q669078 Q851224 Q898856 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q3405693 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q202023 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q8583 Q652988 Q832967 Q185409 Q769 Q984485 Q983625 Q983628 Q8593 Q656449 Q988688 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q988696 Q943948 Q697126 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q15324)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_multi_types
action find
entity Q983461
relation P706
type Q15324
type Q2221906
[ANSWERS]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?k WHERE { { ?k property:P706 ?h . ?k rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15324 } UNION { ?k property:P706 ?h . ?k rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q2221906 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { ?o rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2221906 ) ( ontology:Q15324 ) } } . resource:Q983461 property:P706 ?o } } . FILTER ( ?l = ?q ) }
Llucmajor Llanddeusant, Carmarthenshire Ancient Rome Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Alaior Jersey Esporles Campanet Montuïri Campos Sant Antoni de Portmany Brecqhou Capileira Sant Llorenç des Cardassar Basilan Andratx Channel Islands Marratxí Maria de la Salut Costitx Jethou Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Sark Pistyll Sóller Biliran Bohol Vilafranca de Bonany Pollença Selva Felanitx Lloret de Vistalegre Blaenau Gwent County Borough Es Castell Ses Salines Sant Joan Alaró Estellencs Sé Porreres Algaida Aceh Leyte Petra, Majorca Deià Herm Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Vulkaneifel Búger Valldemossa Llubí Grenada Es Migjorn Gran Puigpunyent Sant Joan de Labritja Mayen-Koblenz Ariany, Majorca Inca Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog Flemish Region Mancor de la Vall Santa Maria del Camí Bridgend County Borough Banyalbufar Son Servera Capdepera
Papua New Guinea Grenada Jersey
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_multi_types
action find
entity Ferreries
relation located on terrain feature
type body of water
type geographic location
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?k WHERE { { ?k property:located_on_terrain_feature ?h . ?k rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:body_of_water } UNION { ?k property:located_on_terrain_feature ?h . ?k rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:geographic_location } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { ?o rdf:type ?w . VALUES ( ?w ) { ( ontology:geographic_location ) ( ontology:body_of_water ) } } . resource:Ferreries property:located_on_terrain_feature ?o } } . FILTER ( ?l = ?q ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q65491
P676
Q7725634
USER
How many literary works have their lyrics written by Hannes Wader ?
(c(Q7725634),P676,Q65491)
action count
action filter_type
action find_reverse
entity Q65491
relation P676
type Q7725634
[{'concept': 'Q7725634'}, 'P676', 'Q65491']
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:Q7725634 . ?c property:P676 resource:Q65491 }
Hannes Wader
action count
action filter_type
action find_reverse
entity Hannes Wader
relation lyrics by
type literary work
[{'concept': 'literary work'}, 'lyrics by', 'Hannes Wader']
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:literary_work . ?c property:lyrics_by resource:Hannes_Wader }
[]
literary work
SYSTEM
1
Q1406041
(c(Q7725634),P676,Q65491)
action count
action filter_type
action find_reverse
entity Q65491
relation P676
type Q7725634
[ANSWER]
[{'concept': 'Q7725634'}, 'P676', 'Q65491']
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:Q7725634 . ?c property:P676 resource:Q65491 }
Heute hier, morgen dort
1
action count
action filter_type
action find_reverse
entity Hannes Wader
relation lyrics by
type literary work
[{'concept': 'literary work'}, 'lyrics by', 'Hannes Wader']
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:literary_work . ?c property:lyrics_by resource:Hannes_Wader }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q65491
P102
Q7278
USER
Which political party is that person a member of ?
action filter_type
action find
entity Q65491
relation P102
type Q7278
SELECT DISTINCT ?m WHERE { resource:Q65491 property:P102 ?m . ?m rdf:type ontology:Q7278 }
Hannes Wader
action filter_type
action find
entity Hannes Wader
relation member of political party
type political party
SELECT DISTINCT ?m WHERE { resource:Hannes_Wader property:member_of_political_party ?m . ?m rdf:type ontology:political_party }
[]
political party
Q148861
SYSTEM
German Communist Party
Q148861
action filter_type
action find
entity Q65491
relation P102
type Q7278
The [ANSWER] is that person a member of
SELECT DISTINCT ?m WHERE { resource:Q65491 property:P102 ?m . ?m rdf:type ontology:Q7278 }
German Communist Party
The German Communist Party is that person a member of
German Communist Party
action filter_type
action find
entity Hannes Wader
relation member of political party
type political party
SELECT DISTINCT ?m WHERE { resource:Hannes_Wader property:member_of_political_party ?m . ?m rdf:type ontology:political_party }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q15430862 Q65491
P102
Q7278
USER
Or Heinrich Brandes?
OR((Q65491,P102,c(Q7278)), (Q15430862,P102,c(Q7278)))
action filter_type
action union
action find
entity Q65491
relation P102
action find
entity Q15430862
relation P102
type Q7278
{'OR': [['Q65491', 'P102', {'concept': 'Q7278'}], ['Q15430862', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?h ) { ( resource:Q65491 ) ( resource:Q15430862 ) } . ?h property:P102 ?x } . ?x rdf:type ontology:Q7278 }
Heinrich Brandes Hannes Wader
action filter_type
action union
action find
entity Hannes Wader
relation member of political party
action find
entity Heinrich Brandes
relation member of political party
type political party
{'OR': [['Hannes Wader', 'member of political party', {'concept': 'political party'}], ['Heinrich Brandes', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?h ) { ( resource:Hannes_Wader ) ( resource:Heinrich_Brandes ) } . ?h property:member_of_political_party ?x } . ?x rdf:type ontology:political_party }
[]
political party
Q49750 Q49768 Q153401 Q148861
SYSTEM
Socialist Unity Party of Germany, Social Democratic Party of Germany, Communist Party of Germany, German Communist Party
Q49750 Q49768 Q153401 Q148861
OR((Q65491,P102,c(Q7278)), (Q15430862,P102,c(Q7278)))
action filter_type
action union
action find
entity Q65491
relation P102
action find
entity Q15430862
relation P102
type Q7278
[ANSWERS]
{'OR': [['Q65491', 'P102', {'concept': 'Q7278'}], ['Q15430862', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?h ) { ( resource:Q65491 ) ( resource:Q15430862 ) } . ?h property:P102 ?x } . ?x rdf:type ontology:Q7278 }
Socialist Unity Party of Germany Social Democratic Party of Germany Communist Party of Germany German Communist Party
Socialist Unity Party of Germany Social Democratic Party of Germany Communist Party of Germany German Communist Party
action filter_type
action union
action find
entity Hannes Wader
relation member of political party
action find
entity Heinrich Brandes
relation member of political party
type political party
{'OR': [['Hannes Wader', 'member of political party', {'concept': 'political party'}], ['Heinrich Brandes', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?h ) { ( resource:Hannes_Wader ) ( resource:Heinrich_Brandes ) } . ?h property:member_of_political_party ?x } . ?x rdf:type ontology:political_party }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q82955 Q983461
P19 P106
Q502895
USER
Which people have birthplace at Ferreries and have a job as politician ?
AND((c(Q502895),P19,Q983461), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q983461
relation P19
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q983461'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?t WHERE { ?t property:P19 resource:Q983461 . ?t property:P106 resource:Q82955 . ?t rdf:type ontology:Q502895 }
politician Ferreries
action filter_type
action intersection
action find_reverse
entity Ferreries
relation place of birth
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Ferreries'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?t WHERE { ?t property:place_of_birth resource:Ferreries . ?t property:occupation resource:politician . ?t rdf:type ontology:common_name }
[]
common name
Q11906132 Q11927747
SYSTEM
Antònia Allès i Pons, Joan Huguet i Rotger
Q11906132 Q11927747
AND((c(Q502895),P19,Q983461), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q983461
relation P19
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWERS] have birthplace at Ferreries and have a job as politician
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q983461'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?t WHERE { ?t property:P19 resource:Q983461 . ?t property:P106 resource:Q82955 . ?t rdf:type ontology:Q502895 }
Antònia Allès i Pons Joan Huguet i Rotger
Antònia Allès i Pons and Joan Huguet i Rotger have birthplace at Ferreries and have a job as politician
Antònia Allès i Pons Joan Huguet i Rotger
action filter_type
action intersection
action find_reverse
entity Ferreries
relation place of birth
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Ferreries'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?t WHERE { ?t property:place_of_birth resource:Ferreries . ?t property:occupation resource:politician . ?t rdf:type ontology:common_name }
[]