Simple Question (Direct)
Simple Question
Q1363722
P641
Q349
USER
What did Nicolas Marin participate in ?
(Q1363722,P641,c(Q349))
action filter_type
action find
entity Q1363722
relation P641
type Q349
['Q1363722', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q1363722 property:P641 ?o . ?o rdf:type ontology:Q349 }
Nicolas Marin
action filter_type
action find
entity Nicolas Marin
relation sport
type sport
['Nicolas Marin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Nicolas_Marin property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1363722,P641,c(Q349))
action filter_type
action find
entity Q1363722
relation P641
type Q349
Nicolas Marin participated in [ANSWER]
['Q1363722', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q1363722 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Nicolas Marin participated in association football
association football
action filter_type
action find
entity Nicolas Marin
relation sport
type sport
['Nicolas Marin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Nicolas_Marin property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1363722
P734
Q82799
USER
Which name is associated with Nicolas Marin ?
(Q1363722,P734,c(Q82799))
action filter_type
action find
entity Q1363722
relation P734
type Q82799
['Q1363722', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q1363722 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Nicolas Marin
action filter_type
action find
entity Nicolas Marin
relation family name
type name
['Nicolas Marin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Nicolas_Marin property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q11317591
SYSTEM
Marin
Q11317591
(Q1363722,P734,c(Q82799))
action filter_type
action find
entity Q1363722
relation P734
type Q82799
[ANSWER] is associated with Nicolas [ANSWER]
['Q1363722', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q1363722 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Marin
Marin is associated with Nicolas Marin
Marin
action filter_type
action find
entity Nicolas Marin
relation family name
type name
['Nicolas Marin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Nicolas_Marin property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q519425
Q82799
USER
And how about André Guy?
(Q519425,P734,c(Q82799))
action filter_type
action find
entity Q519425
relation P734
type Q82799
['Q519425', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q519425 property:P734 ?g . ?g rdf:type ontology:Q82799 }
André Guy
action filter_type
action find
entity André Guy
relation family name
type name
['André Guy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:André_Guy property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q14917162
SYSTEM
Guy
Q14917162
(Q519425,P734,c(Q82799))
action filter_type
action find
entity Q519425
relation P734
type Q82799
[ANSWER]
['Q519425', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q519425 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Guy
Guy
action filter_type
action find
entity André Guy
relation family name
type name
['André Guy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:André_Guy property:family_name ?g . ?g rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1363722
P19
Q515
USER
How many cities are the birthplace of Nicolas Marin ?
(Q1363722,P19,c(Q515))
action count
action filter_type
action find
entity Q1363722
relation P19
type Q515
['Q1363722', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q1363722 property:P19 ?e . ?e rdf:type ontology:Q515 }
Nicolas Marin
action count
action filter_type
action find
entity Nicolas Marin
relation place of birth
type city
['Nicolas Marin', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Nicolas_Marin property:place_of_birth ?e . ?e rdf:type ontology:city }
[]
city
SYSTEM
1
Q23482
(Q1363722,P19,c(Q515))
action count
action filter_type
action find
entity Q1363722
relation P19
type Q515
[ANSWER]
['Q1363722', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q1363722 property:P19 ?e . ?e rdf:type ontology:Q515 }
Marseille
1
action count
action filter_type
action find
entity Nicolas Marin
relation place of birth
type city
['Nicolas Marin', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Nicolas_Marin property:place_of_birth ?e . ?e rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q611172
Q515
USER
And also tell me about Péter Lipcsei?
(Q611172,P19,c(Q515))
action count
action filter_type
action find
entity Q611172
relation P19
type Q515
['Q611172', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:Q515 . resource:Q611172 property:P19 ?q }
Péter Lipcsei
action count
action filter_type
action find
entity Péter Lipcsei
relation place of birth
type city
['Péter Lipcsei', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:city . resource:Péter_Lipcsei property:place_of_birth ?q }
[]
city
SYSTEM
1
(Q611172,P19,c(Q515))
action count
action filter_type
action find
entity Q611172
relation P19
type Q515
[ANSWER]
['Q611172', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:Q515 . resource:Q611172 property:P19 ?q }
1
action count
action filter_type
action find
entity Péter Lipcsei
relation place of birth
type city
['Péter Lipcsei', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:city . resource:Péter_Lipcsei property:place_of_birth ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q846664
P180
Q82799 Q3305213 Q386724
USER
How many names are depicted in more number of paintings and works than hawk ?
(c(Q3305213)|c(Q386724),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q846664
relation P180
type Q3305213
type Q386724
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?d ) WHERE { { ?p property:P180 ?b . ?p rdf:type ontology:Q3305213 . ?b rdf:type ontology:Q82799 } UNION { ?p property:P180 ?b . ?b rdf:type ontology:Q82799 . ?p rdf:type ontology:Q386724 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P180 resource:Q846664 . { { ?a rdf:type ontology:Q3305213 } UNION { ?a rdf:type ontology:Q386724 } } } } . FILTER ( ?d > ?s ) }
hawk
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type work
action count
action filter_multi_types
action find_reverse
entity hawk
relation depicts
type painting
type work
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?d ) WHERE { { ?p property:depicts ?b . ?p rdf:type ontology:painting . ?b rdf:type ontology:name } UNION { ?p property:depicts ?b . ?b rdf:type ontology:name . ?p rdf:type ontology:work } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:depicts resource:hawk . { { ?a rdf:type ontology:painting } UNION { ?a rdf:type ontology:work } } } } . FILTER ( ?d > ?s ) }
[]
name painting work
SYSTEM
14
Q5 Q726 Q830 Q7368 Q2092297 Q144 Q201251 Q8335 Q3537778 Q2734060 Q43115 Q876933 Q152 Q859257
(c(Q3305213)|c(Q386724),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q846664
relation P180
type Q3305213
type Q386724
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?d ) WHERE { { ?p property:P180 ?b . ?p rdf:type ontology:Q3305213 . ?b rdf:type ontology:Q82799 } UNION { ?p property:P180 ?b . ?b rdf:type ontology:Q82799 . ?p rdf:type ontology:Q386724 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P180 resource:Q846664 . { { ?a rdf:type ontology:Q3305213 } UNION { ?a rdf:type ontology:Q386724 } } } } . FILTER ( ?d > ?s ) }
human horse cattle Ovis aries eagle dog peacock raven donkeys reed saint magi fish fly
14
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type work
action count
action filter_multi_types
action find_reverse
entity hawk
relation depicts
type painting
type work
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?d ) WHERE { { ?p property:depicts ?b . ?p rdf:type ontology:painting . ?b rdf:type ontology:name } UNION { ?p property:depicts ?b . ?b rdf:type ontology:name . ?p rdf:type ontology:work } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:depicts resource:hawk . { { ?a rdf:type ontology:painting } UNION { ?a rdf:type ontology:work } } } } . FILTER ( ?d > ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1363722
P106
Q12737077
USER
Which occupation has Nicolas Marin as his/her 's career ?
(Q1363722,P106,c(Q12737077))
action filter_type
action find
entity Q1363722
relation P106
type Q12737077
['Q1363722', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1363722 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Nicolas Marin
action filter_type
action find
entity Nicolas Marin
relation occupation
type occupation
['Nicolas Marin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Nicolas_Marin property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1363722,P106,c(Q12737077))
action filter_type
action find
entity Q1363722
relation P106
type Q12737077
Player [ANSWER] has Nicolas Marin as his/her 's career
['Q1363722', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1363722 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football player
Player association football player has Nicolas Marin as his/her 's career
association football player
action filter_type
action find
entity Nicolas Marin
relation occupation
type occupation
['Nicolas Marin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Nicolas_Marin property:occupation ?u . ?u rdf:type ontology:occupation }
[]