Simple Question (Direct)
Simple Question
Q1894640
P21
Q290
USER
Which sex does Marek Stebnicki belong to ?
(Q1894640,P21,c(Q290))
action filter_type
action find
entity Q1894640
relation P21
type Q290
['Q1894640', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1894640 property:P21 ?j . ?j rdf:type ontology:Q290 }
Marek Stebnicki
action filter_type
action find
entity Marek Stebnicki
relation gender
type sex
['Marek Stebnicki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Marek_Stebnicki property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1894640,P21,c(Q290))
action filter_type
action find
entity Q1894640
relation P21
type Q290
Marek Stebnicki belongs to [ANSWER]
['Q1894640', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1894640 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Marek Stebnicki belongs to male
male
action filter_type
action find
entity Marek Stebnicki
relation gender
type sex
['Marek Stebnicki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Marek_Stebnicki property:gender ?j . ?j rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1894640 Q27614427
P1344
Q13406554
USER
How many sport competitions did Marek Stebnicki or Foinikas Pylas (men) participate in ?
(Q1894640,P1344,c(Q13406554)) (Q27614427,P1344,c(Q13406554))
action count
action union
action filter_type
action find
entity Q1894640
relation P1344
type Q13406554
action filter_type
action find
entity Q27614427
relation P1344
type Q13406554
['Q1894640', 'P1344', {'concept': 'Q13406554'}] ['Q27614427', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { resource:Q1894640 property:P1344 ?g . ?g rdf:type ontology:Q13406554 } UNION { ?g rdf:type ontology:Q13406554 . resource:Q27614427 property:P1344 ?g } }
Marek Stebnicki Foinikas Pylas (men)
action count
action union
action filter_type
action find
entity Marek Stebnicki
relation participant of
type sport competition
action filter_type
action find
entity Foinikas Pylas (men)
relation participant of
type sport competition
['Marek Stebnicki', 'participant of', {'concept': 'sport competition'}] ['Foinikas Pylas (men)', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { resource:Marek_Stebnicki property:participant_of ?g . ?g rdf:type ontology:sport_competition } UNION { ?g rdf:type ontology:sport_competition . resource:Foinikas_Pylas_(men) property:participant_of ?g } }
[]
sport competition
SYSTEM
14
Q20674812 Q20669525 Q20675072 Q20675127 Q20674996 Q20675398 Q20669552 Q20675192 Q20675468 Q12874264 Q20674926 Q20669506 Q20674948 Q20675429
(Q1894640,P1344,c(Q13406554)) (Q27614427,P1344,c(Q13406554))
action count
action union
action filter_type
action find
entity Q1894640
relation P1344
type Q13406554
action filter_type
action find
entity Q27614427
relation P1344
type Q13406554
[ANSWER]
['Q1894640', 'P1344', {'concept': 'Q13406554'}] ['Q27614427', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { resource:Q1894640 property:P1344 ?g . ?g rdf:type ontology:Q13406554 } UNION { ?g rdf:type ontology:Q13406554 . resource:Q27614427 property:P1344 ?g } }
2010-11 Cyprus Volleyball Division 2 2007-08 Cyprus Volleyball Division 2 2008-09 Cypriot Men's Volleyball Division 2 Cup 2009-10 Cypriot Men's Volleyball Division 2 Cup 2007-08 Cypriot Men's Volleyball Division 2 Cup 2013-14 Cypriot Men's Volleyball Division 2 Cup 2008-09 Cyprus Volleyball Division 2 2010-11 Cypriot Men's Volleyball Division 2 Cup 2006-07 Cypriot Men's Volleyball Division 2 Cup 2009-10 Cyprus Volleyball Division 2 2013-14 Cyprus Volleyball Division 2 2006-07 Cyprus Volleyball Division 2 2014-15 Cyprus Volleyball Division 2 2014-15 Cypriot Men's Volleyball Division 2 Cup
14
action count
action union
action filter_type
action find
entity Marek Stebnicki
relation participant of
type sport competition
action filter_type
action find
entity Foinikas Pylas (men)
relation participant of
type sport competition
['Marek Stebnicki', 'participant of', {'concept': 'sport competition'}] ['Foinikas Pylas (men)', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { resource:Marek_Stebnicki property:participant_of ?g . ?g rdf:type ontology:sport_competition } UNION { ?g rdf:type ontology:sport_competition . resource:Foinikas_Pylas_(men) property:participant_of ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1894640
P106
Q12737077
USER
What does Marek Stebnicki do for a living ?
(Q1894640,P106,c(Q12737077))
action filter_type
action find
entity Q1894640
relation P106
type Q12737077
['Q1894640', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1894640 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Marek Stebnicki
action filter_type
action find
entity Marek Stebnicki
relation occupation
type occupation
['Marek Stebnicki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Marek_Stebnicki property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q1894640,P106,c(Q12737077))
action filter_type
action find
entity Q1894640
relation P106
type Q12737077
Marek Stebnicki does for a living as [ANSWER]
['Q1894640', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1894640 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
ice hockey player
Marek Stebnicki does for a living as ice hockey player
ice hockey player
action filter_type
action find
entity Marek Stebnicki
relation occupation
type occupation
['Marek Stebnicki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Marek_Stebnicki property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q241087
Q12737077
USER
And how about Alda Merini?
(Q241087,P106,c(Q12737077))
action filter_type
action find
entity Q241087
relation P106
type Q12737077
['Q241087', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q241087 property:P106 ?x }
Alda Merini
action filter_type
action find
entity Alda Merini
relation occupation
type occupation
['Alda Merini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Alda_Merini property:occupation ?x }
[]
occupation
Q49757 Q36180
SYSTEM
poet, writer
Q49757 Q36180
(Q241087,P106,c(Q12737077))
action filter_type
action find
entity Q241087
relation P106
type Q12737077
[ANSWERS]
['Q241087', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q241087 property:P106 ?x }
poet writer
poet writer
action filter_type
action find
entity Alda Merini
relation occupation
type occupation
['Alda Merini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Alda_Merini property:occupation ?x }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1317
P106
Q502895
USER
Do Osama bin Laden have those occupations as his/her means of employment ?
(Q1317,P106,Q49757) (Q1317,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q1317
relation P106
['Q1317', 'P106', 'Q49757'] ['Q1317', 'P106', 'Q36180']
ASK WHERE { VALUES ( ?p ) { ( resource:Q49757 ) ( resource:Q36180 ) } . resource:Q1317 property:P106 ?p }
Osama bin Laden
action is_in
entity prev_answer
action find
entity Osama bin Laden
relation occupation
['Osama bin Laden', 'occupation', 'poet'] ['Osama bin Laden', 'occupation', 'writer']
ASK WHERE { VALUES ( ?p ) { ( resource:poet ) ( resource:writer ) } . resource:Osama_bin_Laden property:occupation ?p }
[]
common name
SYSTEM
YES
(Q1317,P106,Q49757) (Q1317,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q1317
relation P106
[ANSWER]
['Q1317', 'P106', 'Q49757'] ['Q1317', 'P106', 'Q36180']
ASK WHERE { VALUES ( ?p ) { ( resource:Q49757 ) ( resource:Q36180 ) } . resource:Q1317 property:P106 ?p }
Yes
action is_in
entity prev_answer
action find
entity Osama bin Laden
relation occupation
['Osama bin Laden', 'occupation', 'poet'] ['Osama bin Laden', 'occupation', 'writer']
ASK WHERE { VALUES ( ?p ) { ( resource:poet ) ( resource:writer ) } . resource:Osama_bin_Laden property:occupation ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1894640
P27
Q1048835
USER
Which political territory does Marek Stebnicki belong to ?
(Q1894640,P27,c(Q1048835))
action filter_type
action find
entity Q1894640
relation P27
type Q1048835
['Q1894640', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q1894640 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Marek Stebnicki
action filter_type
action find
entity Marek Stebnicki
relation country of citizenship
type political territorial entity
['Marek Stebnicki', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Marek_Stebnicki property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1894640,P27,c(Q1048835))
action filter_type
action find
entity Q1894640
relation P27
type Q1048835
Marek Stebnicki belongs to [ANSWER]
['Q1894640', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q1894640 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Germany
Marek Stebnicki belongs to Germany
Germany
action filter_type
action find
entity Marek Stebnicki
relation country of citizenship
type political territorial entity
['Marek Stebnicki', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Marek_Stebnicki property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P710
Q8171 Q820655
USER
How many words or statutes have that political territory as their participant ?
(c(Q8171),P710,Q183) (c(Q820655),P710,Q183) (c(Q8171),P710,Q183) (c(Q820655),P710,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P710
type Q8171
action filter_type
action find_reverse
entity Q183
relation P710
type Q820655
[{'concept': 'Q8171'}, 'P710', 'Q183'] [{'concept': 'Q820655'}, 'P710', 'Q183'] [{'concept': 'Q8171'}, 'P710', 'Q183'] [{'concept': 'Q820655'}, 'P710', 'Q183']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { ?g property:P710 resource:Q183 . ?g rdf:type ontology:Q8171 } UNION { ?g property:P710 resource:Q183 . ?g rdf:type ontology:Q820655 } }
action count
action union
action filter_type
action find_reverse
entity Germany
relation participant
type word
action filter_type
action find_reverse
entity Germany
relation participant
type statute
[{'concept': 'word'}, 'participant', 'Germany'] [{'concept': 'statute'}, 'participant', 'Germany'] [{'concept': 'word'}, 'participant', 'Germany'] [{'concept': 'statute'}, 'participant', 'Germany']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { ?g property:participant resource:Germany . ?g rdf:type ontology:word } UNION { ?g property:participant resource:Germany . ?g rdf:type ontology:statute } }
[]
word statute
SYSTEM
3
Q136041 Q2307326 Q672112
(c(Q8171),P710,Q183) (c(Q820655),P710,Q183) (c(Q8171),P710,Q183) (c(Q820655),P710,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P710
type Q8171
action filter_type
action find_reverse
entity Q183
relation P710
type Q820655
[ANSWER]
[{'concept': 'Q8171'}, 'P710', 'Q183'] [{'concept': 'Q820655'}, 'P710', 'Q183'] [{'concept': 'Q8171'}, 'P710', 'Q183'] [{'concept': 'Q820655'}, 'P710', 'Q183']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { ?g property:P710 resource:Q183 . ?g rdf:type ontology:Q8171 } UNION { ?g property:P710 resource:Q183 . ?g rdf:type ontology:Q820655 } }
ZEPP Treaty of Rome Basic Treaty
3
action count
action union
action filter_type
action find_reverse
entity Germany
relation participant
type word
action filter_type
action find_reverse
entity Germany
relation participant
type statute
[{'concept': 'word'}, 'participant', 'Germany'] [{'concept': 'statute'}, 'participant', 'Germany'] [{'concept': 'word'}, 'participant', 'Germany'] [{'concept': 'statute'}, 'participant', 'Germany']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { ?g property:participant resource:Germany . ?g rdf:type ontology:word } UNION { ?g property:participant resource:Germany . ?g rdf:type ontology:statute } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P530
Q515
USER
Which city has diplomatic relationships with Germany ?
(Q183,P530,c(Q515))
action filter_type
action find
entity Q183
relation P530
type Q515
['Q183', 'P530', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q183 property:P530 ?o . ?o rdf:type ontology:Q515 }
Germany
action filter_type
action find
entity Germany
relation diplomatic relation
type city
['Germany', 'diplomatic relation', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Germany property:diplomatic_relation ?o . ?o rdf:type ontology:city }
[]
city
Q235
SYSTEM
Monaco
Q235
(Q183,P530,c(Q515))
action filter_type
action find
entity Q183
relation P530
type Q515
And [ANSWER] has diplomatic relationships with Germany
['Q183', 'P530', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q183 property:P530 ?o . ?o rdf:type ontology:Q515 }
Monaco
And Monaco has diplomatic relationships with Germany
Monaco
action filter_type
action find
entity Germany
relation diplomatic relation
type city
['Germany', 'diplomatic relation', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Germany property:diplomatic_relation ?o . ?o rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235
P190
Q20667921
USER
Which french administrative division is a sister city of that one ?
(c(Q20667921),P190,Q235)
action filter_type
action find
entity Q235
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q235']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q20667921 . resource:Q235 property:P190 ?c }
Monaco
action filter_type
action find
entity Monaco
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Monaco']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:type_of_french_administrative_division . resource:Monaco property:sister_city ?c }
[]
type of french administrative division
Q677911
SYSTEM
Lucciana
Q677911
(c(Q20667921),P190,Q235)
action filter_type
action find
entity Q235
relation P190
type Q20667921
[ANSWER] is a sister city of that one
[{'concept': 'Q20667921'}, 'P190', 'Q235']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q20667921 . resource:Q235 property:P190 ?c }
Lucciana
Lucciana is a sister city of that one
Lucciana
action filter_type
action find
entity Monaco
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Monaco']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:type_of_french_administrative_division . resource:Monaco property:sister_city ?c }
[]