Simple Question (Direct)
Simple Question
Q1212711
P21
Q290
USER
Which sex does Péter Máté belong to ?
(Q1212711,P21,c(Q290))
action filter_type
action find
entity Q1212711
relation P21
type Q290
['Q1212711', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1212711 property:P21 ?j . ?j rdf:type ontology:Q290 }
Péter Máté
action filter_type
action find
entity Péter Máté
relation gender
type sex
['Péter Máté', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Péter_Máté property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1212711,P21,c(Q290))
action filter_type
action find
entity Q1212711
relation P21
type Q290
Péter Máté belongs to [ANSWER]
['Q1212711', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1212711 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Péter Máté belongs to male
male
action filter_type
action find
entity Péter Máté
relation gender
type sex
['Péter Máté', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Péter_Máté property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1212711
P106
Q12737077
USER
Which occupation has Péter Máté as his/her 's career ?
(Q1212711,P106,c(Q12737077))
action filter_type
action find
entity Q1212711
relation P106
type Q12737077
['Q1212711', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q1212711 property:P106 ?p }
Péter Máté
action filter_type
action find
entity Péter Máté
relation occupation
type occupation
['Péter Máté', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Péter_Máté property:occupation ?p }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1212711,P106,c(Q12737077))
action filter_type
action find
entity Q1212711
relation P106
type Q12737077
Player [ANSWER] has Péter Máté as his/her 's career
['Q1212711', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q1212711 property:P106 ?p }
association football player
Player association football player has Péter Máté as his/her 's career
association football player
action filter_type
action find
entity Péter Máté
relation occupation
type occupation
['Péter Máté', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Péter_Máté property:occupation ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3442290
Q12737077
USER
And how about Sigrid Rondelez?
(Q3442290,P106,c(Q12737077))
action filter_type
action find
entity Q3442290
relation P106
type Q12737077
['Q3442290', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3442290 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Sigrid Rondelez
action filter_type
action find
entity Sigrid Rondelez
relation occupation
type occupation
['Sigrid Rondelez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Sigrid_Rondelez property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q13382487 Q12334852
SYSTEM
windsurfer, yacht racer
Q13382487 Q12334852
(Q3442290,P106,c(Q12737077))
action filter_type
action find
entity Q3442290
relation P106
type Q12737077
[ANSWERS]
['Q3442290', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3442290 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
windsurfer yacht racer
windsurfer yacht racer
action filter_type
action find
entity Sigrid Rondelez
relation occupation
type occupation
['Sigrid Rondelez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Sigrid_Rondelez property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6792228
P106
Q502895
USER
Do Maud Herbert have career as those occupations ?
(Q6792228,P106,Q13382487) (Q6792228,P106,Q12334852)
action is_in
entity prev_answer
action find
entity Q6792228
relation P106
['Q6792228', 'P106', 'Q13382487'] ['Q6792228', 'P106', 'Q12334852']
ASK WHERE { VALUES ( ?r ) { ( resource:Q13382487 ) ( resource:Q12334852 ) } . resource:Q6792228 property:P106 ?r }
Maud Herbert
action is_in
entity prev_answer
action find
entity Maud Herbert
relation occupation
['Maud Herbert', 'occupation', 'windsurfer'] ['Maud Herbert', 'occupation', 'yacht racer']
ASK WHERE { VALUES ( ?r ) { ( resource:windsurfer ) ( resource:yacht_racer ) } . resource:Maud_Herbert property:occupation ?r }
[]
common name
SYSTEM
YES
(Q6792228,P106,Q13382487) (Q6792228,P106,Q12334852)
action is_in
entity prev_answer
action find
entity Q6792228
relation P106
[ANSWER]
['Q6792228', 'P106', 'Q13382487'] ['Q6792228', 'P106', 'Q12334852']
ASK WHERE { VALUES ( ?r ) { ( resource:Q13382487 ) ( resource:Q12334852 ) } . resource:Q6792228 property:P106 ?r }
Yes
action is_in
entity prev_answer
action find
entity Maud Herbert
relation occupation
['Maud Herbert', 'occupation', 'windsurfer'] ['Maud Herbert', 'occupation', 'yacht racer']
ASK WHERE { VALUES ( ?r ) { ( resource:windsurfer ) ( resource:yacht_racer ) } . resource:Maud_Herbert property:occupation ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1212711
P641
Q349
USER
Which sport was Péter Máté a part of ?
(Q1212711,P641,c(Q349))
action filter_type
action find
entity Q1212711
relation P641
type Q349
['Q1212711', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q1212711 property:P641 ?s . ?s rdf:type ontology:Q349 }
Péter Máté
action filter_type
action find
entity Péter Máté
relation sport
type sport
['Péter Máté', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Péter_Máté property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1212711,P641,c(Q349))
action filter_type
action find
entity Q1212711
relation P641
type Q349
The [ANSWER] was Péter Máté a part of
['Q1212711', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q1212711 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
The association football was Péter Máté a part of
association football
action filter_type
action find
entity Péter Máté
relation sport
type sport
['Péter Máté', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Péter_Máté property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1212711
P27
Q15617994
USER
Which administrative territory does Péter Máté belong to ?
(Q1212711,P27,c(Q15617994))
action filter_type
action find
entity Q1212711
relation P27
type Q15617994
['Q1212711', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1212711 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Péter Máté
action filter_type
action find
entity Péter Máté
relation country of citizenship
type designation for an administrative territorial entity
['Péter Máté', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Péter_Máté property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q1212711,P27,c(Q15617994))
action filter_type
action find
entity Q1212711
relation P27
type Q15617994
Péter Máté belongs to [ANSWER]
['Q1212711', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1212711 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Hungary
Péter Máté belongs to Hungary
Hungary
action filter_type
action find
entity Péter Máté
relation country of citizenship
type designation for an administrative territorial entity
['Péter Máté', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Péter_Máté property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P88
Q811430
USER
Which construction was commissioned by that administrative territory ?
(c(Q811430),P88,Q28)
action filter_type
action find_reverse
entity Q28
relation P88
type Q811430
[{'concept': 'Q811430'}, 'P88', 'Q28']
SELECT DISTINCT ?t WHERE { ?t property:P88 resource:Q28 . ?t rdf:type ontology:Q811430 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation commissioned by
type construction
[{'concept': 'construction'}, 'commissioned by', 'Hungary']
SELECT DISTINCT ?t WHERE { ?t property:commissioned_by resource:Hungary . ?t rdf:type ontology:construction }
[]
construction
Q20730345
SYSTEM
Hungary–Serbia barrier
Q20730345
(c(Q811430),P88,Q28)
action filter_type
action find_reverse
entity Q28
relation P88
type Q811430
[ANSWER] was commissioned by that administrative territory
[{'concept': 'Q811430'}, 'P88', 'Q28']
SELECT DISTINCT ?t WHERE { ?t property:P88 resource:Q28 . ?t rdf:type ontology:Q811430 }
Hungary–Serbia barrier
Hungary–Serbia barrier was commissioned by that administrative territory
Hungary–Serbia barrier
action filter_type
action find_reverse
entity Hungary
relation commissioned by
type construction
[{'concept': 'construction'}, 'commissioned by', 'Hungary']
SELECT DISTINCT ?t WHERE { ?t property:commissioned_by resource:Hungary . ?t rdf:type ontology:construction }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q28
P530
Q15617994
USER
How many administrative territories have diplomatic relations with Hungary ?
(Q28,P530,c(Q15617994))
action count
action filter_type
action find
entity Q28
relation P530
type Q15617994
['Q28', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q28 property:P530 ?g }
Hungary
action count
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
['Hungary', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hungary property:diplomatic_relation ?g }
[]
designation for an administrative territorial entity
SYSTEM
2
Q403 Q38
(Q28,P530,c(Q15617994))
action count
action filter_type
action find
entity Q28
relation P530
type Q15617994
[ANSWER]
['Q28', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q28 property:P530 ?g }
Serbia Italy
2
action count
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
['Hungary', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hungary property:diplomatic_relation ?g }
[]