Simple Question (Direct)
Simple Question
Q99582
P19
Q515
USER
Which city was Hermann Rietschel born at ?
(Q99582,P19,c(Q515))
action filter_type
action find
entity Q99582
relation P19
type Q515
['Q99582', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q99582 property:P19 ?d . ?d rdf:type ontology:Q515 }
Hermann Rietschel
action filter_type
action find
entity Hermann Rietschel
relation place of birth
type city
['Hermann Rietschel', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Hermann_Rietschel property:place_of_birth ?d . ?d rdf:type ontology:city }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q99582,P19,c(Q515))
action filter_type
action find
entity Q99582
relation P19
type Q515
Hermann Rietschel was born in [ANSWER]
['Q99582', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q99582 property:P19 ?d . ?d rdf:type ontology:Q515 }
Dresden
Hermann Rietschel was born in Dresden
Dresden
action filter_type
action find
entity Hermann Rietschel
relation place of birth
type city
['Hermann Rietschel', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Hermann_Rietschel property:place_of_birth ?d . ?d rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1731
P361
Q515
USER
Which city is that one a component of ?
(Q1731,P361,c(Q515))
action filter_type
action find
entity Q1731
relation P361
type Q515
['Q1731', 'P361', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q1731 property:P361 ?w . ?w rdf:type ontology:Q515 }
Dresden
action filter_type
action find
entity Dresden
relation part of
type city
['Dresden', 'part of', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Dresden property:part_of ?w . ?w rdf:type ontology:city }
[]
city
Q805366
SYSTEM
conurbation Dresden
Q805366
(Q1731,P361,c(Q515))
action filter_type
action find
entity Q1731
relation P361
type Q515
[ANSWER] is that one a component of
['Q1731', 'P361', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q1731 property:P361 ?w . ?w rdf:type ontology:Q515 }
conurbation Dresden
Conurbation Dresden is that one a component of
conurbation Dresden
action filter_type
action find
entity Dresden
relation part of
type city
['Dresden', 'part of', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Dresden property:part_of ?w . ?w rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q805366
P17
Q1048835
USER
Which political territory is that city situated in ?
(Q805366,P17,c(Q1048835))
action filter_type
action find
entity Q805366
relation P17
type Q1048835
['Q805366', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q805366 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
conurbation Dresden
action filter_type
action find
entity conurbation Dresden
relation country
type political territorial entity
['conurbation Dresden', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:conurbation_Dresden property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q805366,P17,c(Q1048835))
action filter_type
action find
entity Q805366
relation P17
type Q1048835
That city is situated in [ANSWER]
['Q805366', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q805366 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
Germany
That city is situated in Germany
Germany
action filter_type
action find
entity conurbation Dresden
relation country
type political territorial entity
['conurbation Dresden', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:conurbation_Dresden property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P159
Q28640 Q874405
USER
How many professions and social groups have HQ at Germany ?
(c(Q28640),P159,Q183) (c(Q874405),P159,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P159
type Q28640
action filter_type
action find_reverse
entity Q183
relation P159
type Q874405
[{'concept': 'Q28640'}, 'P159', 'Q183'] [{'concept': 'Q874405'}, 'P159', 'Q183']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P159 resource:Q183 . ?o rdf:type ontology:Q28640 } UNION { ?o property:P159 resource:Q183 . ?o rdf:type ontology:Q874405 } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation headquarters location
type profession
action filter_type
action find_reverse
entity Germany
relation headquarters location
type social group
[{'concept': 'profession'}, 'headquarters location', 'Germany'] [{'concept': 'social group'}, 'headquarters location', 'Germany']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:headquarters_location resource:Germany . ?o rdf:type ontology:profession } UNION { ?o property:headquarters_location resource:Germany . ?o rdf:type ontology:social_group } }
[]
profession social group
SYSTEM
1 professions and 2 social groups
Q17007520 Q662567 Q17007511
(c(Q28640),P159,Q183) (c(Q874405),P159,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P159
type Q28640
action filter_type
action find_reverse
entity Q183
relation P159
type Q874405
[ANSWER]
[{'concept': 'Q28640'}, 'P159', 'Q183'] [{'concept': 'Q874405'}, 'P159', 'Q183']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P159 resource:Q183 . ?o rdf:type ontology:Q28640 } UNION { ?o property:P159 resource:Q183 . ?o rdf:type ontology:Q874405 } }
Miss World Germany Ariolasoft Miss International Germany
1 professions and 2 social groups
action count
action union
action filter_type
action find_reverse
entity Germany
relation headquarters location
type profession
action filter_type
action find_reverse
entity Germany
relation headquarters location
type social group
[{'concept': 'profession'}, 'headquarters location', 'Germany'] [{'concept': 'social group'}, 'headquarters location', 'Germany']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:headquarters_location resource:Germany . ?o rdf:type ontology:profession } UNION { ?o property:headquarters_location resource:Germany . ?o rdf:type ontology:social_group } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1731
P159
Q43229
USER
Which organizations have the principal seat at Dresden ?
(c(Q43229),P159,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1731']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q1731 . ?w rdf:type ontology:Q43229 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Dresden']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Dresden . ?w rdf:type ontology:organization }
[]
organization
Q691592 Q311394 Q1258529
SYSTEM
GlobalFoundries, Infineon Technologies, Dresdner Bank
Q209781 Q537943 Q1453960 Q6820016 Q1735928 Q2378428 Q871141 Q812813 Q7906721 Q17155757 Q690374 Q7432883 Q18376997 Q7445462 Q363356 Q682533 Q872617 Q2110449 Q1275368 Q311394 Q1963555 Q563329 Q691592 Q1056315 Q315016 Q2516775 Q466380 Q191180 Q1258529 Q2416441 Q323802 Q884087 Q1426445 Q1645175 Q2651650 Q880853
(c(Q43229),P159,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P159
type Q43229
[ANSWERS] have the principal seat at Dresden
[{'concept': 'Q43229'}, 'P159', 'Q1731']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q1731 . ?w rdf:type ontology:Q43229 }
Ihagee Nordmende Gläser-Karosserie Merregnon Studios Mentor-Kamerafabrik Development Bank of Saxony Deutsche Werkstätten Hellerau Be Printers Group VEB Typoart Ernst Kaps Piano Fabrik X-Fab Schriftguss AG Plastic Logic SeeReal Technologies Adolf May Qimonda ITL Eisenbahngesellschaft Prinovis Enso Energie Sachsen Ost Infineon Technologies Nagema Pentacon GlobalFoundries Certo Sächsische Dampfschiffahrt Verlag Theodor Steinkopff Hama Photo ZMD Dresdner Bank Theegarten-Pactec Wacker Neuson SE EADS EFW Verkehrsverbund Oberelbe VEB Mikromat Altissa Ernemann
GlobalFoundries, Infineon Technologies and Dresdner Bank have the principal seat at Dresden
GlobalFoundries Infineon Technologies Dresdner Bank
action filter_type
action find_reverse
entity Dresden
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Dresden']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Dresden . ?w rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q691592 Q311394 Q1258529
P159
Q515
USER
Which cities are the headquarter locations of GlobalFoundries, Infineon Technologies and Dresdner Bank ?
(Q691592,P159,c(Q515)) (Q311394,P159,c(Q515)) (Q1258529,P159,c(Q515))
action union
action filter_type
action find
entity Q691592
relation P159
type Q515
action filter_type
action find
entity Q311394
relation P159
type Q515
action filter_type
action find
entity Q1258529
relation P159
type Q515
['Q691592', 'P159', {'concept': 'Q515'}] ['Q311394', 'P159', {'concept': 'Q515'}] ['Q1258529', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:Q691592 ) ( resource:Q311394 ) } . ?y property:P159 ?j }
GlobalFoundries Infineon Technologies Dresdner Bank
action union
action filter_type
action find
entity GlobalFoundries
relation headquarters location
type city
action filter_type
action find
entity Infineon Technologies
relation headquarters location
type city
action filter_type
action find
entity Dresdner Bank
relation headquarters location
type city
['GlobalFoundries', 'headquarters location', {'concept': 'city'}] ['Infineon Technologies', 'headquarters location', {'concept': 'city'}] ['Dresdner Bank', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:GlobalFoundries ) ( resource:Infineon_Technologies ) } . ?y property:headquarters_location ?j }
[]
city
Q1731 Q1731 Q1731
SYSTEM
Dresden
Q1731 Q1731 Q1731 Q1794
(Q691592,P159,c(Q515)) (Q311394,P159,c(Q515)) (Q1258529,P159,c(Q515))
action union
action filter_type
action find
entity Q691592
relation P159
type Q515
action filter_type
action find
entity Q311394
relation P159
type Q515
action filter_type
action find
entity Q1258529
relation P159
type Q515
[ANSWER], [ANSWER] and [ANSWER] are the headquarter locations of GlobalFoundries, Infineon Technologies and Dresdner Bank
['Q691592', 'P159', {'concept': 'Q515'}] ['Q311394', 'P159', {'concept': 'Q515'}] ['Q1258529', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:Q691592 ) ( resource:Q311394 ) } . ?y property:P159 ?j }
Dresden Dresden Dresden Frankfurt
Dresden, Dresden and Dresden are the headquarter locations of GlobalFoundries, Infineon Technologies and Dresdner Bank
Dresden Dresden Dresden
action union
action filter_type
action find
entity GlobalFoundries
relation headquarters location
type city
action filter_type
action find
entity Infineon Technologies
relation headquarters location
type city
action filter_type
action find
entity Dresdner Bank
relation headquarters location
type city
['GlobalFoundries', 'headquarters location', {'concept': 'city'}] ['Infineon Technologies', 'headquarters location', {'concept': 'city'}] ['Dresdner Bank', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:GlobalFoundries ) ( resource:Infineon_Technologies ) } . ?y property:headquarters_location ?j }
[]