Simple Question (Direct)
Simple Question
Q658107
P21
Q290
USER
Which sex does Arie Goral-Sternheim belong to ?
(Q658107,P21,c(Q290))
action filter_type
action find
entity Q658107
relation P21
type Q290
['Q658107', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q658107 property:P21 ?g . ?g rdf:type ontology:Q290 }
Arie Goral-Sternheim
action filter_type
action find
entity Arie Goral-Sternheim
relation gender
type sex
['Arie Goral-Sternheim', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Arie_Goral-Sternheim property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q658107,P21,c(Q290))
action filter_type
action find
entity Q658107
relation P21
type Q290
Arie Goral-Sternheim belongs to [ANSWER]
['Q658107', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q658107 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
Arie Goral-Sternheim belongs to male
male
action filter_type
action find
entity Arie Goral-Sternheim
relation gender
type sex
['Arie Goral-Sternheim', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Arie_Goral-Sternheim property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q658107
P106
Q12737077
USER
Which occupations have Arie Goral-Sternheim as his/her 's career ?
(Q658107,P106,c(Q12737077))
action filter_type
action find
entity Q658107
relation P106
type Q12737077
['Q658107', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q658107 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Arie Goral-Sternheim
action filter_type
action find
entity Arie Goral-Sternheim
relation occupation
type occupation
['Arie Goral-Sternheim', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Arie_Goral-Sternheim property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q1028181 Q36180
SYSTEM
painter, writer
Q1028181 Q36180
(Q658107,P106,c(Q12737077))
action filter_type
action find
entity Q658107
relation P106
type Q12737077
The [ANSWERS] have Arie Goral-Sternheim as his/her 's career
['Q658107', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q658107 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
painter writer
The painter and writer have Arie Goral-Sternheim as his/her 's career
painter writer
action filter_type
action find
entity Arie Goral-Sternheim
relation occupation
type occupation
['Arie Goral-Sternheim', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Arie_Goral-Sternheim property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q658107
P20
Q486972
USER
Where did that person expire ?
(Q1028181,P20,c(Q486972)) (Q36180,P20,c(Q486972))
action filter_type
action find
entity Q658107
relation P20
type Q486972
['Q1028181', 'P20', {'concept': 'Q486972'}] ['Q36180', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q658107 property:P20 ?k . ?k rdf:type ontology:Q486972 }
Arie Goral-Sternheim
action filter_type
action find
entity Arie Goral-Sternheim
relation place of death
type human settlement
['painter', 'place of death', {'concept': 'human settlement'}] ['writer', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Arie_Goral-Sternheim property:place_of_death ?k . ?k rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1028181,P20,c(Q486972)) (Q36180,P20,c(Q486972))
action filter_type
action find
entity Q658107
relation P20
type Q486972
That person expired in [ANSWER]
['Q1028181', 'P20', {'concept': 'Q486972'}] ['Q36180', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q658107 property:P20 ?k . ?k rdf:type ontology:Q486972 }
Hamburg
That person expired in Hamburg
Hamburg
action filter_type
action find
entity Arie Goral-Sternheim
relation place of death
type human settlement
['painter', 'place of death', {'concept': 'human settlement'}] ['writer', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Arie_Goral-Sternheim property:place_of_death ?k . ?k rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1055 Q2437964
P937
Q502895
USER
Does Tobias Querfurt work at that human settlement ?
(Q2437964,P937,Q1055)
action is_in
entity Q1055
action find
entity Q2437964
relation P937
['Q2437964', 'P937', 'Q1055']
ASK WHERE { resource:Q2437964 property:P937 resource:Q1055 }
Hamburg Tobias Querfurt
action is_in
entity Hamburg
action find
entity Tobias Querfurt
relation work location
['Tobias Querfurt', 'work location', 'Hamburg']
ASK WHERE { resource:Tobias_Querfurt property:work_location resource:Hamburg }
[]
common name
SYSTEM
YES
(Q2437964,P937,Q1055)
action is_in
entity Q1055
action find
entity Q2437964
relation P937
[ANSWER]
['Q2437964', 'P937', 'Q1055']
ASK WHERE { resource:Q2437964 property:P937 resource:Q1055 }
Yes
action is_in
entity Hamburg
action find
entity Tobias Querfurt
relation work location
['Tobias Querfurt', 'work location', 'Hamburg']
ASK WHERE { resource:Tobias_Querfurt property:work_location resource:Hamburg }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2531347 Q658107
P27
Q1048835
USER
Which political territories do Arie Goral-Sternheim or Volker Thiel belong to ?
OR((Q658107,P27,c(Q1048835)), (Q2531347,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q658107
relation P27
action find
entity Q2531347
relation P27
type Q1048835
{'OR': [['Q658107', 'P27', {'concept': 'Q1048835'}], ['Q2531347', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q2531347 property:P27 ?w } UNION { resource:Q658107 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Volker Thiel Arie Goral-Sternheim
action filter_type
action union
action find
entity Arie Goral-Sternheim
relation country of citizenship
action find
entity Volker Thiel
relation country of citizenship
type political territorial entity
{'OR': [['Arie Goral-Sternheim', 'country of citizenship', {'concept': 'political territorial entity'}], ['Volker Thiel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Volker_Thiel property:country_of_citizenship ?w } UNION { resource:Arie_Goral-Sternheim property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q658107,P27,c(Q1048835)), (Q2531347,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q658107
relation P27
action find
entity Q2531347
relation P27
type Q1048835
[ANSWER] do Arie Goral-Sternheim or Volker Thiel belong to
{'OR': [['Q658107', 'P27', {'concept': 'Q1048835'}], ['Q2531347', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q2531347 property:P27 ?w } UNION { resource:Q658107 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Germany
Germany do Arie Goral-Sternheim or Volker Thiel belong to
Germany
action filter_type
action union
action find
entity Arie Goral-Sternheim
relation country of citizenship
action find
entity Volker Thiel
relation country of citizenship
type political territorial entity
{'OR': [['Arie Goral-Sternheim', 'country of citizenship', {'concept': 'political territorial entity'}], ['Volker Thiel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Volker_Thiel property:country_of_citizenship ?w } UNION { resource:Arie_Goral-Sternheim property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2531347 Q1581069
P1412
Q34770
USER
How many languages do Volker Thiel or Luther Blissett speak in ?
(Q2531347,P1412,c(Q34770)) (Q1581069,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q2531347
relation P1412
type Q34770
action filter_type
action find
entity Q1581069
relation P1412
type Q34770
['Q2531347', 'P1412', {'concept': 'Q34770'}] ['Q1581069', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { resource:Q1581069 property:P1412 ?h . ?h rdf:type ontology:Q34770 } UNION { resource:Q2531347 property:P1412 ?h . ?h rdf:type ontology:Q34770 } }
Volker Thiel Luther Blissett
action count
action union
action filter_type
action find
entity Volker Thiel
relation languages spoken, written or signed
type language
action filter_type
action find
entity Luther Blissett
relation languages spoken, written or signed
type language
['Volker Thiel', 'languages spoken, written or signed', {'concept': 'language'}] ['Luther Blissett', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { resource:Luther_Blissett property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language } UNION { resource:Volker_Thiel property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language } }
[]
language
SYSTEM
2
Q652 Q1860
(Q2531347,P1412,c(Q34770)) (Q1581069,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q2531347
relation P1412
type Q34770
action filter_type
action find
entity Q1581069
relation P1412
type Q34770
[ANSWER]
['Q2531347', 'P1412', {'concept': 'Q34770'}] ['Q1581069', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { resource:Q1581069 property:P1412 ?h . ?h rdf:type ontology:Q34770 } UNION { resource:Q2531347 property:P1412 ?h . ?h rdf:type ontology:Q34770 } }
Italian English
2
action count
action union
action filter_type
action find
entity Volker Thiel
relation languages spoken, written or signed
type language
action filter_type
action find
entity Luther Blissett
relation languages spoken, written or signed
type language
['Volker Thiel', 'languages spoken, written or signed', {'concept': 'language'}] ['Luther Blissett', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { resource:Luther_Blissett property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language } UNION { resource:Volker_Thiel property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q658107
P19
Q56061
USER
Where was Arie Goral-Sternheim born ?
(Q658107,P19,c(Q56061))
action filter_type
action find
entity Q658107
relation P19
type Q56061
['Q658107', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q658107 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Arie Goral-Sternheim
action filter_type
action find
entity Arie Goral-Sternheim
relation place of birth
type administrative territorial entity
['Arie Goral-Sternheim', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Arie_Goral-Sternheim property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q881783
SYSTEM
Rheda
Q881783
(Q658107,P19,c(Q56061))
action filter_type
action find
entity Q658107
relation P19
type Q56061
Arie Goral-Sternheim was born in [ANSWER]
['Q658107', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q658107 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Rheda
Arie Goral-Sternheim was born in Rheda
Rheda
action filter_type
action find
entity Arie Goral-Sternheim
relation place of birth
type administrative territorial entity
['Arie Goral-Sternheim', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Arie_Goral-Sternheim property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P276
Q1190554
USER
What are situated at Germany ?
(c(Q1190554),P276,Q183)
action filter_type
action find_reverse
entity Q183
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q183']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q183 . ?u rdf:type ontology:Q1190554 }
Germany
action filter_type
action find_reverse
entity Germany
relation location
type event
[{'concept': 'event'}, 'location', 'Germany']
SELECT DISTINCT ?u WHERE { ?u property:location resource:Germany . ?u rdf:type ontology:event }
[]
event
Q15197283 Q4872062 Q4871838
SYSTEM
Battle of Kesternich, Battle of Platzberg, Battle of Möerskirch
Q15197283 Q4872062 Q4871838
(c(Q1190554),P276,Q183)
action filter_type
action find_reverse
entity Q183
relation P276
type Q1190554
[ANSWERS] are situated at Germany
[{'concept': 'Q1190554'}, 'P276', 'Q183']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q183 . ?u rdf:type ontology:Q1190554 }
Battle of Kesternich Battle of Platzberg Battle of Möerskirch
Battle of Kesternich, Battle of Platzberg and Battle of Möerskirch are situated at Germany
Battle of Kesternich Battle of Platzberg Battle of Möerskirch
action filter_type
action find_reverse
entity Germany
relation location
type event
[{'concept': 'event'}, 'location', 'Germany']
SELECT DISTINCT ?u WHERE { ?u property:location resource:Germany . ?u rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P609
Q83620
USER
Which thoroughfares have that political territory as their destination ?
(c(Q83620),P609,Q15197283) (c(Q83620),P609,Q4872062) (c(Q83620),P609,Q4871838)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q15197283'] [{'concept': 'Q83620'}, 'P609', 'Q4872062'] [{'concept': 'Q83620'}, 'P609', 'Q4871838']
SELECT DISTINCT ?d WHERE { ?d property:P609 resource:Q183 . ?d rdf:type ontology:Q83620 }
Germany
action filter_type
action find_reverse
entity Germany
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Battle of Kesternich'] [{'concept': 'thoroughfare'}, 'terminus location', 'Battle of Platzberg'] [{'concept': 'thoroughfare'}, 'terminus location', 'Battle of Möerskirch']
SELECT DISTINCT ?d WHERE { ?d property:terminus_location resource:Germany . ?d rdf:type ontology:thoroughfare }
[]
thoroughfare
Q18619599 Q18679137
SYSTEM
European route E35 in the Netherlands, European route E30 in the Netherlands
Q18619599 Q18679137
(c(Q83620),P609,Q15197283) (c(Q83620),P609,Q4872062) (c(Q83620),P609,Q4871838)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[ANSWERS] have that political territory as their destination
[{'concept': 'Q83620'}, 'P609', 'Q15197283'] [{'concept': 'Q83620'}, 'P609', 'Q4872062'] [{'concept': 'Q83620'}, 'P609', 'Q4871838']
SELECT DISTINCT ?d WHERE { ?d property:P609 resource:Q183 . ?d rdf:type ontology:Q83620 }
European route E35 in the Netherlands European route E30 in the Netherlands
European route E35 in the Netherlands and European route E30 in the Netherlands have that political territory as their destination
European route E35 in the Netherlands European route E30 in the Netherlands
action filter_type
action find_reverse
entity Germany
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Battle of Kesternich'] [{'concept': 'thoroughfare'}, 'terminus location', 'Battle of Platzberg'] [{'concept': 'thoroughfare'}, 'terminus location', 'Battle of Möerskirch']
SELECT DISTINCT ?d WHERE { ?d property:terminus_location resource:Germany . ?d rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q7418755
P559
Q811979 Q83620
USER
How many architectural structures are a terminus for more number of thoroughfares than Sankt Eriksplan ?
(c(Q83620),P559,c(Q811979))
action count
action greater
action find_reverse_tuple_counts
relation P559
type Q811979
type Q83620
action count
action filter_type
action find
entity Q7418755
relation P559
type Q811979
[{'concept': 'Q83620'}, 'P559', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q7418755 property:P559 ?u . ?u rdf:type ontology:Q811979 } } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P559 ?r . ?r rdf:type ontology:Q811979 . ?n rdf:type ontology:Q83620 } GROUP BY ?r } }
Sankt Eriksplan
action count
action greater
action find_reverse_tuple_counts
relation terminus
type architectural structure
type thoroughfare
action count
action filter_type
action find
entity Sankt Eriksplan
relation terminus
type architectural structure
[{'concept': 'thoroughfare'}, 'terminus', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Sankt_Eriksplan property:terminus ?u . ?u rdf:type ontology:architectural_structure } } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:terminus ?r . ?r rdf:type ontology:architectural_structure . ?n rdf:type ontology:thoroughfare } GROUP BY ?r } }
[]
architectural structure thoroughfare
SYSTEM
4
Q806988 Q129143 Q7721758 Q2566752
(c(Q83620),P559,c(Q811979))
action count
action greater
action find_reverse_tuple_counts
relation P559
type Q811979
type Q83620
action count
action filter_type
action find
entity Q7418755
relation P559
type Q811979
[ANSWER]
[{'concept': 'Q83620'}, 'P559', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q7418755 property:P559 ?u . ?u rdf:type ontology:Q811979 } } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P559 ?r . ?r rdf:type ontology:Q811979 . ?n rdf:type ontology:Q83620 } GROUP BY ?r } }
Bantorget Trafalgar Square The Causeway Baliqiao
4
action count
action greater
action find_reverse_tuple_counts
relation terminus
type architectural structure
type thoroughfare
action count
action filter_type
action find
entity Sankt Eriksplan
relation terminus
type architectural structure
[{'concept': 'thoroughfare'}, 'terminus', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Sankt_Eriksplan property:terminus ?u . ?u rdf:type ontology:architectural_structure } } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:terminus ?r . ?r rdf:type ontology:architectural_structure . ?n rdf:type ontology:thoroughfare } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q10539292
P559
Q811979 Q83620
USER
And how about Jakobs torg?
(c(Q83620),P559,c(Q811979))
action count
action greater
action find_reverse_tuple_counts
relation P559
type Q811979
type Q83620
action count
action filter_type
action find
entity Q10539292
relation P559
type Q811979
[{'concept': 'Q83620'}, 'P559', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?k ) WHERE { ?o rdf:type ontology:Q811979 . ?b rdf:type ontology:Q83620 . ?b property:P559 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:Q811979 . resource:Q10539292 property:P559 ?c } } . FILTER ( ?k > ?j ) }
Jakobs torg
action count
action greater
action find_reverse_tuple_counts
relation terminus
type architectural structure
type thoroughfare
action count
action filter_type
action find
entity Jakobs torg
relation terminus
type architectural structure
[{'concept': 'thoroughfare'}, 'terminus', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?k ) WHERE { ?o rdf:type ontology:architectural_structure . ?b rdf:type ontology:thoroughfare . ?b property:terminus ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:architectural_structure . resource:Jakobs_torg property:terminus ?c } } . FILTER ( ?k > ?j ) }
[]
architectural structure thoroughfare
SYSTEM
4
Q806988 Q129143 Q7721758 Q2566752
(c(Q83620),P559,c(Q811979))
action count
action greater
action find_reverse_tuple_counts
relation P559
type Q811979
type Q83620
action count
action filter_type
action find
entity Q10539292
relation P559
type Q811979
[ANSWER]
[{'concept': 'Q83620'}, 'P559', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?k ) WHERE { ?o rdf:type ontology:Q811979 . ?b rdf:type ontology:Q83620 . ?b property:P559 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:Q811979 . resource:Q10539292 property:P559 ?c } } . FILTER ( ?k > ?j ) }
Bantorget Trafalgar Square The Causeway Baliqiao
4
action count
action greater
action find_reverse_tuple_counts
relation terminus
type architectural structure
type thoroughfare
action count
action filter_type
action find
entity Jakobs torg
relation terminus
type architectural structure
[{'concept': 'thoroughfare'}, 'terminus', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?k ) WHERE { ?o rdf:type ontology:architectural_structure . ?b rdf:type ontology:thoroughfare . ?b property:terminus ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:architectural_structure . resource:Jakobs_torg property:terminus ?c } } . FILTER ( ?k > ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P915
Q838948
USER
Which works of art were filmed at Germany ?
(c(Q838948),P915,Q183)
action filter_type
action find_reverse
entity Q183
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q183']
SELECT DISTINCT ?l WHERE { ?l property:P915 resource:Q183 . ?l rdf:type ontology:Q838948 }
Germany
action filter_type
action find_reverse
entity Germany
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Germany']
SELECT DISTINCT ?l WHERE { ?l property:filming_location resource:Germany . ?l rdf:type ontology:work_of_art }
[]
work of art
Q18407657 Q159063 Q3521099
SYSTEM
Captain America: Civil War, The Reader, The Grand Budapest Hotel
Q797445 Q7879141 Q587566 Q270061 Q1171442 Q17014725 Q7758601 Q16249045 Q3088260 Q7924385 Q2524426 Q541354 Q490076 Q2500178 Q474425 Q18713033 Q16249196 Q671631 Q5896770 Q666707 Q679833 Q12485037 Q936327 Q7138266 Q7745749 Q421583 Q188159 Q204398 Q971985 Q5967392 Q157879 Q15715216 Q167411 Q895543 Q7749543 Q313764 Q1630478 Q2906966 Q164813 Q15140361 Q540624 Q1575773 Q1302032 Q19315473 Q5002116 Q207916 Q15040678 Q819084 Q313819 Q1283810 Q158759 Q159063 Q16494458 Q6818502 Q16251439 Q694781 Q892039 Q664234 Q378754 Q153723 Q1169101 Q1195819 Q3560411 Q3560415 Q18407657 Q12137068 Q571583 Q842720 Q152857 Q6750834 Q325648 Q2251852 Q1218840 Q5395738 Q185658 Q652251 Q166696 Q3045056 Q3346699 Q3210569 Q228554 Q170268 Q637849 Q4666737 Q478793 Q455555 Q488316 Q1454148 Q2394581 Q250971 Q14952480 Q15040657 Q1467237 Q1637791 Q12123479 Q13564191 Q760989 Q498287 Q14511981 Q1347086 Q127021 Q643847 Q481310 Q180416 Q5943675 Q3246496 Q705871 Q1192054 Q1806709 Q3352751 Q671718 Q309248 Q163549 Q5619208 Q677347 Q216269 Q314942 Q4536024 Q18067135 Q21065355 Q627209 Q158398 Q107914 Q3521099 Q1033396 Q3206615 Q4407383 Q4656385 Q498442 Q926309 Q1524596 Q1430155 Q1203252 Q535628 Q546900 Q3016883 Q158023
(c(Q838948),P915,Q183)
action filter_type
action find_reverse
entity Q183
relation P915
type Q838948
[ANSWERS] were filmed at Germany
[{'concept': 'Q838948'}, 'P915', 'Q183']
SELECT DISTINCT ?l WHERE { ?l property:P915 resource:Q183 . ?l rdf:type ontology:Q838948 }
Baader Ullasa Paravaigal Stroszek 7 Zwerge – Der Wald ist nicht genug The Silence Under the Pavement Lies the Strand The Prosecutor Hallers Unfinished Business Pola X Via Mala Viktor Vogel – Commercial Man Faust Night Crossing Urban Explorer Nekromantik 2 Hunter's Prayer Amour Fou Ninja Assassin Honor Bound The Bridesmaid Black Death Habibie & Ainun Willy Wonka & the Chocolate Factory Parker The Last Escape Lore A Dangerous Method Octopussy Target I, Anna The Ghost Writer Hitman: Agent 47 The Counterfeiters Among Vultures The Magician of Lublin The Tin Drum The Good Neighbour Blood Trails Perfume: The Story of a Murderer Porobashinee Germany, Year Zero Hannah Arendt Chicken with Plums Snowden Buster's Bedroom Tomorrow Never Dies The Voices Before the Fall Anonymous One, Two, Three Unknown The Reader Run Boy Run Mercilessly Betrayed A Hologram for the King The American Friend Bon Appétit Itinéraire d'un enfant gâté The Church Inglourious Basterds Dr. M $ Violent Shit II: Mother Hold My Hand Violent Shit Captain America: Civil War The Eye of Evil Laser Mission Hostel Downfall Manniac Head-On F for Fake The Last Company Errors of the Human Body Indiana Jones and the Last Crusade Nekromantik The Baader Meinhof Complex Disengagement Nymphomaniac The Mark of the Angels – Miserere Trains'n'Roses Hanna The Damned Abendland Berlin 36 Anatomy 2 Anatomy Free Land Les Misérables Young Goethe in Love Early to Bed K3: Prison of Hell Ruby Cairo Chitty Chitty Bang Bang Fuck for Forest 102 Years in the Heart of Europe: A Portrait of Ernst Jünger Moscow on the Hudson Hansel and Gretel: Witch Hunters The Book Thief Slasher M Smilla's Sense of Snow Visions of Eight Das Experiment Az Karkheh ta Rhein House of Boys The Edge of Heaven The Holcroft Covenant Last Hippie Standing Only Lovers Left Alive The Search The Three Musketeers Black Book Gunner Palace The Countess 23 Pandorum The Apparition Bridge of Spies Look Who's Back Rollerball Iron Sky Diamonds Are Forever The Grand Budapest Hotel Cannibal Beauty and the Beast Monuments Men A Defeated People Spaceballs Brüno Chalet Girl The Angel's Melancholy Don 2 First Spaceship on Venus Suspiria Passion The White Ribbon
Captain America: Civil War, The Reader and The Grand Budapest Hotel were filmed at Germany
Captain America: Civil War The Reader The Grand Budapest Hotel
action filter_type
action find_reverse
entity Germany
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Germany']
SELECT DISTINCT ?l WHERE { ?l property:filming_location resource:Germany . ?l rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3521099
P941
Q234460
USER
What were the sources of inspiration for that work of art ?
(Q3521099,P941,c(Q234460))
action filter_type
action find
entity Q3521099
relation P941
type Q234460
['Q3521099', 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ?f WHERE { resource:Q3521099 property:P941 ?f . ?f rdf:type ontology:Q234460 }
The Grand Budapest Hotel
action filter_type
action find
entity The Grand Budapest Hotel
relation inspired by
type text
['The Grand Budapest Hotel', 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ?f WHERE { resource:The_Grand_Budapest_Hotel property:inspired_by ?f . ?f rdf:type ontology:text }
[]
text
Clarification for simple ques.
Q3521099
SYSTEM
Did you mean The Grand Budapest Hotel ?
Q18407657 Q159063 Q3521099
(Q18407657,P941,c(Q234460)) (Q159063,P941,c(Q234460)) (Q3521099,P941,c(Q234460))
[ANSWER]
['Q18407657', 'P941', {'concept': 'Q234460'}] ['Q159063', 'P941', {'concept': 'Q234460'}] ['Q3521099', 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ?f WHERE { resource:Q3521099 property:P941 ?f . ?f rdf:type ontology:Q234460 }
Captain America: Civil War The Reader The Grand Budapest Hotel
Did you mean The Grand Budapest Hotel ?
The Grand Budapest Hotel
['Captain America: Civil War', 'inspired by', {'concept': 'text'}] ['The Reader', 'inspired by', {'concept': 'text'}] ['The Grand Budapest Hotel', 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ?f WHERE { resource:The_Grand_Budapest_Hotel property:inspired_by ?f . ?f rdf:type ontology:text }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3521099,P941,c(Q234460))
['Q3521099', 'P941', {'concept': 'Q234460'}]
['The Grand Budapest Hotel', 'inspired by', {'concept': 'text'}]
[]
Q1217507 Q1428590
SYSTEM
The World of Yesterday, Beware of Pity
Q1217507 Q1428590
(Q3521099,P941,c(Q234460))
action filter_type
action find
entity Q3521099
relation P941
type Q234460
The sources of inspiration for that work of art were [ANSWERS]
['Q3521099', 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ?f WHERE { resource:Q3521099 property:P941 ?f . ?f rdf:type ontology:Q234460 }
The World of Yesterday Beware of Pity
The sources of inspiration for that work of art were The World of Yesterday and Beware of Pity
The World of Yesterday Beware of Pity
action filter_type
action find
entity The Grand Budapest Hotel
relation inspired by
type text
['The Grand Budapest Hotel', 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ?f WHERE { resource:The_Grand_Budapest_Hotel property:inspired_by ?f . ?f rdf:type ontology:text }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15700121 Q183
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Germany or are Antxon Aguirre Sorondo an inhabitant of ?
OR((Q183,P530,c(Q15617994)), (Q15700121,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q15700121
relation P27
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q15700121', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q183 property:P530 ?u } UNION { resource:Q15700121 property:P27 ?u } } }
Antxon Aguirre Sorondo Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Antxon Aguirre Sorondo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Antxon Aguirre Sorondo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Germany property:diplomatic_relation ?u } UNION { resource:Antxon_Aguirre_Sorondo property:country_of_citizenship ?u } } }
[]
designation for an administrative territorial entity
Q155 Q924 Q228 Q148 Q786 Q801 Q30 Q851 Q423 Q230
SYSTEM
Some of them are Brazil, Tanzania, Andorra, People's Republic of China, Dominican Republic, Israel, United States of America, Saudi Arabia, North Korea, Georgia
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q15700121,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q15700121
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with Germany or are Antxon Aguirre Sorondo an inhabitant of
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q15700121', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q183 property:P530 ?u } UNION { resource:Q15700121 property:P27 ?u } } }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Brazil, Tanzania, Andorra, People's Republic of China, Dominican Republic, Israel, United States of America, Saudi Arabia, North Korea and Georgia have diplomatic relations with Germany or are Antxon Aguirre Sorondo an inhabitant of
Brazil Tanzania Andorra People's Republic of China Dominican Republic Israel United States of America Saudi Arabia North Korea Georgia
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Antxon Aguirre Sorondo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Antxon Aguirre Sorondo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Germany property:diplomatic_relation ?u } UNION { resource:Antxon_Aguirre_Sorondo property:country_of_citizenship ?u } } }
[]